Merge "ovs/sriov mech drivers: resource_provider_uuid5_namespace"
This commit is contained in:
commit
6efb09fe22
@ -13,6 +13,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import uuid
|
||||
|
||||
from neutron_lib.api.definitions import portbindings
|
||||
from neutron_lib import constants
|
||||
from neutron_lib.plugins.ml2 import api
|
||||
@ -47,6 +49,9 @@ class SriovNicSwitchMechanismDriver(mech_agent.SimpleAgentMechanismDriverBase):
|
||||
L2 Agent presents in order to manage port update events.
|
||||
"""
|
||||
|
||||
resource_provider_uuid5_namespace = uuid.UUID(
|
||||
'87f1895c-73bb-11e8-9008-c4d987b2a692')
|
||||
|
||||
def __init__(self,
|
||||
agent_type=constants.AGENT_TYPE_NIC_SWITCH,
|
||||
vif_details={portbindings.CAP_PORT_FILTER: False},
|
||||
|
@ -14,6 +14,7 @@
|
||||
# under the License.
|
||||
|
||||
import os
|
||||
import uuid
|
||||
|
||||
from neutron_lib.api.definitions import portbindings
|
||||
from neutron_lib.callbacks import events
|
||||
@ -48,6 +49,9 @@ class OpenvswitchMechanismDriver(mech_agent.SimpleAgentMechanismDriverBase):
|
||||
network.
|
||||
"""
|
||||
|
||||
resource_provider_uuid5_namespace = uuid.UUID(
|
||||
'87ee7d5c-73bb-11e8-9008-c4d987b2a692')
|
||||
|
||||
def __init__(self):
|
||||
sg_enabled = securitygroups_rpc.is_firewall_enabled()
|
||||
hybrid_plug_required = (not cfg.CONF.SECURITYGROUP.firewall_driver or
|
||||
|
Loading…
Reference in New Issue
Block a user