mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-01 21:33:02 +02:00
yanger: redesign ip interface data collection
Run ip link and ip addr once and handle the interface selection in Yanger. This should be faster on systems with many ports and it simplifies the CLI test files. Signed-off-by: Richard Alpe <richard@bit42.se>
This commit is contained in:
@@ -588,16 +588,22 @@ def get_brport_multicast(ifname):
|
||||
return multicast
|
||||
|
||||
|
||||
def add_ip_link(ifname, iface_out):
|
||||
# We always get all interfaces for two reasons.
|
||||
# 1) To increase speed on large iron with many ports.
|
||||
# 2) To simplify testing (single dummy file ip-link-show.json).
|
||||
def get_ip_link():
|
||||
"""Fetch interface link information from kernel"""
|
||||
data = run_json_cmd(['ip', '-s', '-d', '-j', 'link', 'show', 'dev', ifname],
|
||||
f"ip-link-show-dev-{ifname}.json")
|
||||
if len(data) != 1:
|
||||
logger.error("expected ip link output to be array with length 1")
|
||||
sys.exit(1)
|
||||
return run_json_cmd(['ip', '-s', '-d', '-j', 'link', 'show'],
|
||||
f"ip-link-show.json")
|
||||
|
||||
iface_in = data[0]
|
||||
|
||||
def get_ip_addr():
|
||||
"""Fetch interface address information from kernel"""
|
||||
return run_json_cmd(['ip', '-j', 'addr', 'show'],
|
||||
f"ip-addr-show.json")
|
||||
|
||||
|
||||
def add_ip_link(ifname, iface_in, iface_out):
|
||||
if 'ifname' in iface_in:
|
||||
iface_out['name'] = iface_in['ifname']
|
||||
|
||||
@@ -648,17 +654,7 @@ def add_ip_link(ifname, iface_out):
|
||||
insert(iface_out, "statistics", "in-octets", str(val))
|
||||
|
||||
|
||||
def add_ip_addr(ifname, iface_out):
|
||||
"""Fetch interface address information from kernel"""
|
||||
|
||||
data = run_json_cmd(['ip', '-j', 'addr', 'show', 'dev', ifname],
|
||||
f"ip-addr-show-dev-{ifname}.json")
|
||||
if len(data) != 1:
|
||||
logger.error("expected ip addr output to be array with length 1")
|
||||
sys.exit(1)
|
||||
|
||||
iface_in = data[0]
|
||||
|
||||
def add_ip_addr(ifname, iface_in, iface_out):
|
||||
if 'mtu' in iface_in and ifname != "lo":
|
||||
insert(iface_out, "ietf-ip:ipv4", "mtu", iface_in['mtu'])
|
||||
|
||||
@@ -877,11 +873,11 @@ def add_vlans_to_bridge(brname, iface_out, mc_status):
|
||||
|
||||
insert(iface_out, "infix-interfaces:bridge", "vlans", "vlan", vlans)
|
||||
|
||||
def get_iface_data(ifname):
|
||||
def get_iface_data(ifname, ip_link_data, ip_addr_data):
|
||||
iface_out = {}
|
||||
|
||||
add_ip_link(ifname, iface_out)
|
||||
add_ip_addr(ifname, iface_out)
|
||||
add_ip_link(ifname, ip_link_data, iface_out)
|
||||
add_ip_addr(ifname, ip_addr_data, iface_out)
|
||||
|
||||
if 'type' in iface_out and iface_out['type'] == "infix-if-type:ethernet":
|
||||
add_ethtool_groups(ifname, iface_out)
|
||||
@@ -898,6 +894,26 @@ def get_iface_data(ifname):
|
||||
|
||||
return iface_out
|
||||
|
||||
def _add_interface(ifname, ip_link_data, ip_addr_data, yang_ifaces):
|
||||
# We expect both ip addr and link data to exist.
|
||||
if not ip_link_data or not ip_addr_data:
|
||||
return
|
||||
|
||||
yang_ifaces.append(get_iface_data(ifname, ip_link_data, ip_addr_data))
|
||||
|
||||
def add_interface(ifname, yang_ifaces):
|
||||
ip_link_data = get_ip_link()
|
||||
ip_addr_data = get_ip_addr()
|
||||
|
||||
if ifname:
|
||||
ip_link_data = next((d for d in ip_link_data if d.get('ifname') == ifname), None)
|
||||
ip_addr_data = next((d for d in ip_addr_data if d.get('ifname') == ifname), None)
|
||||
_add_interface(ifname, ip_link_data, ip_addr_data, yang_ifaces)
|
||||
else:
|
||||
for link in ip_link_data:
|
||||
addr = next((d for d in ip_addr_data if d.get('ifname') == link["ifname"]), None)
|
||||
_add_interface(link["ifname"], link, addr, yang_ifaces)
|
||||
|
||||
def main():
|
||||
global TESTPATH
|
||||
global logger
|
||||
@@ -932,15 +948,7 @@ def main():
|
||||
"interface": []
|
||||
}
|
||||
}
|
||||
|
||||
if args.param:
|
||||
iface_data = get_iface_data(args.param)
|
||||
yang_data['ietf-interfaces:interfaces']['interface'].append(iface_data)
|
||||
else:
|
||||
ifnames = os.listdir('/sys/class/net/')
|
||||
for ifname in ifnames:
|
||||
iface_data = get_iface_data(ifname)
|
||||
yang_data['ietf-interfaces:interfaces']['interface'].append(iface_data)
|
||||
add_interface(args.param, yang_data['ietf-interfaces:interfaces']['interface'])
|
||||
|
||||
elif args.model == 'ietf-routing':
|
||||
yang_data = {
|
||||
|
||||
@@ -1,101 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 7,
|
||||
"ifname": "br0",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "noqueue",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:00",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_kind": "bridge",
|
||||
"info_data": {
|
||||
"forward_delay": 1500,
|
||||
"hello_time": 200,
|
||||
"max_age": 2000,
|
||||
"ageing_time": 30000,
|
||||
"stp_state": 0,
|
||||
"priority": 32768,
|
||||
"vlan_filtering": 1,
|
||||
"vlan_protocol": "802.1Q",
|
||||
"bridge_id": "8000.2:0:0:0:0:0",
|
||||
"root_id": "8000.2:0:0:0:0:0",
|
||||
"root_port": 0,
|
||||
"root_path_cost": 0,
|
||||
"topology_change": 0,
|
||||
"topology_change_detected": 0,
|
||||
"hello_timer": 0,
|
||||
"tcn_timer": 0,
|
||||
"topology_change_timer": 0,
|
||||
"gc_timer": 63.88,
|
||||
"vlan_default_pvid": 0,
|
||||
"vlan_stats_enabled": 0,
|
||||
"vlan_stats_per_port": 0,
|
||||
"group_fwd_mask": "0",
|
||||
"group_addr": "01:80:c2:00:00:00",
|
||||
"mcast_snooping": 0,
|
||||
"no_linklocal_learn": 0,
|
||||
"mcast_vlan_snooping": 0,
|
||||
"mcast_router": 1,
|
||||
"mcast_query_use_ifaddr": 0,
|
||||
"mcast_querier": 0,
|
||||
"mcast_hash_elasticity": 16,
|
||||
"mcast_hash_max": 4096,
|
||||
"mcast_last_member_cnt": 2,
|
||||
"mcast_startup_query_cnt": 2,
|
||||
"mcast_last_member_intvl": 100,
|
||||
"mcast_membership_intvl": 26000,
|
||||
"mcast_querier_intvl": 25500,
|
||||
"mcast_query_intvl": 12500,
|
||||
"mcast_query_response_intvl": 1000,
|
||||
"mcast_startup_query_intvl": 3124,
|
||||
"mcast_stats_enabled": 0,
|
||||
"mcast_igmp_version": 2,
|
||||
"mcast_mld_version": 1,
|
||||
"nf_call_iptables": 0,
|
||||
"nf_call_ip6tables": 0,
|
||||
"nf_call_arptables": 0
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "none",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 3158,
|
||||
"packets": 42,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 37
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,100 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 8,
|
||||
"ifname": "br1",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "noqueue",
|
||||
"operstate": "UP",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:02",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_kind": "bridge",
|
||||
"info_data": {
|
||||
"forward_delay": 1500,
|
||||
"hello_time": 200,
|
||||
"max_age": 2000,
|
||||
"ageing_time": 30000,
|
||||
"stp_state": 0,
|
||||
"priority": 32768,
|
||||
"vlan_filtering": 1,
|
||||
"vlan_protocol": "802.1Q",
|
||||
"bridge_id": "8000.2:0:0:0:0:2",
|
||||
"root_id": "8000.2:0:0:0:0:2",
|
||||
"root_port": 0,
|
||||
"root_path_cost": 0,
|
||||
"topology_change": 0,
|
||||
"topology_change_detected": 0,
|
||||
"hello_timer": 0.00,
|
||||
"tcn_timer": 0.00,
|
||||
"topology_change_timer": 0.00,
|
||||
"gc_timer": 0.00,
|
||||
"vlan_default_pvid": 0,
|
||||
"vlan_stats_enabled": 0,
|
||||
"vlan_stats_per_port": 0,
|
||||
"group_fwd_mask": "0",
|
||||
"group_addr": "01:80:c2:00:00:00",
|
||||
"mcast_snooping": 0,
|
||||
"no_linklocal_learn": 0,
|
||||
"mcast_vlan_snooping": 0,
|
||||
"mcast_router": 1,
|
||||
"mcast_query_use_ifaddr": 0,
|
||||
"mcast_querier": 0,
|
||||
"mcast_hash_elasticity": 16,
|
||||
"mcast_hash_max": 4096,
|
||||
"mcast_last_member_cnt": 2,
|
||||
"mcast_startup_query_cnt": 2,
|
||||
"mcast_last_member_intvl": 100,
|
||||
"mcast_membership_intvl": 26000,
|
||||
"mcast_querier_intvl": 25500,
|
||||
"mcast_query_intvl": 12500,
|
||||
"mcast_query_response_intvl": 1000,
|
||||
"mcast_startup_query_intvl": 3124,
|
||||
"mcast_stats_enabled": 0,
|
||||
"mcast_igmp_version": 2,
|
||||
"mcast_mld_version": 1,
|
||||
"nf_call_iptables": 0,
|
||||
"nf_call_ip6tables": 0,
|
||||
"nf_call_arptables": 0
|
||||
}
|
||||
},
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"addr_info": [],
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,91 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 2,
|
||||
"ifname": "e0",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"master": "br0",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:00",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 1,
|
||||
"allmulti": 1,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_slave_kind": "bridge",
|
||||
"info_slave_data": {
|
||||
"state": "forwarding",
|
||||
"priority": 32,
|
||||
"cost": 100,
|
||||
"hairpin": false,
|
||||
"guard": false,
|
||||
"root_block": false,
|
||||
"fastleave": false,
|
||||
"learning": true,
|
||||
"flood": true,
|
||||
"id": "0x8001",
|
||||
"no": "0x1",
|
||||
"designated_port": 32769,
|
||||
"designated_cost": 0,
|
||||
"bridge_id": "8000.2:0:0:0:0:0",
|
||||
"root_id": "8000.2:0:0:0:0:0",
|
||||
"hold_timer": 0,
|
||||
"message_age_timer": 0,
|
||||
"forward_delay_timer": 0,
|
||||
"topology_change_ack": 0,
|
||||
"config_pending": 0,
|
||||
"proxy_arp": false,
|
||||
"proxy_arp_wifi": false,
|
||||
"multicast_router": 1,
|
||||
"mcast_flood": true,
|
||||
"bcast_flood": true,
|
||||
"mcast_to_unicast": false,
|
||||
"neigh_suppress": false,
|
||||
"group_fwd_mask": "0",
|
||||
"group_fwd_mask_str": "0x0",
|
||||
"vlan_tunnel": false,
|
||||
"isolated": false,
|
||||
"locked": false
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio2",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 6795,
|
||||
"packets": 62,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 22830,
|
||||
"packets": 114,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,91 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 3,
|
||||
"ifname": "e1",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"master": "br0",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:01",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 1,
|
||||
"allmulti": 1,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_slave_kind": "bridge",
|
||||
"info_slave_data": {
|
||||
"state": "forwarding",
|
||||
"priority": 32,
|
||||
"cost": 100,
|
||||
"hairpin": false,
|
||||
"guard": false,
|
||||
"root_block": false,
|
||||
"fastleave": false,
|
||||
"learning": true,
|
||||
"flood": true,
|
||||
"id": "0x8002",
|
||||
"no": "0x2",
|
||||
"designated_port": 32770,
|
||||
"designated_cost": 0,
|
||||
"bridge_id": "8000.2:0:0:0:0:0",
|
||||
"root_id": "8000.2:0:0:0:0:0",
|
||||
"hold_timer": 0,
|
||||
"message_age_timer": 0,
|
||||
"forward_delay_timer": 0,
|
||||
"topology_change_ack": 0,
|
||||
"config_pending": 0,
|
||||
"proxy_arp": false,
|
||||
"proxy_arp_wifi": false,
|
||||
"multicast_router": 1,
|
||||
"mcast_flood": true,
|
||||
"bcast_flood": true,
|
||||
"mcast_to_unicast": false,
|
||||
"neigh_suppress": false,
|
||||
"group_fwd_mask": "0",
|
||||
"group_fwd_mask_str": "0x0",
|
||||
"vlan_tunnel": false,
|
||||
"isolated": false,
|
||||
"locked": false
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio3",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 1397,
|
||||
"packets": 11,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 23781,
|
||||
"packets": 126,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,100 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 4,
|
||||
"ifname": "e2",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"master": "br1",
|
||||
"operstate": "UP",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:02",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 1,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_slave_kind": "bridge",
|
||||
"info_slave_data": {
|
||||
"state": "forwarding",
|
||||
"priority": 32,
|
||||
"cost": 100,
|
||||
"hairpin": false,
|
||||
"guard": false,
|
||||
"root_block": false,
|
||||
"fastleave": false,
|
||||
"learning": true,
|
||||
"flood": true,
|
||||
"id": "0x8001",
|
||||
"no": "0x1",
|
||||
"designated_port": 32769,
|
||||
"designated_cost": 0,
|
||||
"bridge_id": "8000.2:0:0:0:0:2",
|
||||
"root_id": "8000.2:0:0:0:0:2",
|
||||
"hold_timer": 0.00,
|
||||
"message_age_timer": 0.00,
|
||||
"forward_delay_timer": 0.00,
|
||||
"topology_change_ack": 0,
|
||||
"config_pending": 0,
|
||||
"proxy_arp": false,
|
||||
"proxy_arp_wifi": false,
|
||||
"multicast_router": 1,
|
||||
"mcast_flood": true,
|
||||
"bcast_flood": true,
|
||||
"mcast_to_unicast": false,
|
||||
"neigh_suppress": false,
|
||||
"group_fwd_mask": "0",
|
||||
"group_fwd_mask_str": "0x0",
|
||||
"vlan_tunnel": false,
|
||||
"isolated": false,
|
||||
"locked": false
|
||||
}
|
||||
},
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio4",
|
||||
"addr_info": [
|
||||
{
|
||||
"family": "inet6",
|
||||
"local": "fe80::ff:fe00:2",
|
||||
"prefixlen": 64,
|
||||
"scope": "link",
|
||||
"protocol": "kernel_ll",
|
||||
"valid_life_time": 4294967295,
|
||||
"preferred_life_time": 4294967295
|
||||
}
|
||||
],
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 19676,
|
||||
"packets": 83,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,53 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 5,
|
||||
"ifname": "e3",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:03",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio5",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 1327,
|
||||
"packets": 10,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 13837,
|
||||
"packets": 67,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,53 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 6,
|
||||
"ifname": "e4",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"operstate": "DOWN",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:04",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio6",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 1327,
|
||||
"packets": 10,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 18046,
|
||||
"packets": 91,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,577 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 7,
|
||||
"ifname": "br0",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "noqueue",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:00",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_kind": "bridge",
|
||||
"info_data": {
|
||||
"forward_delay": 1500,
|
||||
"hello_time": 200,
|
||||
"max_age": 2000,
|
||||
"ageing_time": 30000,
|
||||
"stp_state": 0,
|
||||
"priority": 32768,
|
||||
"vlan_filtering": 1,
|
||||
"vlan_protocol": "802.1Q",
|
||||
"bridge_id": "8000.2:0:0:0:0:0",
|
||||
"root_id": "8000.2:0:0:0:0:0",
|
||||
"root_port": 0,
|
||||
"root_path_cost": 0,
|
||||
"topology_change": 0,
|
||||
"topology_change_detected": 0,
|
||||
"hello_timer": 0,
|
||||
"tcn_timer": 0,
|
||||
"topology_change_timer": 0,
|
||||
"gc_timer": 63.88,
|
||||
"vlan_default_pvid": 0,
|
||||
"vlan_stats_enabled": 0,
|
||||
"vlan_stats_per_port": 0,
|
||||
"group_fwd_mask": "0",
|
||||
"group_addr": "01:80:c2:00:00:00",
|
||||
"mcast_snooping": 0,
|
||||
"no_linklocal_learn": 0,
|
||||
"mcast_vlan_snooping": 0,
|
||||
"mcast_router": 1,
|
||||
"mcast_query_use_ifaddr": 0,
|
||||
"mcast_querier": 0,
|
||||
"mcast_hash_elasticity": 16,
|
||||
"mcast_hash_max": 4096,
|
||||
"mcast_last_member_cnt": 2,
|
||||
"mcast_startup_query_cnt": 2,
|
||||
"mcast_last_member_intvl": 100,
|
||||
"mcast_membership_intvl": 26000,
|
||||
"mcast_querier_intvl": 25500,
|
||||
"mcast_query_intvl": 12500,
|
||||
"mcast_query_response_intvl": 1000,
|
||||
"mcast_startup_query_intvl": 3124,
|
||||
"mcast_stats_enabled": 0,
|
||||
"mcast_igmp_version": 2,
|
||||
"mcast_mld_version": 1,
|
||||
"nf_call_iptables": 0,
|
||||
"nf_call_ip6tables": 0,
|
||||
"nf_call_arptables": 0
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "none",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 3158,
|
||||
"packets": 42,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 37
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ifindex": 8,
|
||||
"ifname": "br1",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "noqueue",
|
||||
"operstate": "UP",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:02",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_kind": "bridge",
|
||||
"info_data": {
|
||||
"forward_delay": 1500,
|
||||
"hello_time": 200,
|
||||
"max_age": 2000,
|
||||
"ageing_time": 30000,
|
||||
"stp_state": 0,
|
||||
"priority": 32768,
|
||||
"vlan_filtering": 1,
|
||||
"vlan_protocol": "802.1Q",
|
||||
"bridge_id": "8000.2:0:0:0:0:2",
|
||||
"root_id": "8000.2:0:0:0:0:2",
|
||||
"root_port": 0,
|
||||
"root_path_cost": 0,
|
||||
"topology_change": 0,
|
||||
"topology_change_detected": 0,
|
||||
"hello_timer": 0.00,
|
||||
"tcn_timer": 0.00,
|
||||
"topology_change_timer": 0.00,
|
||||
"gc_timer": 0.00,
|
||||
"vlan_default_pvid": 0,
|
||||
"vlan_stats_enabled": 0,
|
||||
"vlan_stats_per_port": 0,
|
||||
"group_fwd_mask": "0",
|
||||
"group_addr": "01:80:c2:00:00:00",
|
||||
"mcast_snooping": 0,
|
||||
"no_linklocal_learn": 0,
|
||||
"mcast_vlan_snooping": 0,
|
||||
"mcast_router": 1,
|
||||
"mcast_query_use_ifaddr": 0,
|
||||
"mcast_querier": 0,
|
||||
"mcast_hash_elasticity": 16,
|
||||
"mcast_hash_max": 4096,
|
||||
"mcast_last_member_cnt": 2,
|
||||
"mcast_startup_query_cnt": 2,
|
||||
"mcast_last_member_intvl": 100,
|
||||
"mcast_membership_intvl": 26000,
|
||||
"mcast_querier_intvl": 25500,
|
||||
"mcast_query_intvl": 12500,
|
||||
"mcast_query_response_intvl": 1000,
|
||||
"mcast_startup_query_intvl": 3124,
|
||||
"mcast_stats_enabled": 0,
|
||||
"mcast_igmp_version": 2,
|
||||
"mcast_mld_version": 1,
|
||||
"nf_call_iptables": 0,
|
||||
"nf_call_ip6tables": 0,
|
||||
"nf_call_arptables": 0
|
||||
}
|
||||
},
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"addr_info": [],
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ifindex": 2,
|
||||
"ifname": "e0",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"master": "br0",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:00",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 1,
|
||||
"allmulti": 1,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_slave_kind": "bridge",
|
||||
"info_slave_data": {
|
||||
"state": "forwarding",
|
||||
"priority": 32,
|
||||
"cost": 100,
|
||||
"hairpin": false,
|
||||
"guard": false,
|
||||
"root_block": false,
|
||||
"fastleave": false,
|
||||
"learning": true,
|
||||
"flood": true,
|
||||
"id": "0x8001",
|
||||
"no": "0x1",
|
||||
"designated_port": 32769,
|
||||
"designated_cost": 0,
|
||||
"bridge_id": "8000.2:0:0:0:0:0",
|
||||
"root_id": "8000.2:0:0:0:0:0",
|
||||
"hold_timer": 0,
|
||||
"message_age_timer": 0,
|
||||
"forward_delay_timer": 0,
|
||||
"topology_change_ack": 0,
|
||||
"config_pending": 0,
|
||||
"proxy_arp": false,
|
||||
"proxy_arp_wifi": false,
|
||||
"multicast_router": 1,
|
||||
"mcast_flood": true,
|
||||
"bcast_flood": true,
|
||||
"mcast_to_unicast": false,
|
||||
"neigh_suppress": false,
|
||||
"group_fwd_mask": "0",
|
||||
"group_fwd_mask_str": "0x0",
|
||||
"vlan_tunnel": false,
|
||||
"isolated": false,
|
||||
"locked": false
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio2",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 6795,
|
||||
"packets": 62,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 22830,
|
||||
"packets": 114,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ifindex": 3,
|
||||
"ifname": "e1",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"master": "br0",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:01",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 1,
|
||||
"allmulti": 1,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_slave_kind": "bridge",
|
||||
"info_slave_data": {
|
||||
"state": "forwarding",
|
||||
"priority": 32,
|
||||
"cost": 100,
|
||||
"hairpin": false,
|
||||
"guard": false,
|
||||
"root_block": false,
|
||||
"fastleave": false,
|
||||
"learning": true,
|
||||
"flood": true,
|
||||
"id": "0x8002",
|
||||
"no": "0x2",
|
||||
"designated_port": 32770,
|
||||
"designated_cost": 0,
|
||||
"bridge_id": "8000.2:0:0:0:0:0",
|
||||
"root_id": "8000.2:0:0:0:0:0",
|
||||
"hold_timer": 0,
|
||||
"message_age_timer": 0,
|
||||
"forward_delay_timer": 0,
|
||||
"topology_change_ack": 0,
|
||||
"config_pending": 0,
|
||||
"proxy_arp": false,
|
||||
"proxy_arp_wifi": false,
|
||||
"multicast_router": 1,
|
||||
"mcast_flood": true,
|
||||
"bcast_flood": true,
|
||||
"mcast_to_unicast": false,
|
||||
"neigh_suppress": false,
|
||||
"group_fwd_mask": "0",
|
||||
"group_fwd_mask_str": "0x0",
|
||||
"vlan_tunnel": false,
|
||||
"isolated": false,
|
||||
"locked": false
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio3",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 1397,
|
||||
"packets": 11,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 23781,
|
||||
"packets": 126,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ifindex": 4,
|
||||
"ifname": "e2",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"master": "br1",
|
||||
"operstate": "UP",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:02",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 1,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_slave_kind": "bridge",
|
||||
"info_slave_data": {
|
||||
"state": "forwarding",
|
||||
"priority": 32,
|
||||
"cost": 100,
|
||||
"hairpin": false,
|
||||
"guard": false,
|
||||
"root_block": false,
|
||||
"fastleave": false,
|
||||
"learning": true,
|
||||
"flood": true,
|
||||
"id": "0x8001",
|
||||
"no": "0x1",
|
||||
"designated_port": 32769,
|
||||
"designated_cost": 0,
|
||||
"bridge_id": "8000.2:0:0:0:0:2",
|
||||
"root_id": "8000.2:0:0:0:0:2",
|
||||
"hold_timer": 0.00,
|
||||
"message_age_timer": 0.00,
|
||||
"forward_delay_timer": 0.00,
|
||||
"topology_change_ack": 0,
|
||||
"config_pending": 0,
|
||||
"proxy_arp": false,
|
||||
"proxy_arp_wifi": false,
|
||||
"multicast_router": 1,
|
||||
"mcast_flood": true,
|
||||
"bcast_flood": true,
|
||||
"mcast_to_unicast": false,
|
||||
"neigh_suppress": false,
|
||||
"group_fwd_mask": "0",
|
||||
"group_fwd_mask_str": "0x0",
|
||||
"vlan_tunnel": false,
|
||||
"isolated": false,
|
||||
"locked": false
|
||||
}
|
||||
},
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio4",
|
||||
"addr_info": [
|
||||
{
|
||||
"family": "inet6",
|
||||
"local": "fe80::ff:fe00:2",
|
||||
"prefixlen": 64,
|
||||
"scope": "link",
|
||||
"protocol": "kernel_ll",
|
||||
"valid_life_time": 4294967295,
|
||||
"preferred_life_time": 4294967295
|
||||
}
|
||||
],
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 19676,
|
||||
"packets": 83,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ifindex": 5,
|
||||
"ifname": "e3",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:03",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio5",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 1327,
|
||||
"packets": 10,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 13837,
|
||||
"packets": 67,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ifindex": 6,
|
||||
"ifname": "e4",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"operstate": "DOWN",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:04",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio6",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 1327,
|
||||
"packets": 10,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 18046,
|
||||
"packets": 91,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,101 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 7,
|
||||
"ifname": "br0",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "noqueue",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:00",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_kind": "bridge",
|
||||
"info_data": {
|
||||
"forward_delay": 1500,
|
||||
"hello_time": 200,
|
||||
"max_age": 2000,
|
||||
"ageing_time": 30000,
|
||||
"stp_state": 0,
|
||||
"priority": 32768,
|
||||
"vlan_filtering": 1,
|
||||
"vlan_protocol": "802.1Q",
|
||||
"bridge_id": "8000.2:0:0:0:0:0",
|
||||
"root_id": "8000.2:0:0:0:0:0",
|
||||
"root_port": 0,
|
||||
"root_path_cost": 0,
|
||||
"topology_change": 0,
|
||||
"topology_change_detected": 0,
|
||||
"hello_timer": 0,
|
||||
"tcn_timer": 0,
|
||||
"topology_change_timer": 0,
|
||||
"gc_timer": 27.38,
|
||||
"vlan_default_pvid": 0,
|
||||
"vlan_stats_enabled": 0,
|
||||
"vlan_stats_per_port": 0,
|
||||
"group_fwd_mask": "0",
|
||||
"group_addr": "01:80:c2:00:00:00",
|
||||
"mcast_snooping": 0,
|
||||
"no_linklocal_learn": 0,
|
||||
"mcast_vlan_snooping": 0,
|
||||
"mcast_router": 1,
|
||||
"mcast_query_use_ifaddr": 0,
|
||||
"mcast_querier": 0,
|
||||
"mcast_hash_elasticity": 16,
|
||||
"mcast_hash_max": 4096,
|
||||
"mcast_last_member_cnt": 2,
|
||||
"mcast_startup_query_cnt": 2,
|
||||
"mcast_last_member_intvl": 100,
|
||||
"mcast_membership_intvl": 26000,
|
||||
"mcast_querier_intvl": 25500,
|
||||
"mcast_query_intvl": 12500,
|
||||
"mcast_query_response_intvl": 1000,
|
||||
"mcast_startup_query_intvl": 3124,
|
||||
"mcast_stats_enabled": 0,
|
||||
"mcast_igmp_version": 2,
|
||||
"mcast_mld_version": 1,
|
||||
"nf_call_iptables": 0,
|
||||
"nf_call_ip6tables": 0,
|
||||
"nf_call_arptables": 0
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "none",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 3158,
|
||||
"packets": 42,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 37
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,101 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 8,
|
||||
"ifname": "br1",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "noqueue",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:02",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_kind": "bridge",
|
||||
"info_data": {
|
||||
"forward_delay": 1500,
|
||||
"hello_time": 200,
|
||||
"max_age": 2000,
|
||||
"ageing_time": 30000,
|
||||
"stp_state": 0,
|
||||
"priority": 32768,
|
||||
"vlan_filtering": 1,
|
||||
"vlan_protocol": "802.1Q",
|
||||
"bridge_id": "8000.2:0:0:0:0:2",
|
||||
"root_id": "8000.2:0:0:0:0:2",
|
||||
"root_port": 0,
|
||||
"root_path_cost": 0,
|
||||
"topology_change": 0,
|
||||
"topology_change_detected": 0,
|
||||
"hello_timer": 0.00,
|
||||
"tcn_timer": 0.00,
|
||||
"topology_change_timer": 0.00,
|
||||
"gc_timer": 53.73,
|
||||
"vlan_default_pvid": 0,
|
||||
"vlan_stats_enabled": 0,
|
||||
"vlan_stats_per_port": 0,
|
||||
"group_fwd_mask": "0",
|
||||
"group_addr": "01:80:c2:00:00:00",
|
||||
"mcast_snooping": 0,
|
||||
"no_linklocal_learn": 0,
|
||||
"mcast_vlan_snooping": 0,
|
||||
"mcast_router": 1,
|
||||
"mcast_query_use_ifaddr": 0,
|
||||
"mcast_querier": 0,
|
||||
"mcast_hash_elasticity": 16,
|
||||
"mcast_hash_max": 4096,
|
||||
"mcast_last_member_cnt": 2,
|
||||
"mcast_startup_query_cnt": 2,
|
||||
"mcast_last_member_intvl": 100,
|
||||
"mcast_membership_intvl": 26000,
|
||||
"mcast_querier_intvl": 25500,
|
||||
"mcast_query_intvl": 12500,
|
||||
"mcast_query_response_intvl": 1000,
|
||||
"mcast_startup_query_intvl": 3124,
|
||||
"mcast_stats_enabled": 0,
|
||||
"mcast_igmp_version": 2,
|
||||
"mcast_mld_version": 1,
|
||||
"nf_call_iptables": 0,
|
||||
"nf_call_ip6tables": 0,
|
||||
"nf_call_arptables": 0
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "none",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,91 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 2,
|
||||
"ifname": "e0",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"master": "br0",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:00",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 1,
|
||||
"allmulti": 1,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_slave_kind": "bridge",
|
||||
"info_slave_data": {
|
||||
"state": "forwarding",
|
||||
"priority": 32,
|
||||
"cost": 100,
|
||||
"hairpin": false,
|
||||
"guard": false,
|
||||
"root_block": false,
|
||||
"fastleave": false,
|
||||
"learning": true,
|
||||
"flood": true,
|
||||
"id": "0x8001",
|
||||
"no": "0x1",
|
||||
"designated_port": 32769,
|
||||
"designated_cost": 0,
|
||||
"bridge_id": "8000.2:0:0:0:0:0",
|
||||
"root_id": "8000.2:0:0:0:0:0",
|
||||
"hold_timer": 0,
|
||||
"message_age_timer": 0,
|
||||
"forward_delay_timer": 0,
|
||||
"topology_change_ack": 0,
|
||||
"config_pending": 0,
|
||||
"proxy_arp": false,
|
||||
"proxy_arp_wifi": false,
|
||||
"multicast_router": 1,
|
||||
"mcast_flood": true,
|
||||
"bcast_flood": true,
|
||||
"mcast_to_unicast": false,
|
||||
"neigh_suppress": false,
|
||||
"group_fwd_mask": "0",
|
||||
"group_fwd_mask_str": "0x0",
|
||||
"vlan_tunnel": false,
|
||||
"isolated": false,
|
||||
"locked": false
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "e1000",
|
||||
"parentdev": "e1000-foobar",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 6537,
|
||||
"packets": 59,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 20891,
|
||||
"packets": 106,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,91 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 3,
|
||||
"ifname": "e1",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"master": "br0",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:01",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 1,
|
||||
"allmulti": 1,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_slave_kind": "bridge",
|
||||
"info_slave_data": {
|
||||
"state": "forwarding",
|
||||
"priority": 32,
|
||||
"cost": 100,
|
||||
"hairpin": false,
|
||||
"guard": false,
|
||||
"root_block": false,
|
||||
"fastleave": false,
|
||||
"learning": true,
|
||||
"flood": true,
|
||||
"id": "0x8002",
|
||||
"no": "0x2",
|
||||
"designated_port": 32770,
|
||||
"designated_cost": 0,
|
||||
"bridge_id": "8000.2:0:0:0:0:0",
|
||||
"root_id": "8000.2:0:0:0:0:0",
|
||||
"hold_timer": 0,
|
||||
"message_age_timer": 0,
|
||||
"forward_delay_timer": 0,
|
||||
"topology_change_ack": 0,
|
||||
"config_pending": 0,
|
||||
"proxy_arp": false,
|
||||
"proxy_arp_wifi": false,
|
||||
"multicast_router": 1,
|
||||
"mcast_flood": true,
|
||||
"bcast_flood": true,
|
||||
"mcast_to_unicast": false,
|
||||
"neigh_suppress": false,
|
||||
"group_fwd_mask": "0",
|
||||
"group_fwd_mask_str": "0x0",
|
||||
"vlan_tunnel": false,
|
||||
"isolated": false,
|
||||
"locked": false
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "e1000",
|
||||
"parentdev": "e1000-foobar",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 1397,
|
||||
"packets": 11,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 24849,
|
||||
"packets": 130,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,91 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 4,
|
||||
"ifname": "e2",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"master": "br1",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:02",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 1,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_slave_kind": "bridge",
|
||||
"info_slave_data": {
|
||||
"state": "forwarding",
|
||||
"priority": 32,
|
||||
"cost": 100,
|
||||
"hairpin": false,
|
||||
"guard": false,
|
||||
"root_block": false,
|
||||
"fastleave": false,
|
||||
"learning": true,
|
||||
"flood": true,
|
||||
"id": "0x8001",
|
||||
"no": "0x1",
|
||||
"designated_port": 32769,
|
||||
"designated_cost": 0,
|
||||
"bridge_id": "8000.2:0:0:0:0:2",
|
||||
"root_id": "8000.2:0:0:0:0:2",
|
||||
"hold_timer": 0.00,
|
||||
"message_age_timer": 0.00,
|
||||
"forward_delay_timer": 0.00,
|
||||
"topology_change_ack": 0,
|
||||
"config_pending": 0,
|
||||
"proxy_arp": false,
|
||||
"proxy_arp_wifi": false,
|
||||
"multicast_router": 1,
|
||||
"mcast_flood": true,
|
||||
"bcast_flood": true,
|
||||
"mcast_to_unicast": false,
|
||||
"neigh_suppress": false,
|
||||
"group_fwd_mask": "0",
|
||||
"group_fwd_mask_str": "0x0",
|
||||
"vlan_tunnel": false,
|
||||
"isolated": false,
|
||||
"locked": false
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio4",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 19114,
|
||||
"packets": 81,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,53 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 5,
|
||||
"ifname": "e3",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:03",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio5",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 1327,
|
||||
"packets": 10,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 15057,
|
||||
"packets": 72,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -1,53 +0,0 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 6,
|
||||
"ifname": "e4",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"operstate": "DOWN",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:04",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio6",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 1327,
|
||||
"packets": 10,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 19022,
|
||||
"packets": 95,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,569 @@
|
||||
[
|
||||
{
|
||||
"ifindex": 7,
|
||||
"ifname": "br0",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "noqueue",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:00",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_kind": "bridge",
|
||||
"info_data": {
|
||||
"forward_delay": 1500,
|
||||
"hello_time": 200,
|
||||
"max_age": 2000,
|
||||
"ageing_time": 30000,
|
||||
"stp_state": 0,
|
||||
"priority": 32768,
|
||||
"vlan_filtering": 1,
|
||||
"vlan_protocol": "802.1Q",
|
||||
"bridge_id": "8000.2:0:0:0:0:0",
|
||||
"root_id": "8000.2:0:0:0:0:0",
|
||||
"root_port": 0,
|
||||
"root_path_cost": 0,
|
||||
"topology_change": 0,
|
||||
"topology_change_detected": 0,
|
||||
"hello_timer": 0,
|
||||
"tcn_timer": 0,
|
||||
"topology_change_timer": 0,
|
||||
"gc_timer": 27.38,
|
||||
"vlan_default_pvid": 0,
|
||||
"vlan_stats_enabled": 0,
|
||||
"vlan_stats_per_port": 0,
|
||||
"group_fwd_mask": "0",
|
||||
"group_addr": "01:80:c2:00:00:00",
|
||||
"mcast_snooping": 0,
|
||||
"no_linklocal_learn": 0,
|
||||
"mcast_vlan_snooping": 0,
|
||||
"mcast_router": 1,
|
||||
"mcast_query_use_ifaddr": 0,
|
||||
"mcast_querier": 0,
|
||||
"mcast_hash_elasticity": 16,
|
||||
"mcast_hash_max": 4096,
|
||||
"mcast_last_member_cnt": 2,
|
||||
"mcast_startup_query_cnt": 2,
|
||||
"mcast_last_member_intvl": 100,
|
||||
"mcast_membership_intvl": 26000,
|
||||
"mcast_querier_intvl": 25500,
|
||||
"mcast_query_intvl": 12500,
|
||||
"mcast_query_response_intvl": 1000,
|
||||
"mcast_startup_query_intvl": 3124,
|
||||
"mcast_stats_enabled": 0,
|
||||
"mcast_igmp_version": 2,
|
||||
"mcast_mld_version": 1,
|
||||
"nf_call_iptables": 0,
|
||||
"nf_call_ip6tables": 0,
|
||||
"nf_call_arptables": 0
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "none",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 3158,
|
||||
"packets": 42,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 37
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ifindex": 8,
|
||||
"ifname": "br1",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "noqueue",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:02",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_kind": "bridge",
|
||||
"info_data": {
|
||||
"forward_delay": 1500,
|
||||
"hello_time": 200,
|
||||
"max_age": 2000,
|
||||
"ageing_time": 30000,
|
||||
"stp_state": 0,
|
||||
"priority": 32768,
|
||||
"vlan_filtering": 1,
|
||||
"vlan_protocol": "802.1Q",
|
||||
"bridge_id": "8000.2:0:0:0:0:2",
|
||||
"root_id": "8000.2:0:0:0:0:2",
|
||||
"root_port": 0,
|
||||
"root_path_cost": 0,
|
||||
"topology_change": 0,
|
||||
"topology_change_detected": 0,
|
||||
"hello_timer": 0.00,
|
||||
"tcn_timer": 0.00,
|
||||
"topology_change_timer": 0.00,
|
||||
"gc_timer": 53.73,
|
||||
"vlan_default_pvid": 0,
|
||||
"vlan_stats_enabled": 0,
|
||||
"vlan_stats_per_port": 0,
|
||||
"group_fwd_mask": "0",
|
||||
"group_addr": "01:80:c2:00:00:00",
|
||||
"mcast_snooping": 0,
|
||||
"no_linklocal_learn": 0,
|
||||
"mcast_vlan_snooping": 0,
|
||||
"mcast_router": 1,
|
||||
"mcast_query_use_ifaddr": 0,
|
||||
"mcast_querier": 0,
|
||||
"mcast_hash_elasticity": 16,
|
||||
"mcast_hash_max": 4096,
|
||||
"mcast_last_member_cnt": 2,
|
||||
"mcast_startup_query_cnt": 2,
|
||||
"mcast_last_member_intvl": 100,
|
||||
"mcast_membership_intvl": 26000,
|
||||
"mcast_querier_intvl": 25500,
|
||||
"mcast_query_intvl": 12500,
|
||||
"mcast_query_response_intvl": 1000,
|
||||
"mcast_startup_query_intvl": 3124,
|
||||
"mcast_stats_enabled": 0,
|
||||
"mcast_igmp_version": 2,
|
||||
"mcast_mld_version": 1,
|
||||
"nf_call_iptables": 0,
|
||||
"nf_call_ip6tables": 0,
|
||||
"nf_call_arptables": 0
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "none",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ifindex": 2,
|
||||
"ifname": "e0",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"master": "br0",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:00",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 1,
|
||||
"allmulti": 1,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_slave_kind": "bridge",
|
||||
"info_slave_data": {
|
||||
"state": "forwarding",
|
||||
"priority": 32,
|
||||
"cost": 100,
|
||||
"hairpin": false,
|
||||
"guard": false,
|
||||
"root_block": false,
|
||||
"fastleave": false,
|
||||
"learning": true,
|
||||
"flood": true,
|
||||
"id": "0x8001",
|
||||
"no": "0x1",
|
||||
"designated_port": 32769,
|
||||
"designated_cost": 0,
|
||||
"bridge_id": "8000.2:0:0:0:0:0",
|
||||
"root_id": "8000.2:0:0:0:0:0",
|
||||
"hold_timer": 0,
|
||||
"message_age_timer": 0,
|
||||
"forward_delay_timer": 0,
|
||||
"topology_change_ack": 0,
|
||||
"config_pending": 0,
|
||||
"proxy_arp": false,
|
||||
"proxy_arp_wifi": false,
|
||||
"multicast_router": 1,
|
||||
"mcast_flood": true,
|
||||
"bcast_flood": true,
|
||||
"mcast_to_unicast": false,
|
||||
"neigh_suppress": false,
|
||||
"group_fwd_mask": "0",
|
||||
"group_fwd_mask_str": "0x0",
|
||||
"vlan_tunnel": false,
|
||||
"isolated": false,
|
||||
"locked": false
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "e1000",
|
||||
"parentdev": "e1000-foobar",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 6537,
|
||||
"packets": 59,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 20891,
|
||||
"packets": 106,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ifindex": 3,
|
||||
"ifname": "e1",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"master": "br0",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:01",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 1,
|
||||
"allmulti": 1,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_slave_kind": "bridge",
|
||||
"info_slave_data": {
|
||||
"state": "forwarding",
|
||||
"priority": 32,
|
||||
"cost": 100,
|
||||
"hairpin": false,
|
||||
"guard": false,
|
||||
"root_block": false,
|
||||
"fastleave": false,
|
||||
"learning": true,
|
||||
"flood": true,
|
||||
"id": "0x8002",
|
||||
"no": "0x2",
|
||||
"designated_port": 32770,
|
||||
"designated_cost": 0,
|
||||
"bridge_id": "8000.2:0:0:0:0:0",
|
||||
"root_id": "8000.2:0:0:0:0:0",
|
||||
"hold_timer": 0,
|
||||
"message_age_timer": 0,
|
||||
"forward_delay_timer": 0,
|
||||
"topology_change_ack": 0,
|
||||
"config_pending": 0,
|
||||
"proxy_arp": false,
|
||||
"proxy_arp_wifi": false,
|
||||
"multicast_router": 1,
|
||||
"mcast_flood": true,
|
||||
"bcast_flood": true,
|
||||
"mcast_to_unicast": false,
|
||||
"neigh_suppress": false,
|
||||
"group_fwd_mask": "0",
|
||||
"group_fwd_mask_str": "0x0",
|
||||
"vlan_tunnel": false,
|
||||
"isolated": false,
|
||||
"locked": false
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "e1000",
|
||||
"parentdev": "e1000-foobar",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 1397,
|
||||
"packets": 11,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 24849,
|
||||
"packets": 130,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ifindex": 4,
|
||||
"ifname": "e2",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"master": "br1",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:02",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 1,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"linkinfo": {
|
||||
"info_slave_kind": "bridge",
|
||||
"info_slave_data": {
|
||||
"state": "forwarding",
|
||||
"priority": 32,
|
||||
"cost": 100,
|
||||
"hairpin": false,
|
||||
"guard": false,
|
||||
"root_block": false,
|
||||
"fastleave": false,
|
||||
"learning": true,
|
||||
"flood": true,
|
||||
"id": "0x8001",
|
||||
"no": "0x1",
|
||||
"designated_port": 32769,
|
||||
"designated_cost": 0,
|
||||
"bridge_id": "8000.2:0:0:0:0:2",
|
||||
"root_id": "8000.2:0:0:0:0:2",
|
||||
"hold_timer": 0.00,
|
||||
"message_age_timer": 0.00,
|
||||
"forward_delay_timer": 0.00,
|
||||
"topology_change_ack": 0,
|
||||
"config_pending": 0,
|
||||
"proxy_arp": false,
|
||||
"proxy_arp_wifi": false,
|
||||
"multicast_router": 1,
|
||||
"mcast_flood": true,
|
||||
"bcast_flood": true,
|
||||
"mcast_to_unicast": false,
|
||||
"neigh_suppress": false,
|
||||
"group_fwd_mask": "0",
|
||||
"group_fwd_mask_str": "0x0",
|
||||
"vlan_tunnel": false,
|
||||
"isolated": false,
|
||||
"locked": false
|
||||
}
|
||||
},
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio4",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 0,
|
||||
"packets": 0,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 19114,
|
||||
"packets": 81,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ifindex": 5,
|
||||
"ifname": "e3",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"operstate": "UP",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:03",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio5",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 1327,
|
||||
"packets": 10,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 15057,
|
||||
"packets": 72,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ifindex": 6,
|
||||
"ifname": "e4",
|
||||
"flags": [
|
||||
"BROADCAST",
|
||||
"MULTICAST",
|
||||
"UP",
|
||||
"LOWER_UP"
|
||||
],
|
||||
"mtu": 1500,
|
||||
"qdisc": "pfifo_fast",
|
||||
"operstate": "DOWN",
|
||||
"linkmode": "DEFAULT",
|
||||
"group": "default",
|
||||
"txqlen": 1000,
|
||||
"link_type": "ether",
|
||||
"address": "02:00:00:00:00:04",
|
||||
"broadcast": "ff:ff:ff:ff:ff:ff",
|
||||
"promiscuity": 0,
|
||||
"allmulti": 0,
|
||||
"min_mtu": 68,
|
||||
"max_mtu": 65535,
|
||||
"inet6_addr_gen_mode": "eui64",
|
||||
"num_tx_queues": 1,
|
||||
"num_rx_queues": 1,
|
||||
"gso_max_size": 65536,
|
||||
"gso_max_segs": 65535,
|
||||
"tso_max_size": 65536,
|
||||
"tso_max_segs": 65535,
|
||||
"gro_max_size": 65536,
|
||||
"parentbus": "virtio",
|
||||
"parentdev": "virtio6",
|
||||
"stats64": {
|
||||
"rx": {
|
||||
"bytes": 1327,
|
||||
"packets": 10,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"over_errors": 0,
|
||||
"multicast": 0
|
||||
},
|
||||
"tx": {
|
||||
"bytes": 19022,
|
||||
"packets": 95,
|
||||
"errors": 0,
|
||||
"dropped": 0,
|
||||
"carrier_errors": 0,
|
||||
"collisions": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user