The networking_cisco.plugins.cisco.db.l3.ha_db Module

class networking_cisco.plugins.cisco.db.l3.ha_db.HA_db_mixin

Bases: object

Mixin class to support VRRP, HSRP, and GLBP based HA for routing.

get_router_for_floatingip(context, internal_port, internal_subnet, external_network_id)

We need to over-load this function so that we only return the user visible router and never its redundancy routers (as they never have floatingips associated with them).

class networking_cisco.plugins.cisco.db.l3.ha_db.RouterHAGroup(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, neutron_lib.db.model_base.HasId, neutron_lib.db.model_base.HasProject

Represents an HA group as used in VRRP, HSRP, and GLBP.

extra_port
extra_port_id
group_identity
ha_port
ha_port_id
ha_type
id
other_config
project_id
subnet_id
tenant_id
timers_config
tracking_config
user_router_id
class networking_cisco.plugins.cisco.db.l3.ha_db.RouterHASetting(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base

Represents HA settings for router visible to user.

ha_type
priority
probe_connectivity
probe_interval
probe_target
redundancy_level
router
router_id
state
class networking_cisco.plugins.cisco.db.l3.ha_db.RouterRedundancyBinding(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base

Represents binding between an HA enabled router and its redundancy routers.

priority
redundancy_router
redundancy_router_id
state
user_router
user_router_id