Home | History | Annotate | Download | only in tests

Lines Matching full:vlan

8     Test 802.1Q vlan of NIC, config it by vconfig command.
14 4) Test by TCP data transfer, floop ping between same vlan of two VMs.
16 6) Recover the vlan config.
51 rem_vlan_cmd = "if [[ -e /proc/net/vlan/%s ]];then vconfig rem %s;fi"
116 for vlan in range(1, vlan_num+1):
117 logging.info("Test for vlan %s", vlan)
120 interface = ifname[0] + '.' + str(vlan)
123 interface = ifname[i] + '.' + str(vlan)
128 if ((vlan == vlan2) ^ (s == 0)):
132 vlan_ip[0] = subnet + '.' + str(vlan) + '.' + ip_unit[0]
133 vlan_ip[1] = subnet + '.' + str(vlan) + '.' + ip_unit[1]
154 for vlan in range(1, vlan_num+1):
155 rem_vlan(session[0], vlan, ifname[0])
156 rem_vlan(session[1], vlan, ifname[1])
157 logging.info("rem vlan: %s", vlan)
159 # Plumb/unplumb maximal number of vlan interfaces
163 logging.info("Testing the plumb of vlan interface")