The vmware_nsx.plugins.nsx_v.drivers.abstract_router_driver Module

class vmware_nsx.plugins.nsx_v.drivers.abstract_router_driver.RouterAbstractDriver

Bases: object

Abstract router driver that expose API for nsxv plugin.

add_router_interface(context, router_id, interface_info)
create_router(context, lrouter, appliance_size=None, allow_metadata=True)
delete_router(context, router_id)
get_type()
remove_router_interface(context, router_id, interface_info)
update_router(context, router_id, router)
update_routes(context, router_id, nexthop)
class vmware_nsx.plugins.nsx_v.drivers.abstract_router_driver.RouterBaseDriver(plugin)

Bases: vmware_nsx.plugins.nsx_v.drivers.abstract_router_driver.RouterAbstractDriver

get_router_az(lrouter)
get_router_az_and_flavor_by_id(context, router_id)
get_router_az_by_id(context, router_id)
update_nat_rules(context, router, router_id)
update_router_interface_ip(context, router_id, port_id, int_net_id, old_ip, new_ip, subnet_mask)

Update the fixed ip of a router interface. This implementation will not work for distributed routers, and there is a different implementation in that driver class

This Page