This Page

The quantum.plugins.nec.drivers.pfc Module

class quantum.plugins.nec.drivers.pfc.PFCDriverBase(conf_ofc)

Bases: quantum.plugins.nec.ofc_driver_base.OFCDriverBase

Base Class for PDC Drivers

PFCDriverBase provides methods to handle PFC resources through REST API. This uses ofc resource path instead of ofc resource ID.

The class implements the API for PFC V4.0 or later.

convert_ofc_network_id(context, ofc_network_id, tenant_id)
convert_ofc_port_id(context, ofc_port_id, tenant_id, network_id)
convert_ofc_tenant_id(context, ofc_tenant_id)
create_network(ofc_tenant_id, description, network_id=None)
create_port(ofc_network_id, portinfo, port_id=None)
create_tenant(description, tenant_id=None)
delete_network(ofc_network_id)
delete_port(ofc_port_id)
delete_tenant(ofc_tenant_id)
classmethod filter_supported()
class quantum.plugins.nec.drivers.pfc.PFCV3Driver(conf_ofc)

Bases: quantum.plugins.nec.drivers.pfc.PFCDriverBase

create_tenant(description, tenant_id)
delete_tenant(ofc_tenant_id)
class quantum.plugins.nec.drivers.pfc.PFCV4Driver(conf_ofc)

Bases: quantum.plugins.nec.drivers.pfc.PFCDriverBase