Bases: object
This class manages an OpenFlow Controller and map resources.
This class manage an OpenFlow Controller (OFC) with a driver specified in
a configuration of this plugin. This keeps mappings between IDs on Quantum
and OFC for various entities such as Tenant, Network and Filter. A Port on
OFC is identified by a switch ID ‘datapath_id’ and a port number ‘port_no’
of the switch. An ID named as ‘ofc_*’ is used to identify resource on OFC.
-
create_ofc_network(context, tenant_id, network_id, network_name=None)
-
create_ofc_packet_filter(context, filter_id, filter_dict)
-
create_ofc_port(context, port_id, port)
-
create_ofc_tenant(context, tenant_id)
-
delete_ofc_network(context, network_id, network)
-
delete_ofc_packet_filter(context, filter_id)
-
delete_ofc_port(context, port_id, port)
-
delete_ofc_tenant(context, tenant_id)
-
exists_ofc_network(context, network_id)
-
exists_ofc_packet_filter(context, filter_id)
-
exists_ofc_port(context, port_id)
-
exists_ofc_tenant(context, tenant_id)