mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 23:43:20 +02:00
now will *only* ethernet interfaces be protocol ethernet, gretap will be protocol gretap and so on.
648 lines
15 KiB
JSON
648 lines
15 KiB
JSON
{
|
|
"ietf-interfaces:interfaces": {
|
|
"interface": [
|
|
{
|
|
"type": "infix-if-type:loopback",
|
|
"name": "lo",
|
|
"if-index": 1,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "00:00:00:00:00:00",
|
|
"statistics": {
|
|
"in-octets": "38742",
|
|
"out-octets": "38742"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"address": [
|
|
{
|
|
"ip": "127.0.0.1",
|
|
"prefix-length": 8,
|
|
"origin": "static"
|
|
}
|
|
]
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 65536,
|
|
"address": [
|
|
{
|
|
"ip": "::1",
|
|
"prefix-length": 128,
|
|
"origin": "static"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:etherlike",
|
|
"name": "e1",
|
|
"if-index": 2,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "00:a0:85:00:03:01",
|
|
"statistics": {
|
|
"in-octets": "147241",
|
|
"out-octets": "2027800"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500,
|
|
"address": [
|
|
{
|
|
"ip": "fe80::2a0:85ff:fe00:301",
|
|
"prefix-length": 64,
|
|
"origin": "link-layer"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:etherlike",
|
|
"name": "e2",
|
|
"if-index": 3,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "00:a0:85:00:03:02",
|
|
"statistics": {
|
|
"in-octets": "70",
|
|
"out-octets": "43409"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500,
|
|
"address": [
|
|
{
|
|
"ip": "fe80::2a0:85ff:fe00:302",
|
|
"prefix-length": 64,
|
|
"origin": "link-layer"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:etherlike",
|
|
"name": "e3",
|
|
"if-index": 4,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "00:a0:85:00:03:03",
|
|
"statistics": {
|
|
"in-octets": "9499",
|
|
"out-octets": "87012"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500
|
|
},
|
|
"infix-interfaces:bridge-port": {
|
|
"pvid": 1,
|
|
"bridge": "br0",
|
|
"flood": {
|
|
"broadcast": true,
|
|
"unicast": true,
|
|
"multicast": true
|
|
},
|
|
"multicast": {
|
|
"fast-leave": false,
|
|
"router": "auto"
|
|
},
|
|
"stp-state": "forwarding"
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:etherlike",
|
|
"name": "e4",
|
|
"if-index": 5,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "00:a0:85:00:03:04",
|
|
"statistics": {
|
|
"in-octets": "15551",
|
|
"out-octets": "87027"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500
|
|
},
|
|
"infix-interfaces:bridge-port": {
|
|
"pvid": 1,
|
|
"bridge": "br0",
|
|
"flood": {
|
|
"broadcast": true,
|
|
"unicast": true,
|
|
"multicast": true
|
|
},
|
|
"multicast": {
|
|
"fast-leave": false,
|
|
"router": "auto"
|
|
},
|
|
"stp-state": "forwarding"
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:etherlike",
|
|
"name": "e5",
|
|
"if-index": 6,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "00:a0:85:00:03:05",
|
|
"statistics": {
|
|
"in-octets": "43803",
|
|
"out-octets": "44713"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500,
|
|
"address": [
|
|
{
|
|
"ip": "fe80::2a0:85ff:fe00:305",
|
|
"prefix-length": 64,
|
|
"origin": "link-layer"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:etherlike",
|
|
"name": "e6",
|
|
"if-index": 7,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "00:a0:85:00:03:06",
|
|
"statistics": {
|
|
"in-octets": "35346",
|
|
"out-octets": "67149"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500,
|
|
"address": [
|
|
{
|
|
"ip": "10.1.1.101",
|
|
"prefix-length": 24,
|
|
"origin": "static"
|
|
}
|
|
]
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500,
|
|
"address": [
|
|
{
|
|
"ip": "fe80::2a0:85ff:fe00:306",
|
|
"prefix-length": 64,
|
|
"origin": "link-layer"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:etherlike",
|
|
"name": "e7",
|
|
"if-index": 8,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "00:a0:85:00:03:07",
|
|
"statistics": {
|
|
"in-octets": "27446",
|
|
"out-octets": "43597"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500,
|
|
"address": [
|
|
{
|
|
"ip": "fe80::2a0:85ff:fe00:307",
|
|
"prefix-length": 64,
|
|
"origin": "link-layer"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:veth",
|
|
"name": "veth0b",
|
|
"if-index": 10,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "46:85:68:aa:a0:d1",
|
|
"statistics": {
|
|
"in-octets": "1541",
|
|
"out-octets": "25110"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500
|
|
},
|
|
"infix-interfaces:bridge-port": {
|
|
"pvid": 1,
|
|
"bridge": "br0",
|
|
"flood": {
|
|
"broadcast": true,
|
|
"unicast": true,
|
|
"multicast": true
|
|
},
|
|
"multicast": {
|
|
"fast-leave": false,
|
|
"router": "auto"
|
|
},
|
|
"stp-state": "forwarding"
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:veth",
|
|
"name": "veth2b",
|
|
"if-index": 12,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "aa:08:99:ea:03:99",
|
|
"statistics": {
|
|
"in-octets": "726",
|
|
"out-octets": "21517"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500
|
|
},
|
|
"infix-interfaces:bridge-port": {
|
|
"pvid": 1,
|
|
"bridge": "br0",
|
|
"flood": {
|
|
"broadcast": true,
|
|
"unicast": true,
|
|
"multicast": true
|
|
},
|
|
"multicast": {
|
|
"fast-leave": false,
|
|
"router": "auto"
|
|
},
|
|
"stp-state": "forwarding"
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:bridge",
|
|
"name": "br0",
|
|
"if-index": 13,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "00:a0:85:00:03:00",
|
|
"statistics": {
|
|
"in-octets": "3201",
|
|
"out-octets": "37293"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500,
|
|
"address": [
|
|
{
|
|
"ip": "169.254.1.1",
|
|
"prefix-length": 16,
|
|
"origin": "random"
|
|
}
|
|
]
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500,
|
|
"address": [
|
|
{
|
|
"ip": "fe80::2a0:85ff:fe00:300",
|
|
"prefix-length": 64,
|
|
"origin": "link-layer"
|
|
}
|
|
]
|
|
},
|
|
"infix-interfaces:bridge": {
|
|
"vlans": {
|
|
"proto": "ieee802-dot1q-types:c-vlan",
|
|
"vlan": [
|
|
{
|
|
"vid": 1,
|
|
"untagged": [
|
|
"br0",
|
|
"e3",
|
|
"e4",
|
|
"veth0b",
|
|
"veth2b"
|
|
],
|
|
"tagged": [],
|
|
"multicast": {
|
|
"snooping": true,
|
|
"querier": "off"
|
|
},
|
|
"multicast-filters": {
|
|
"multicast-filter": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"infix-interfaces:bridge-port": {
|
|
"pvid": 1
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:veth",
|
|
"name": "veth1b",
|
|
"if-index": 15,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "62:f5:af:85:38:a5",
|
|
"statistics": {
|
|
"in-octets": "726",
|
|
"out-octets": "812"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500
|
|
},
|
|
"infix-interfaces:bridge-port": {
|
|
"pvid": 6,
|
|
"bridge": "br1",
|
|
"flood": {
|
|
"broadcast": true,
|
|
"unicast": true,
|
|
"multicast": true
|
|
},
|
|
"multicast": {
|
|
"fast-leave": false,
|
|
"router": "auto"
|
|
},
|
|
"stp-state": "forwarding"
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:veth",
|
|
"name": "veth3b",
|
|
"if-index": 17,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "1a:03:f7:20:d2:5b",
|
|
"statistics": {
|
|
"in-octets": "726",
|
|
"out-octets": "512"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500
|
|
},
|
|
"infix-interfaces:bridge-port": {
|
|
"bridge": "br1",
|
|
"flood": {
|
|
"broadcast": true,
|
|
"unicast": true,
|
|
"multicast": true
|
|
},
|
|
"multicast": {
|
|
"fast-leave": false,
|
|
"router": "auto"
|
|
},
|
|
"stp-state": "forwarding"
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:bridge",
|
|
"name": "br1",
|
|
"if-index": 18,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "00:a0:85:00:03:00",
|
|
"statistics": {
|
|
"in-octets": "600"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500
|
|
},
|
|
"infix-interfaces:bridge": {
|
|
"vlans": {
|
|
"proto": "ieee802-dot1q-types:c-vlan",
|
|
"vlan": [
|
|
{
|
|
"vid": 6,
|
|
"untagged": [
|
|
"veth1b"
|
|
],
|
|
"tagged": [],
|
|
"multicast": {
|
|
"snooping": true,
|
|
"querier": "off"
|
|
},
|
|
"multicast-filters": {
|
|
"multicast-filter": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:vlan",
|
|
"name": "e3.8",
|
|
"if-index": 19,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "00:a0:85:00:03:03",
|
|
"statistics": {
|
|
"in-octets": "7733",
|
|
"out-octets": "25352"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500,
|
|
"address": [
|
|
{
|
|
"ip": "10.1.1.1",
|
|
"prefix-length": 32,
|
|
"origin": "static"
|
|
}
|
|
]
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500
|
|
},
|
|
"infix-interfaces:vlan": {
|
|
"tag-type": "ieee802-dot1q-types:c-vlan",
|
|
"id": 8,
|
|
"lower-layer-if": "e3"
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:vlan",
|
|
"name": "e4.8",
|
|
"if-index": 20,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"phys-address": "00:a0:85:00:03:04",
|
|
"statistics": {
|
|
"in-octets": "13695",
|
|
"out-octets": "25121"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500,
|
|
"address": [
|
|
{
|
|
"ip": "10.1.1.1",
|
|
"prefix-length": 32,
|
|
"origin": "static"
|
|
}
|
|
]
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500
|
|
},
|
|
"infix-interfaces:vlan": {
|
|
"tag-type": "ieee802-dot1q-types:c-vlan",
|
|
"id": 8,
|
|
"lower-layer-if": "e4"
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:veth",
|
|
"name": "veth2a",
|
|
"if-index": 11,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"description": "eth0",
|
|
"phys-address": "06:a0:85:00:03:00",
|
|
"statistics": {
|
|
"in-octets": "21517",
|
|
"out-octets": "726"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"address": [
|
|
{
|
|
"ip": "fe80::4a0:85ff:fe00:300",
|
|
"prefix-length": 64,
|
|
"origin": "link-layer"
|
|
}
|
|
]
|
|
},
|
|
"infix-interfaces:container-network": {
|
|
"containers": [
|
|
"container-B"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:veth",
|
|
"name": "veth3a",
|
|
"if-index": 16,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"description": "eth1",
|
|
"phys-address": "06:a0:85:00:03:00",
|
|
"statistics": {
|
|
"in-octets": "512",
|
|
"out-octets": "726"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"address": [
|
|
{
|
|
"ip": "fe80::4a0:85ff:fe00:300",
|
|
"prefix-length": 64,
|
|
"origin": "link-layer"
|
|
}
|
|
]
|
|
},
|
|
"infix-interfaces:container-network": {
|
|
"containers": [
|
|
"container-B"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:veth",
|
|
"name": "veth1a",
|
|
"if-index": 14,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"description": "br1",
|
|
"phys-address": "06:a0:85:00:03:00",
|
|
"statistics": {
|
|
"in-octets": "812",
|
|
"out-octets": "796"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500,
|
|
"address": [
|
|
{
|
|
"ip": "fe80::4a0:85ff:fe00:300",
|
|
"prefix-length": 64,
|
|
"origin": "link-layer"
|
|
}
|
|
]
|
|
},
|
|
"infix-interfaces:container-network": {
|
|
"containers": [
|
|
"container-A"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "infix-if-type:veth",
|
|
"name": "veth0a",
|
|
"if-index": 9,
|
|
"admin-status": "up",
|
|
"oper-status": "up",
|
|
"description": "br0",
|
|
"phys-address": "06:a0:85:00:03:00",
|
|
"statistics": {
|
|
"in-octets": "25110",
|
|
"out-octets": "1541"
|
|
},
|
|
"ietf-ip:ipv4": {
|
|
"mtu": 1500,
|
|
"address": [
|
|
{
|
|
"ip": "169.254.1.2",
|
|
"prefix-length": 16,
|
|
"origin": "other"
|
|
}
|
|
]
|
|
},
|
|
"ietf-ip:ipv6": {
|
|
"mtu": 1500,
|
|
"address": [
|
|
{
|
|
"ip": "fe80::4a0:85ff:fe00:300",
|
|
"prefix-length": 64,
|
|
"origin": "link-layer"
|
|
}
|
|
]
|
|
},
|
|
"infix-interfaces:container-network": {
|
|
"containers": [
|
|
"container-A"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|