Пример #1
0
 def __init__(self):
     sg_enabled = securitygroups_rpc.is_firewall_enabled()
     super(LinuxbridgeMechanismDriver, self).__init__(
         constants.AGENT_TYPE_LINUXBRIDGE,
         'tap',  # const merge in I718f514e1673544114063af5e1a14ec29bf3274d
         {portbindings.CAP_PORT_FILTER: sg_enabled})
     lb_qos_driver.register()
Пример #2
0
 def __init__(self):
     sg_enabled = securitygroups_rpc.is_firewall_enabled()
     super(LinuxbridgeMechanismDriver, self).__init__(
         constants.AGENT_TYPE_LINUXBRIDGE,
         portbindings.VIF_TYPE_BRIDGE,
         {portbindings.CAP_PORT_FILTER: sg_enabled})
     lb_qos_driver.register()
Пример #3
0
 def __init__(self):
     sg_enabled = securitygroups_rpc.is_firewall_enabled()
     super(LinuxbridgeMechanismDriver,
           self).__init__(constants.AGENT_TYPE_LINUXBRIDGE,
                          portbindings.VIF_TYPE_BRIDGE,
                          {portbindings.CAP_PORT_FILTER: sg_enabled})
     lb_qos_driver.register()
Пример #4
0
 def __init__(self):
     sg_enabled = securitygroups_rpc.is_firewall_enabled()
     vif_details = {
         portbindings.CAP_PORT_FILTER: sg_enabled,
         portbindings.VIF_DETAILS_CONNECTIVITY: portbindings.CONNECTIVITY_L2
     }
     super(LinuxbridgeMechanismDriver,
           self).__init__(constants.AGENT_TYPE_LINUXBRIDGE,
                          portbindings.VIF_TYPE_BRIDGE, vif_details)
     lb_qos_driver.register()