def test_vlan_tag_bridge(self): # Verify the current system has at least one interface to create a # bridged network interfaces = json.loads(self.request("/interfaces?type=nic").read()) if len(interfaces) > 0: iface = interfaces[0]["name"] _do_network_test( self, model, {"name": u"bridge-network", "connection": "bridge", "interface": iface, "vlan_id": 987} )
def test_vlan_tag_bridge(self): # Verify the current system has at least one interface to create a # bridged network interfaces = json.loads(self.request('/interfaces?type=nic').read()) if len(interfaces) > 0: iface = interfaces[0]['name'] _do_network_test(self, model, {'name': u'bridge-network', 'connection': 'bridge', 'interface': iface, 'vlan_id': 987})
def test_vlan_tag_bridge(self): # Verify the current system has at least one interface to create a # bridged network interfaces = json.loads( self.request('/plugins/kimchi/interfaces?type=nic').read() ) if len(interfaces) > 0: iface = interfaces[0]['name'] _do_network_test(self, model, {'name': u'bridge-network', 'connection': 'bridge', 'interface': iface, 'vlan_id': 987})
def test_vlan_tag_bridge(self): # Verify the current system has at least one interface to create a # bridged network interfaces = json.loads( self.request('/plugins/kimchi/interfaces?_inuse=false&type=nic'). read().decode('utf-8')) if len(interfaces) > 0: iface = interfaces[0]['name'] _do_network_test( self, model, { 'name': u'vlan-tagged-bridge', 'connection': 'bridge', 'interface': iface, 'vlan_id': 987, }, )