The networking_cisco.plugins.cisco.extensions.ha
Module¶
-
exception
networking_cisco.plugins.cisco.extensions.ha.
HADisabled
(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict
-
message
= u’HA support is disabled’¶
-
-
exception
networking_cisco.plugins.cisco.extensions.ha.
HADisabledHAType
(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict
-
message
= u’HA type %(ha_type)s is administratively disabled’¶
-
-
exception
networking_cisco.plugins.cisco.extensions.ha.
HARedundancyLevel
(**kwargs)¶ Bases:
neutron_lib.exceptions.BadRequest
-
message
= u’Redundancy level for HA must be 1, 2, or 3’¶
-
-
exception
networking_cisco.plugins.cisco.extensions.ha.
HATypeCannotBeChanged
(**kwargs)¶ Bases:
neutron_lib.exceptions.Conflict
-
message
= u’HA type cannot be changed for a router with HA enabled’¶
-
-
exception
networking_cisco.plugins.cisco.extensions.ha.
HATypeNotCompatibleWithFloatingIP
(**kwargs)¶ Bases:
neutron_lib.exceptions.BadRequest
-
message
= u’HA type %(ha_type)s cannot be used with FloatingIP’¶
-
-
class
networking_cisco.plugins.cisco.extensions.ha.
Ha
¶ Bases:
neutron_lib.api.extensions.ExtensionDescriptor
Extension class to support HA by VRRP, HSRP and GLBP.
This class is used by Neutron’s extension framework to support HA redundancy by VRRP, HSRP and GLBP for Neutron Routers.
Attribute ‘ha_type’ can be one of ‘vrrp’, ‘hsrp’ and ‘glbp’ Attribute ‘redundancy_level’ specifies the number of routers added for redundancy and can be 1, 2, or 3.
To create a router with HSRP-based HA with 2 extra routers for redundancy using the CLI with admin rights:
(shell) router-create <router_name> --ha:ha_type hsrp --ha:redundancy_level 2
-
classmethod
get_alias
()¶
-
classmethod
get_description
()¶
-
get_extended_resources
(version)¶
-
classmethod
get_name
()¶
-
classmethod
get_namespace
()¶
-
classmethod
get_updated
()¶
-
classmethod