cli-pretty: show-interfaces: Refactor protocol type

now will *only* ethernet interfaces be protocol ethernet,
gretap will be protocol gretap and so on.
This commit is contained in:
Mattias Walström
2025-01-24 10:56:58 +01:00
parent 70bcebc451
commit 3f8fae2f16
54 changed files with 904 additions and 560 deletions
+92 -15
View File
@@ -285,6 +285,7 @@ class Iface:
self.stp_state = get_json_data('', self.data, 'infix-interfaces:bridge-port', 'stp-state')
self.containers = get_json_data('', self.data, 'infix-interfaces:container-network', 'containers')
if data.get('statistics'):
self.in_octets = data.get('statistics').get('in-octets', '')
self.out_octets = data.get('statistics').get('out-octets', '')
@@ -304,8 +305,8 @@ class Iface:
else:
self.ipv6_addr = []
if self.data.get('infix-interfaces:gre'):
self.gre = self.data['infix-interfaces:gre']
self.gre = self.data.get('infix-interfaces:gre')
self.vxlan = self.data.get('infix-interfaces:vxlan')
if self.data.get('infix-interfaces:vlan'):
self.lower_if = self.data.get('infix-interfaces:vlan', None).get('lower-layer-if',None)
@@ -325,9 +326,14 @@ class Iface:
def is_veth(self):
return self.data['type'] == "infix-if-type:veth"
def is_gre(self):
return self.data['type'] == "infix-if-type:gre" or self.data['type'] == "infix-if-type:gretap"
def is_vxlan(self):
return self.data['type'] == "infix-if-type:vxlan"
def is_gre(self):
return self.data['type'] == "infix-if-type:gre"
def is_gretap(self):
return self.data['type'] == "infix-if-type:gretap"
def oper(self, detail=False):
"""Remap in brief overview to fit column widths."""
if not detail and self.oper_status == "lower-layer-down":
@@ -355,15 +361,47 @@ class Iface:
row += f"{'':<{Pad.state}}{addr['ip']}/{addr['prefix-length']} {origin}"
print(row)
def pr_proto_eth(self, pipe=''):
def _pr_proto_common(self, name, phys_address, pipe=''):
row = ""
if len(pipe) > 0:
row = f"{pipe:<{Pad.iface}}"
row += f"{'ethernet':<{Pad.proto}}"
row += f"{name:<{Pad.proto}}"
dec = Decore.green if self.oper() == "up" else Decore.red
row += dec(f"{self.oper().upper():<{Pad.state}}")
row += f"{self.phys_address:<{Pad.data}}"
if phys_address:
row += f"{self.phys_address:<{Pad.data}}"
return row
def pr_proto_eth(self, pipe=''):
row = self._pr_proto_common("ethernet", True, pipe);
print(row)
def pr_proto_veth(self, pipe=''):
row = self._pr_proto_common("veth", True, pipe);
if self.lower_if:
row = f"{'':<{Pad.iface}}"
row += f"{'veth':<{Pad.proto}}"
row += f"{'':<{Pad.state}}"
row += f"peer:{self.lower_if}"
print(row)
def pr_proto_gretap(self, pipe=''):
row = self._pr_proto_common("gretap", True, pipe);
print(row)
def pr_proto_gre(self, pipe=''):
row = self._pr_proto_common("gre", False, pipe);
print(row)
def pr_proto_vxlan(self, pipe=''):
row = self._pr_proto_common("vxlan", True, pipe);
print(row)
def pr_proto_loopack(self, pipe=''):
row = self._pr_proto_common("loopback", False, pipe);
print(row)
def pr_proto_br(self, br_vlans):
@@ -423,17 +461,33 @@ class Iface:
lower.pr_name(pipe)
lower.pr_proto_br(self.br_vlans)
def pr_loopback(self):
self.pr_name(pipe="")
self.pr_proto_loopack()
self.pr_proto_ipv4()
self.pr_proto_ipv6()
def pr_veth(self, _ifaces):
self.pr_name(pipe="")
self.pr_proto_eth()
self.pr_proto_veth()
self.pr_proto_ipv4()
self.pr_proto_ipv6()
if self.lower_if:
row = f"{'':<{Pad.iface}}"
row += f"{'veth':<{Pad.proto}}"
row += f"{'':<{Pad.state}}"
row += f"peer:{self.lower_if}"
print(row)
def pr_gre(self):
self.pr_name(pipe="")
self.pr_proto_gre()
self.pr_proto_ipv4()
self.pr_proto_ipv6()
def pr_gretap(self):
self.pr_name(pipe="")
self.pr_proto_gretap()
self.pr_proto_ipv4()
self.pr_proto_ipv6()
def pr_vxlan(self):
self.pr_name(pipe="")
self.pr_proto_vxlan()
self.pr_proto_ipv4()
self.pr_proto_ipv6()
@@ -469,7 +523,9 @@ class Iface:
print(Decore.gray_bg(f"{'owned by container':<{20}}: {', ' . join(self.containers)}"))
print(f"{'name':<{20}}: {self.name}")
print(f"{'type':<{20}}: {self.type.split(':')[1]}")
print(f"{'index':<{20}}: {self.index}")
if self.mtu:
print(f"{'mtu':<{20}}: {self.mtu}")
if self.oper():
@@ -518,6 +574,15 @@ class Iface:
else:
print(f"{'ipv6 addresses':<{20}}:")
if self.gre:
print(f"{'local address':<{20}}: {self.gre['local']}")
print(f"{'remote address':<{20}}: {self.gre['remote']}")
if self.vxlan:
print(f"{'local address':<{20}}: {self.vxlan['local']}")
print(f"{'remote address':<{20}}: {self.vxlan['remote']}")
print(f"{'VxLAN id':<{20}}: {self.vxlan['vni']}")
if self.in_octets and self.out_octets:
print(f"{'in-octets':<{20}}: {self.in_octets}")
print(f"{'out-octets':<{20}}: {self.out_octets}")
@@ -589,7 +654,7 @@ def pr_interface_list(json):
key=version_sort)
iface = find_iface(ifaces, "lo")
if iface:
print_interface(iface)
iface.pr_loopback()
for iface in [Iface(data) for data in ifaces]:
if iface.name == "lo":
@@ -607,6 +672,18 @@ def pr_interface_list(json):
iface.pr_veth(ifaces)
continue
if iface.is_gre():
iface.pr_gre()
continue
if iface.is_gretap():
iface.pr_gretap()
continue
if iface.is_vxlan():
iface.pr_vxlan()
continue
if iface.is_vlan():
iface.pr_vlan(ifaces)
continue
@@ -1,5 +1,5 @@
INTERFACE PROTOCOL STATE DATA 
lo ethernet UP 00:00:00:00:00:00
lo loopback UP 
ipv4 127.0.0.1/8 (static)
ipv6 ::1/128 (static)
br0 bridge  vlan:1u pvid:1
@@ -32,10 +32,10 @@ e6 ethernet UP 00:a0:85:00:03:06
e7 ethernet UP 00:a0:85:00:03:07
ipv6 fe80::2a0:85ff:fe00:307/64 (link-layer)
veth0a container container-A 
veth0b ethernet UP c2:61:ae:82:0a:c1
veth0b veth UP 46:85:68:aa:a0:d1
veth1a container container-A 
veth1b ethernet UP e6:c6:34:dc:b9:f4
veth1b veth UP 62:f5:af:85:38:a5
veth2a container container-B 
veth2b ethernet UP 96:8b:c6:17:74:d3
veth2b veth UP aa:08:99:ea:03:99
veth3a container container-B 
veth3b ethernet UP 0e:c3:01:d6:e6:ea
veth3b veth UP 1a:03:f7:20:d2:5b
@@ -1,12 +1,12 @@
 DESTINATION PREF NEXT-HOP PROTO UPTIME
>* 0.0.0.0/0 110/2 10.1.1.100 ospfv2 01:59:57
0.0.0.0/0 254/0 br0 static 02:00:37
10.1.1.0/24 110/1 e6 ospfv2 02:00:07
>* 10.1.1.0/24 0/0 e6 direct 02:00:51
* 10.1.1.1/32 0/0 e4.8 direct 02:00:52
>* 10.1.1.1/32 0/0 e3.8 direct 02:00:52
>* 10.1.2.0/24 110/2 10.1.1.100 ospfv2 01:59:57
>* 0.0.0.0/0 110/2 10.1.1.100 ospfv2 02:04:13
0.0.0.0/0 254/0 br0 static 02:04:52
10.1.1.0/24 110/1 e6 ospfv2 02:05:05
>* 10.1.1.0/24 0/0 e6 direct 02:05:06
* 10.1.1.1/32 0/0 e4.8 direct 02:05:07
>* 10.1.1.1/32 0/0 e3.8 direct 02:05:07
>* 10.1.2.0/24 110/2 10.1.1.100 ospfv2 02:04:13
* 10.1.2.1
>* 10.1.3.0/24 110/2 10.1.1.100 ospfv2 01:59:57
>* 10.1.3.0/24 110/2 10.1.1.100 ospfv2 02:04:13
* 10.1.3.1
>* 169.254.0.0/16 0/0 br0 direct 02:00:46
>* 169.254.0.0/16 0/0 br0 direct 02:05:01
@@ -1,7 +1,7 @@
 DESTINATION PREF NEXT-HOP PROTO UPTIME
* fe80::/64 0/0 e6 direct 02:00:50
* fe80::/64 0/0 br0 direct 02:00:50
* fe80::/64 0/0 e5 direct 03:54:57
* fe80::/64 0/0 e7 direct 03:54:57
* fe80::/64 0/0 e2 direct 03:54:57
>* fe80::/64 0/0 e1 direct 03:54:57
* fe80::/64 0/0 e6 direct 02:05:05
* fe80::/64 0/0 br0 direct 02:05:05
* fe80::/64 0/0 e7 direct 02:05:25
* fe80::/64 0/0 e5 direct 02:05:25
* fe80::/64 0/0 e2 direct 02:05:25
>* fe80::/64 0/0 e1 direct 02:05:25
+83 -78
View File
@@ -9,8 +9,8 @@
"oper-status": "up",
"phys-address": "00:00:00:00:00:00",
"statistics": {
"in-octets": "72275",
"out-octets": "72275"
"in-octets": "38742",
"out-octets": "38742"
},
"ietf-ip:ipv4": {
"address": [
@@ -40,8 +40,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:01",
"statistics": {
"in-octets": "5166282",
"out-octets": "7407399"
"in-octets": "147241",
"out-octets": "2027800"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -65,7 +65,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:02",
"statistics": {
"out-octets": "79382"
"in-octets": "70",
"out-octets": "43409"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -89,8 +90,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:03",
"statistics": {
"in-octets": "23589",
"out-octets": "208789"
"in-octets": "9499",
"out-octets": "87012"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -121,8 +122,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:04",
"statistics": {
"in-octets": "30583",
"out-octets": "206341"
"in-octets": "15551",
"out-octets": "87027"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -153,8 +154,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:05",
"statistics": {
"in-octets": "66626",
"out-octets": "83465"
"in-octets": "43803",
"out-octets": "44713"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -178,8 +179,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:06",
"statistics": {
"in-octets": "134367",
"out-octets": "184122"
"in-octets": "35346",
"out-octets": "67149"
},
"ietf-ip:ipv4": {
"mtu": 1500,
@@ -210,8 +211,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:07",
"statistics": {
"in-octets": "70368",
"out-octets": "86243"
"in-octets": "27446",
"out-octets": "43597"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -230,13 +231,13 @@
{
"type": "infix-if-type:veth",
"name": "veth0b",
"if-index": 22,
"if-index": 10,
"admin-status": "up",
"oper-status": "up",
"phys-address": "c2:61:ae:82:0a:c1",
"phys-address": "46:85:68:aa:a0:d1",
"statistics": {
"in-octets": "1583",
"out-octets": "28383"
"in-octets": "1541",
"out-octets": "25110"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -262,13 +263,13 @@
{
"type": "infix-if-type:veth",
"name": "veth2b",
"if-index": 24,
"if-index": 12,
"admin-status": "up",
"oper-status": "up",
"phys-address": "96:8b:c6:17:74:d3",
"phys-address": "aa:08:99:ea:03:99",
"statistics": {
"in-octets": "796",
"out-octets": "28028"
"in-octets": "726",
"out-octets": "21517"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -294,13 +295,13 @@
{
"type": "infix-if-type:bridge",
"name": "br0",
"if-index": 25,
"if-index": 13,
"admin-status": "up",
"oper-status": "up",
"phys-address": "00:a0:85:00:03:00",
"statistics": {
"in-octets": "3285",
"out-octets": "28281"
"in-octets": "3201",
"out-octets": "37293"
},
"ietf-ip:ipv4": {
"mtu": 1500,
@@ -354,12 +355,13 @@
{
"type": "infix-if-type:veth",
"name": "veth1b",
"if-index": 27,
"if-index": 15,
"admin-status": "up",
"oper-status": "up",
"phys-address": "e6:c6:34:dc:b9:f4",
"phys-address": "62:f5:af:85:38:a5",
"statistics": {
"in-octets": "796"
"in-octets": "726",
"out-octets": "812"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -385,12 +387,13 @@
{
"type": "infix-if-type:veth",
"name": "veth3b",
"if-index": 29,
"if-index": 17,
"admin-status": "up",
"oper-status": "up",
"phys-address": "0e:c3:01:d6:e6:ea",
"phys-address": "1a:03:f7:20:d2:5b",
"statistics": {
"in-octets": "796"
"in-octets": "726",
"out-octets": "512"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -415,12 +418,12 @@
{
"type": "infix-if-type:bridge",
"name": "br1",
"if-index": 30,
"if-index": 18,
"admin-status": "up",
"oper-status": "up",
"phys-address": "00:a0:85:00:03:00",
"statistics": {
"in-octets": "656"
"in-octets": "600"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -453,13 +456,13 @@
{
"type": "infix-if-type:vlan",
"name": "e3.8",
"if-index": 31,
"if-index": 19,
"admin-status": "up",
"oper-status": "up",
"phys-address": "00:a0:85:00:03:03",
"statistics": {
"in-octets": "5005",
"out-octets": "16009"
"in-octets": "7733",
"out-octets": "25352"
},
"ietf-ip:ipv4": {
"mtu": 1500,
@@ -483,13 +486,13 @@
{
"type": "infix-if-type:vlan",
"name": "e4.8",
"if-index": 32,
"if-index": 20,
"admin-status": "up",
"oper-status": "up",
"phys-address": "00:a0:85:00:03:04",
"statistics": {
"in-octets": "15080",
"out-octets": "15546"
"in-octets": "13695",
"out-octets": "25121"
},
"ietf-ip:ipv4": {
"mtu": 1500,
@@ -513,14 +516,14 @@
{
"type": "infix-if-type:veth",
"name": "veth2a",
"if-index": 23,
"if-index": 11,
"admin-status": "up",
"oper-status": "up",
"description": "eth0",
"phys-address": "06:a0:85:00:03:00",
"statistics": {
"in-octets": "28028",
"out-octets": "796"
"in-octets": "21517",
"out-octets": "726"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -543,13 +546,14 @@
{
"type": "infix-if-type:veth",
"name": "veth3a",
"if-index": 28,
"if-index": 16,
"admin-status": "up",
"oper-status": "up",
"description": "eth1",
"phys-address": "06:a0:85:00:03:00",
"statistics": {
"out-octets": "796"
"in-octets": "512",
"out-octets": "726"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -569,17 +573,48 @@
]
}
},
{
"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": 21,
"if-index": 9,
"admin-status": "up",
"oper-status": "up",
"description": "br0",
"phys-address": "06:a0:85:00:03:00",
"statistics": {
"in-octets": "28425",
"out-octets": "1625"
"in-octets": "25110",
"out-octets": "1541"
},
"ietf-ip:ipv4": {
"mtu": 1500,
@@ -606,36 +641,6 @@
"container-A"
]
}
},
{
"type": "infix-if-type:veth",
"name": "veth1a",
"if-index": 26,
"admin-status": "up",
"oper-status": "up",
"description": "br1",
"phys-address": "06:a0:85:00:03:00",
"statistics": {
"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"
]
}
}
]
}
+3 -3
View File
@@ -18,7 +18,7 @@
{
"neighbor-router-id": "10.1.2.1",
"address": "10.1.2.1",
"dead-timer": 25130,
"dead-timer": 23299,
"state": "full"
}
]
@@ -35,7 +35,7 @@
{
"neighbor-router-id": "10.1.3.1",
"address": "10.1.3.1",
"dead-timer": 25210,
"dead-timer": 22827,
"state": "full"
}
]
@@ -52,7 +52,7 @@
{
"neighbor-router-id": "192.168.100.1",
"address": "10.1.1.100",
"dead-timer": 34600,
"dead-timer": 39999,
"state": "full",
"dr-router-id": "192.168.100.1",
"bdr-router-id": "10.1.1.1"
+32 -32
View File
@@ -15,7 +15,7 @@
"active": [
null
],
"last-updated": "2025-01-20T10:00:03+00:00",
"last-updated": "2025-01-24T09:55:47+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -33,7 +33,7 @@
"ietf-ipv4-unicast-routing:destination-prefix": "0.0.0.0/0",
"source-protocol": "static",
"route-preference": 254,
"last-updated": "2025-01-20T09:59:23+00:00",
"last-updated": "2025-01-24T09:55:08+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -49,7 +49,7 @@
"source-protocol": "ietf-ospf:ospfv2",
"route-preference": 110,
"ietf-ospf:metric": 1,
"last-updated": "2025-01-20T09:59:53+00:00",
"last-updated": "2025-01-24T09:54:55+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -67,7 +67,7 @@
"active": [
null
],
"last-updated": "2025-01-20T09:59:09+00:00",
"last-updated": "2025-01-24T09:54:54+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -85,7 +85,7 @@
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.1.1/32",
"source-protocol": "direct",
"route-preference": 0,
"last-updated": "2025-01-20T09:59:08+00:00",
"last-updated": "2025-01-24T09:54:53+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -106,7 +106,7 @@
"active": [
null
],
"last-updated": "2025-01-20T09:59:08+00:00",
"last-updated": "2025-01-24T09:54:53+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -128,7 +128,7 @@
"active": [
null
],
"last-updated": "2025-01-20T10:00:03+00:00",
"last-updated": "2025-01-24T09:55:47+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -156,7 +156,7 @@
"active": [
null
],
"last-updated": "2025-01-20T10:00:03+00:00",
"last-updated": "2025-01-24T09:55:47+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -183,7 +183,7 @@
"active": [
null
],
"last-updated": "2025-01-20T09:59:14+00:00",
"last-updated": "2025-01-24T09:54:59+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -209,7 +209,7 @@
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"source-protocol": "direct",
"route-preference": 0,
"last-updated": "2025-01-20T09:59:10+00:00",
"last-updated": "2025-01-24T09:54:55+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -227,7 +227,7 @@
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"source-protocol": "direct",
"route-preference": 0,
"last-updated": "2025-01-20T09:59:10+00:00",
"last-updated": "2025-01-24T09:54:55+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -245,25 +245,7 @@
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"source-protocol": "direct",
"route-preference": 0,
"last-updated": "2025-01-20T08:05:03+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "e5",
"infix-routing:installed": [
null
]
}
]
}
}
},
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"source-protocol": "direct",
"route-preference": 0,
"last-updated": "2025-01-20T08:05:03+00:00",
"last-updated": "2025-01-24T09:54:35+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -281,7 +263,25 @@
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"source-protocol": "direct",
"route-preference": 0,
"last-updated": "2025-01-20T08:05:03+00:00",
"last-updated": "2025-01-24T09:54:35+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"outgoing-interface": "e5",
"infix-routing:installed": [
null
]
}
]
}
}
},
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"source-protocol": "direct",
"route-preference": 0,
"last-updated": "2025-01-24T09:54:35+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -302,7 +302,7 @@
"active": [
null
],
"last-updated": "2025-01-20T08:05:03+00:00",
"last-updated": "2025-01-24T09:54:35+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -3,11 +3,11 @@
"container": [
{
"name": "container-B",
"id": "0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3",
"id": "54f467f95bae15a0891acb1efbdf416232c49ea46bb60e796da187d320a746fc",
"image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
"image-id": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
"running": true,
"status": "Up About a minute",
"status": "Up 59 seconds",
"command": "/usr/sbin/httpd -f -v",
"network": {
"interface": [
@@ -21,39 +21,39 @@
"publish": []
}
},
{
"name": "firewall",
"id": "3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8",
"image": "localhost/curios-nftables-oci-amd64-v24.11.0:latest",
"image-id": "7a3cc502436250357a6664100a600f306334b4d7203890b85b7ea9b8da6b5665",
"running": true,
"status": "Up About a minute",
"command": "/usr/sbin/nft-helper /etc/nftables.conf",
"network": {
"host": true
}
},
{
"name": "container-A",
"id": "93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e",
"id": "d3a542dc43f4d6ca7a9e2cff254126f337e41bb5f1e10f6613272d31ec8d5e79",
"image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
"image-id": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
"running": true,
"status": "Up About a minute",
"status": "Up 59 seconds",
"command": "/usr/sbin/httpd -f -v -p 91",
"network": {
"interface": [
{
"name": "veth0a"
"name": "veth1a"
},
{
"name": "veth1a"
"name": "veth0a"
}
],
"publish": [
"36971->91/tcp"
"35121->91/tcp"
]
}
},
{
"name": "firewall",
"id": "7ae41768fb053a16b25ee3596a80bad0cf2422dada9ac862d24af744c8ad0e6e",
"image": "localhost/curios-nftables-oci-amd64-v24.11.0:latest",
"image-id": "7a3cc502436250357a6664100a600f306334b4d7203890b85b7ea9b8da6b5665",
"running": true,
"status": "Up 59 seconds",
"command": "/usr/sbin/nft-helper /etc/nftables.conf",
"network": {
"host": true
}
}
]
}
+143 -138
View File
@@ -27,8 +27,8 @@
"oper-status": "up",
"phys-address": "00:00:00:00:00:00",
"statistics": {
"in-octets": "72275",
"out-octets": "72275"
"in-octets": "38742",
"out-octets": "38742"
},
"type": "infix-if-type:loopback"
},
@@ -52,8 +52,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:01",
"statistics": {
"in-octets": "5166282",
"out-octets": "7407399"
"in-octets": "147241",
"out-octets": "2027800"
},
"type": "infix-if-type:etherlike"
},
@@ -77,7 +77,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:02",
"statistics": {
"out-octets": "79382"
"in-octets": "70",
"out-octets": "43409"
},
"type": "infix-if-type:etherlike"
},
@@ -108,8 +109,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:03",
"statistics": {
"in-octets": "23589",
"out-octets": "208789"
"in-octets": "9499",
"out-octets": "87012"
},
"type": "infix-if-type:etherlike"
},
@@ -140,8 +141,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:04",
"statistics": {
"in-octets": "30583",
"out-octets": "206341"
"in-octets": "15551",
"out-octets": "87027"
},
"type": "infix-if-type:etherlike"
},
@@ -165,8 +166,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:05",
"statistics": {
"in-octets": "66626",
"out-octets": "83465"
"in-octets": "43803",
"out-octets": "44713"
},
"type": "infix-if-type:etherlike"
},
@@ -197,8 +198,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:06",
"statistics": {
"in-octets": "134367",
"out-octets": "184122"
"in-octets": "35346",
"out-octets": "67149"
},
"type": "infix-if-type:etherlike"
},
@@ -222,8 +223,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:07",
"statistics": {
"in-octets": "70368",
"out-octets": "86243"
"in-octets": "27446",
"out-octets": "43597"
},
"type": "infix-if-type:etherlike"
},
@@ -235,7 +236,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 22,
"if-index": 10,
"infix-interfaces:bridge-port": {
"bridge": "br0",
"flood": {
@@ -252,10 +253,10 @@
},
"name": "veth0b",
"oper-status": "up",
"phys-address": "c2:61:ae:82:0a:c1",
"phys-address": "46:85:68:aa:a0:d1",
"statistics": {
"in-octets": "1583",
"out-octets": "28383"
"in-octets": "1541",
"out-octets": "25110"
},
"type": "infix-if-type:veth"
},
@@ -267,7 +268,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 24,
"if-index": 12,
"infix-interfaces:bridge-port": {
"bridge": "br0",
"flood": {
@@ -284,10 +285,10 @@
},
"name": "veth2b",
"oper-status": "up",
"phys-address": "96:8b:c6:17:74:d3",
"phys-address": "aa:08:99:ea:03:99",
"statistics": {
"in-octets": "796",
"out-octets": "28028"
"in-octets": "726",
"out-octets": "21517"
},
"type": "infix-if-type:veth"
},
@@ -313,7 +314,7 @@
],
"mtu": 1500
},
"if-index": 25,
"if-index": 13,
"infix-interfaces:bridge": {
"vlans": {
"proto": "ieee802-dot1q-types:c-vlan",
@@ -346,8 +347,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:00",
"statistics": {
"in-octets": "3285",
"out-octets": "28281"
"in-octets": "3201",
"out-octets": "37293"
},
"type": "infix-if-type:bridge"
},
@@ -359,7 +360,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 27,
"if-index": 15,
"infix-interfaces:bridge-port": {
"bridge": "br1",
"flood": {
@@ -376,9 +377,10 @@
},
"name": "veth1b",
"oper-status": "up",
"phys-address": "e6:c6:34:dc:b9:f4",
"phys-address": "62:f5:af:85:38:a5",
"statistics": {
"in-octets": "796"
"in-octets": "726",
"out-octets": "812"
},
"type": "infix-if-type:veth"
},
@@ -390,7 +392,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 29,
"if-index": 17,
"infix-interfaces:bridge-port": {
"bridge": "br1",
"flood": {
@@ -406,9 +408,10 @@
},
"name": "veth3b",
"oper-status": "up",
"phys-address": "0e:c3:01:d6:e6:ea",
"phys-address": "1a:03:f7:20:d2:5b",
"statistics": {
"in-octets": "796"
"in-octets": "726",
"out-octets": "512"
},
"type": "infix-if-type:veth"
},
@@ -420,7 +423,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 30,
"if-index": 18,
"infix-interfaces:bridge": {
"vlans": {
"proto": "ieee802-dot1q-types:c-vlan",
@@ -446,7 +449,7 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:00",
"statistics": {
"in-octets": "656"
"in-octets": "600"
},
"type": "infix-if-type:bridge"
},
@@ -465,7 +468,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 31,
"if-index": 19,
"infix-interfaces:vlan": {
"id": 8,
"lower-layer-if": "e3",
@@ -475,8 +478,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:03",
"statistics": {
"in-octets": "5005",
"out-octets": "16009"
"in-octets": "7733",
"out-octets": "25352"
},
"type": "infix-if-type:vlan"
},
@@ -495,7 +498,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 32,
"if-index": 20,
"infix-interfaces:vlan": {
"id": 8,
"lower-layer-if": "e4",
@@ -505,8 +508,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:04",
"statistics": {
"in-octets": "15080",
"out-octets": "15546"
"in-octets": "13695",
"out-octets": "25121"
},
"type": "infix-if-type:vlan"
},
@@ -525,7 +528,7 @@
}
]
},
"if-index": 23,
"if-index": 11,
"infix-interfaces:container-network": {
"containers": [
"container-B"
@@ -535,8 +538,8 @@
"oper-status": "up",
"phys-address": "06:a0:85:00:03:00",
"statistics": {
"in-octets": "28028",
"out-octets": "796"
"in-octets": "21517",
"out-octets": "726"
},
"type": "infix-if-type:veth"
},
@@ -555,7 +558,7 @@
}
]
},
"if-index": 28,
"if-index": 16,
"infix-interfaces:container-network": {
"containers": [
"container-B"
@@ -565,6 +568,38 @@
"oper-status": "up",
"phys-address": "06:a0:85:00:03:00",
"statistics": {
"in-octets": "512",
"out-octets": "726"
},
"type": "infix-if-type:veth"
},
{
"admin-status": "up",
"description": "br1",
"ietf-ip:ipv4": {
"mtu": 1500
},
"ietf-ip:ipv6": {
"address": [
{
"ip": "fe80::4a0:85ff:fe00:300",
"origin": "link-layer",
"prefix-length": 64
}
],
"mtu": 1500
},
"if-index": 14,
"infix-interfaces:container-network": {
"containers": [
"container-A"
]
},
"name": "veth1a",
"oper-status": "up",
"phys-address": "06:a0:85:00:03:00",
"statistics": {
"in-octets": "812",
"out-octets": "796"
},
"type": "infix-if-type:veth"
@@ -592,7 +627,7 @@
],
"mtu": 1500
},
"if-index": 21,
"if-index": 9,
"infix-interfaces:container-network": {
"containers": [
"container-A"
@@ -602,38 +637,8 @@
"oper-status": "up",
"phys-address": "06:a0:85:00:03:00",
"statistics": {
"in-octets": "28425",
"out-octets": "1625"
},
"type": "infix-if-type:veth"
},
{
"admin-status": "up",
"description": "br1",
"ietf-ip:ipv4": {
"mtu": 1500
},
"ietf-ip:ipv6": {
"address": [
{
"ip": "fe80::4a0:85ff:fe00:300",
"origin": "link-layer",
"prefix-length": 64
}
],
"mtu": 1500
},
"if-index": 26,
"infix-interfaces:container-network": {
"containers": [
"container-A"
]
},
"name": "veth1a",
"oper-status": "up",
"phys-address": "06:a0:85:00:03:00",
"statistics": {
"out-octets": "796"
"in-octets": "25110",
"out-octets": "1541"
},
"type": "infix-if-type:veth"
}
@@ -658,7 +663,7 @@
"ietf-ospf:neighbor": [
{
"address": "10.1.2.1",
"dead-timer": 25130,
"dead-timer": 23299,
"neighbor-router-id": "10.1.2.1",
"state": "full"
}
@@ -675,7 +680,7 @@
"ietf-ospf:neighbor": [
{
"address": "10.1.3.1",
"dead-timer": 25210,
"dead-timer": 22827,
"neighbor-router-id": "10.1.3.1",
"state": "full"
}
@@ -697,7 +702,7 @@
{
"address": "10.1.1.100",
"bdr-router-id": "10.1.1.1",
"dead-timer": 34600,
"dead-timer": 39999,
"dr-router-id": "192.168.100.1",
"neighbor-router-id": "192.168.100.1",
"state": "full"
@@ -788,7 +793,7 @@
],
"ietf-ipv4-unicast-routing:destination-prefix": "0.0.0.0/0",
"ietf-ospf:metric": 2,
"last-updated": "2025-01-20T10:00:03+00:00",
"last-updated": "2025-01-24T09:55:47+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -806,7 +811,7 @@
},
{
"ietf-ipv4-unicast-routing:destination-prefix": "0.0.0.0/0",
"last-updated": "2025-01-20T09:59:23+00:00",
"last-updated": "2025-01-24T09:55:08+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -822,7 +827,7 @@
{
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.1.0/24",
"ietf-ospf:metric": 1,
"last-updated": "2025-01-20T09:59:53+00:00",
"last-updated": "2025-01-24T09:54:55+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -840,7 +845,7 @@
null
],
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.1.0/24",
"last-updated": "2025-01-20T09:59:09+00:00",
"last-updated": "2025-01-24T09:54:54+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -858,7 +863,7 @@
},
{
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.1.1/32",
"last-updated": "2025-01-20T09:59:08+00:00",
"last-updated": "2025-01-24T09:54:53+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -879,7 +884,7 @@
null
],
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.1.1/32",
"last-updated": "2025-01-20T09:59:08+00:00",
"last-updated": "2025-01-24T09:54:53+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -901,7 +906,7 @@
],
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.2.0/24",
"ietf-ospf:metric": 2,
"last-updated": "2025-01-20T10:00:03+00:00",
"last-updated": "2025-01-24T09:55:47+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -929,7 +934,7 @@
],
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.3.0/24",
"ietf-ospf:metric": 2,
"last-updated": "2025-01-20T10:00:03+00:00",
"last-updated": "2025-01-24T09:55:47+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -956,7 +961,7 @@
null
],
"ietf-ipv4-unicast-routing:destination-prefix": "169.254.0.0/16",
"last-updated": "2025-01-20T09:59:14+00:00",
"last-updated": "2025-01-24T09:54:59+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -982,7 +987,7 @@
"route": [
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"last-updated": "2025-01-20T09:59:10+00:00",
"last-updated": "2025-01-24T09:54:55+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -1000,7 +1005,7 @@
},
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"last-updated": "2025-01-20T09:59:10+00:00",
"last-updated": "2025-01-24T09:54:55+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -1018,25 +1023,7 @@
},
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"last-updated": "2025-01-20T08:05:03+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"infix-routing:installed": [
null
],
"outgoing-interface": "e5"
}
]
}
},
"route-preference": 0,
"source-protocol": "direct"
},
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"last-updated": "2025-01-20T08:05:03+00:00",
"last-updated": "2025-01-24T09:54:35+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -1054,7 +1041,25 @@
},
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"last-updated": "2025-01-20T08:05:03+00:00",
"last-updated": "2025-01-24T09:54:35+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
{
"infix-routing:installed": [
null
],
"outgoing-interface": "e5"
}
]
}
},
"route-preference": 0,
"source-protocol": "direct"
},
{
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"last-updated": "2025-01-24T09:54:35+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -1075,7 +1080,7 @@
null
],
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
"last-updated": "2025-01-20T08:05:03+00:00",
"last-updated": "2025-01-24T09:54:35+00:00",
"next-hop": {
"next-hop-list": {
"next-hop": [
@@ -1101,7 +1106,7 @@
"container": [
{
"command": "/usr/sbin/httpd -f -v",
"id": "0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3",
"id": "54f467f95bae15a0891acb1efbdf416232c49ea46bb60e796da187d320a746fc",
"image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
"image-id": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
"name": "container-B",
@@ -1117,11 +1122,33 @@
"publish": []
},
"running": true,
"status": "Up About a minute"
"status": "Up 59 seconds"
},
{
"command": "/usr/sbin/httpd -f -v -p 91",
"id": "d3a542dc43f4d6ca7a9e2cff254126f337e41bb5f1e10f6613272d31ec8d5e79",
"image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
"image-id": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
"name": "container-A",
"network": {
"interface": [
{
"name": "veth1a"
},
{
"name": "veth0a"
}
],
"publish": [
"35121->91/tcp"
]
},
"running": true,
"status": "Up 59 seconds"
},
{
"command": "/usr/sbin/nft-helper /etc/nftables.conf",
"id": "3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8",
"id": "7ae41768fb053a16b25ee3596a80bad0cf2422dada9ac862d24af744c8ad0e6e",
"image": "localhost/curios-nftables-oci-amd64-v24.11.0:latest",
"image-id": "7a3cc502436250357a6664100a600f306334b4d7203890b85b7ea9b8da6b5665",
"name": "firewall",
@@ -1129,29 +1156,7 @@
"host": true
},
"running": true,
"status": "Up About a minute"
},
{
"command": "/usr/sbin/httpd -f -v -p 91",
"id": "93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e",
"image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
"image-id": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
"name": "container-A",
"network": {
"interface": [
{
"name": "veth0a"
},
{
"name": "veth1a"
}
],
"publish": [
"36971->91/tcp"
]
},
"running": true,
"status": "Up About a minute"
"status": "Up 59 seconds"
}
]
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
[{"name":"netns-3ea40bc1-9daa-902c-71e0-81b6d69cd910","id":0},{"name":"netns-769ed047-f7d6-211b-728b-46c24d727874","id":1}]
[{"name":"netns-ce78a6f5-04dd-6854-9574-c9ab03166846","id":0},{"name":"netns-539c0d36-21c9-3fc1-802f-3f997402e299","id":1}]
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
[{"ifindex":23,"link_index":24,"ifname":"eth0","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"addr_info":[{"family":"inet6","local":"fe80::4a0:85ff:fe00:300","prefixlen":64,"scope":"link","protocol":"kernel_ll","valid_life_time":4294967295,"preferred_life_time":4294967295}]}]
[{"ifindex":11,"link_index":12,"ifname":"eth0","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"addr_info":[{"family":"inet6","local":"fe80::4a0:85ff:fe00:300","prefixlen":64,"scope":"link","protocol":"kernel_ll","valid_life_time":4294967295,"preferred_life_time":4294967295}]}]
@@ -1 +1 @@
[{"ifindex":28,"link_index":29,"ifname":"eth1","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"addr_info":[{"family":"inet6","local":"fe80::4a0:85ff:fe00:300","prefixlen":64,"scope":"link","protocol":"kernel_ll","valid_life_time":4294967295,"preferred_life_time":4294967295}]}]
[{"ifindex":16,"link_index":17,"ifname":"eth1","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"addr_info":[{"family":"inet6","local":"fe80::4a0:85ff:fe00:300","prefixlen":64,"scope":"link","protocol":"kernel_ll","valid_life_time":4294967295,"preferred_life_time":4294967295}]}]
@@ -1 +1 @@
[{"ifindex":1,"ifname":"lo","flags":["LOOPBACK","UP","LOWER_UP"],"mtu":65536,"qdisc":"noqueue","operstate":"UNKNOWN","linkmode":"DEFAULT","group":"default","txqlen":1000,"link_type":"loopback","address":"00:00:00:00:00:00","broadcast":"00:00:00:00:00:00","promiscuity":0,"allmulti":0,"min_mtu":0,"max_mtu":0,"inet6_addr_gen_mode":"eui64","num_tx_queues":1,"num_rx_queues":1,"gso_max_size":65536,"gso_max_segs":65535,"tso_max_size":524280,"tso_max_segs":65535,"gro_max_size":65536,"gso_ipv4_max_size":65536,"gro_ipv4_max_size":65536,"stats64":{"rx":{"bytes":28,"packets":1,"errors":0,"dropped":0,"over_errors":0,"multicast":0},"tx":{"bytes":28,"packets":1,"errors":0,"dropped":0,"carrier_errors":0,"collisions":0}}},{"ifindex":23,"link_index":24,"ifname":"eth0","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","linkmode":"DEFAULT","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"promiscuity":0,"allmulti":0,"min_mtu":68,"max_mtu":65535,"linkinfo":{"info_kind":"veth"},"inet6_addr_gen_mode":"eui64","num_tx_queues":1,"num_rx_queues":1,"gso_max_size":65536,"gso_max_segs":65535,"tso_max_size":524280,"tso_max_segs":65535,"gro_max_size":65536,"gso_ipv4_max_size":65536,"gro_ipv4_max_size":65536,"ifalias":"veth2a","stats64":{"rx":{"bytes":28028,"packets":123,"errors":0,"dropped":0,"over_errors":0,"multicast":0},"tx":{"bytes":796,"packets":10,"errors":0,"dropped":0,"carrier_errors":0,"collisions":0}}},{"ifindex":28,"link_index":29,"ifname":"eth1","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","linkmode":"DEFAULT","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"promiscuity":0,"allmulti":0,"min_mtu":68,"max_mtu":65535,"linkinfo":{"info_kind":"veth"},"inet6_addr_gen_mode":"eui64","num_tx_queues":1,"num_rx_queues":1,"gso_max_size":65536,"gso_max_segs":65535,"tso_max_size":524280,"tso_max_segs":65535,"gro_max_size":65536,"gso_ipv4_max_size":65536,"gro_ipv4_max_size":65536,"ifalias":"veth3a","stats64":{"rx":{"bytes":0,"packets":0,"errors":0,"dropped":0,"over_errors":0,"multicast":0},"tx":{"bytes":796,"packets":10,"errors":0,"dropped":0,"carrier_errors":0,"collisions":0}}}]
[{"ifindex":1,"ifname":"lo","flags":["LOOPBACK","UP","LOWER_UP"],"mtu":65536,"qdisc":"noqueue","operstate":"UNKNOWN","linkmode":"DEFAULT","group":"default","txqlen":1000,"link_type":"loopback","address":"00:00:00:00:00:00","broadcast":"00:00:00:00:00:00","promiscuity":0,"allmulti":0,"min_mtu":0,"max_mtu":0,"inet6_addr_gen_mode":"eui64","num_tx_queues":1,"num_rx_queues":1,"gso_max_size":65536,"gso_max_segs":65535,"tso_max_size":524280,"tso_max_segs":65535,"gro_max_size":65536,"gso_ipv4_max_size":65536,"gro_ipv4_max_size":65536,"stats64":{"rx":{"bytes":28,"packets":1,"errors":0,"dropped":0,"over_errors":0,"multicast":0},"tx":{"bytes":28,"packets":1,"errors":0,"dropped":0,"carrier_errors":0,"collisions":0}}},{"ifindex":11,"link_index":12,"ifname":"eth0","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","linkmode":"DEFAULT","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"promiscuity":0,"allmulti":0,"min_mtu":68,"max_mtu":65535,"linkinfo":{"info_kind":"veth"},"inet6_addr_gen_mode":"eui64","num_tx_queues":1,"num_rx_queues":1,"gso_max_size":65536,"gso_max_segs":65535,"tso_max_size":524280,"tso_max_segs":65535,"gro_max_size":65536,"gso_ipv4_max_size":65536,"gro_ipv4_max_size":65536,"ifalias":"veth2a","stats64":{"rx":{"bytes":21517,"packets":66,"errors":0,"dropped":2,"over_errors":0,"multicast":0},"tx":{"bytes":726,"packets":9,"errors":0,"dropped":0,"carrier_errors":0,"collisions":0}}},{"ifindex":16,"link_index":17,"ifname":"eth1","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","linkmode":"DEFAULT","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"promiscuity":0,"allmulti":0,"min_mtu":68,"max_mtu":65535,"linkinfo":{"info_kind":"veth"},"inet6_addr_gen_mode":"eui64","num_tx_queues":1,"num_rx_queues":1,"gso_max_size":65536,"gso_max_segs":65535,"tso_max_size":524280,"tso_max_segs":65535,"gro_max_size":65536,"gso_ipv4_max_size":65536,"gro_ipv4_max_size":65536,"ifalias":"veth3a","stats64":{"rx":{"bytes":512,"packets":2,"errors":0,"dropped":2,"over_errors":0,"multicast":0},"tx":{"bytes":726,"packets":9,"errors":0,"dropped":0,"carrier_errors":0,"collisions":0}}}]
@@ -1 +0,0 @@
[{"ifindex":21,"link_index":22,"ifname":"br0","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"addr_info":[{"family":"inet","local":"169.254.1.2","prefixlen":16,"broadcast":"169.254.255.255","scope":"global","label":"br0","valid_life_time":4294967295,"preferred_life_time":4294967295},{"family":"inet6","local":"fe80::4a0:85ff:fe00:300","prefixlen":64,"scope":"link","dadfailed":true,"tentative":true,"protocol":"kernel_ll","valid_life_time":4294967295,"preferred_life_time":4294967295}]}]
@@ -1 +0,0 @@
[{"ifindex":1,"ifname":"lo","flags":["LOOPBACK","UP","LOWER_UP"],"mtu":65536,"qdisc":"noqueue","operstate":"UNKNOWN","linkmode":"DEFAULT","group":"default","txqlen":1000,"link_type":"loopback","address":"00:00:00:00:00:00","broadcast":"00:00:00:00:00:00","promiscuity":0,"allmulti":0,"min_mtu":0,"max_mtu":0,"inet6_addr_gen_mode":"eui64","num_tx_queues":1,"num_rx_queues":1,"gso_max_size":65536,"gso_max_segs":65535,"tso_max_size":524280,"tso_max_segs":65535,"gro_max_size":65536,"gso_ipv4_max_size":65536,"gro_ipv4_max_size":65536,"stats64":{"rx":{"bytes":28,"packets":1,"errors":0,"dropped":0,"over_errors":0,"multicast":0},"tx":{"bytes":28,"packets":1,"errors":0,"dropped":0,"carrier_errors":0,"collisions":0}}},{"ifindex":21,"link_index":22,"ifname":"br0","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","linkmode":"DEFAULT","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"promiscuity":0,"allmulti":0,"min_mtu":68,"max_mtu":65535,"linkinfo":{"info_kind":"veth"},"inet6_addr_gen_mode":"eui64","num_tx_queues":1,"num_rx_queues":1,"gso_max_size":65536,"gso_max_segs":65535,"tso_max_size":524280,"tso_max_segs":65535,"gro_max_size":65536,"gso_ipv4_max_size":65536,"gro_ipv4_max_size":65536,"ifalias":"veth0a","stats64":{"rx":{"bytes":28425,"packets":124,"errors":0,"dropped":0,"over_errors":0,"multicast":0},"tx":{"bytes":1625,"packets":20,"errors":0,"dropped":0,"carrier_errors":0,"collisions":0}}},{"ifindex":26,"link_index":27,"ifname":"br1","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","linkmode":"DEFAULT","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"promiscuity":0,"allmulti":0,"min_mtu":68,"max_mtu":65535,"linkinfo":{"info_kind":"veth"},"inet6_addr_gen_mode":"eui64","num_tx_queues":1,"num_rx_queues":1,"gso_max_size":65536,"gso_max_segs":65535,"tso_max_size":524280,"tso_max_segs":65535,"gro_max_size":65536,"gso_ipv4_max_size":65536,"gro_ipv4_max_size":65536,"ifalias":"veth1a","stats64":{"rx":{"bytes":0,"packets":0,"errors":0,"dropped":0,"over_errors":0,"multicast":0},"tx":{"bytes":796,"packets":10,"errors":0,"dropped":0,"carrier_errors":0,"collisions":0}}}]
@@ -0,0 +1 @@
[{"ifindex":9,"link_index":10,"ifname":"br0","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"addr_info":[{"family":"inet","local":"169.254.1.2","prefixlen":16,"broadcast":"169.254.255.255","scope":"global","label":"br0","valid_life_time":4294967295,"preferred_life_time":4294967295},{"family":"inet6","local":"fe80::4a0:85ff:fe00:300","prefixlen":64,"scope":"link","dadfailed":true,"tentative":true,"protocol":"kernel_ll","valid_life_time":4294967295,"preferred_life_time":4294967295}]}]
@@ -1 +1 @@
[{"ifindex":26,"link_index":27,"ifname":"br1","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"addr_info":[{"family":"inet6","local":"fe80::4a0:85ff:fe00:300","prefixlen":64,"scope":"link","protocol":"kernel_ll","valid_life_time":4294967295,"preferred_life_time":4294967295}]}]
[{"ifindex":14,"link_index":15,"ifname":"br1","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"addr_info":[{"family":"inet6","local":"fe80::4a0:85ff:fe00:300","prefixlen":64,"scope":"link","protocol":"kernel_ll","valid_life_time":4294967295,"preferred_life_time":4294967295}]}]
@@ -0,0 +1 @@
[{"ifindex":1,"ifname":"lo","flags":["LOOPBACK","UP","LOWER_UP"],"mtu":65536,"qdisc":"noqueue","operstate":"UNKNOWN","linkmode":"DEFAULT","group":"default","txqlen":1000,"link_type":"loopback","address":"00:00:00:00:00:00","broadcast":"00:00:00:00:00:00","promiscuity":0,"allmulti":0,"min_mtu":0,"max_mtu":0,"inet6_addr_gen_mode":"eui64","num_tx_queues":1,"num_rx_queues":1,"gso_max_size":65536,"gso_max_segs":65535,"tso_max_size":524280,"tso_max_segs":65535,"gro_max_size":65536,"gso_ipv4_max_size":65536,"gro_ipv4_max_size":65536,"stats64":{"rx":{"bytes":28,"packets":1,"errors":0,"dropped":0,"over_errors":0,"multicast":0},"tx":{"bytes":28,"packets":1,"errors":0,"dropped":0,"carrier_errors":0,"collisions":0}}},{"ifindex":9,"link_index":10,"ifname":"br0","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","linkmode":"DEFAULT","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"promiscuity":0,"allmulti":0,"min_mtu":68,"max_mtu":65535,"linkinfo":{"info_kind":"veth"},"inet6_addr_gen_mode":"eui64","num_tx_queues":1,"num_rx_queues":1,"gso_max_size":65536,"gso_max_segs":65535,"tso_max_size":524280,"tso_max_segs":65535,"gro_max_size":65536,"gso_ipv4_max_size":65536,"gro_ipv4_max_size":65536,"ifalias":"veth0a","stats64":{"rx":{"bytes":25110,"packets":99,"errors":0,"dropped":2,"over_errors":0,"multicast":0},"tx":{"bytes":1541,"packets":18,"errors":0,"dropped":0,"carrier_errors":0,"collisions":0}}},{"ifindex":14,"link_index":15,"ifname":"br1","flags":["BROADCAST","MULTICAST","UP","LOWER_UP"],"mtu":1500,"qdisc":"noqueue","operstate":"UP","linkmode":"DEFAULT","group":"default","txqlen":1000,"link_type":"ether","address":"06:a0:85:00:03:00","broadcast":"ff:ff:ff:ff:ff:ff","link_netnsid":0,"promiscuity":0,"allmulti":0,"min_mtu":68,"max_mtu":65535,"linkinfo":{"info_kind":"veth"},"inet6_addr_gen_mode":"eui64","num_tx_queues":1,"num_rx_queues":1,"gso_max_size":65536,"gso_max_segs":65535,"tso_max_size":524280,"tso_max_segs":65535,"gro_max_size":65536,"gso_ipv4_max_size":65536,"gro_ipv4_max_size":65536,"ifalias":"veth1a","stats64":{"rx":{"bytes":812,"packets":3,"errors":0,"dropped":3,"over_errors":0,"multicast":0},"tx":{"bytes":796,"packets":10,"errors":0,"dropped":0,"carrier_errors":0,"collisions":0}}}]
@@ -1,7 +1,7 @@
[
{
"Id": "93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e",
"Created": "2025-01-20T09:59:10.084076243Z",
"Id": "d3a542dc43f4d6ca7a9e2cff254126f337e41bb5f1e10f6613272d31ec8d5e79",
"Created": "2025-01-24T09:54:57.992948403Z",
"Path": "/usr/bin/tini",
"Args": [
"--",
@@ -19,18 +19,18 @@
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 25343,
"ConmonPid": 25341,
"Pid": 5540,
"ConmonPid": 5522,
"ExitCode": 0,
"Error": "",
"StartedAt": "2025-01-20T09:59:10.208616914Z",
"StartedAt": "2025-01-24T09:54:59.376108203Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"Health": {
"Status": "",
"FailingStreak": 0,
"Log": null
},
"CgroupPath": "/containers/libpod-93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e",
"CgroupPath": "/containers/libpod-d3a542dc43f4d6ca7a9e2cff254126f337e41bb5f1e10f6613272d31ec8d5e79",
"CheckpointedAt": "0001-01-01T00:00:00Z",
"RestoredAt": "0001-01-01T00:00:00Z"
},
@@ -39,14 +39,14 @@
"ImageName": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
"Rootfs": "",
"Pod": "",
"ResolvConfPath": "/run/containers/storage/overlay-containers/93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e/userdata/resolv.conf",
"HostnamePath": "/run/containers/storage/overlay-containers/93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e/userdata/hostname",
"HostsPath": "/run/containers/storage/overlay-containers/93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e/userdata/hosts",
"StaticDir": "/var/lib/containers/storage/overlay-containers/93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e/userdata",
"OCIConfigPath": "/var/lib/containers/storage/overlay-containers/93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e/userdata/config.json",
"ResolvConfPath": "/run/containers/storage/overlay-containers/d3a542dc43f4d6ca7a9e2cff254126f337e41bb5f1e10f6613272d31ec8d5e79/userdata/resolv.conf",
"HostnamePath": "/run/containers/storage/overlay-containers/d3a542dc43f4d6ca7a9e2cff254126f337e41bb5f1e10f6613272d31ec8d5e79/userdata/hostname",
"HostsPath": "/run/containers/storage/overlay-containers/d3a542dc43f4d6ca7a9e2cff254126f337e41bb5f1e10f6613272d31ec8d5e79/userdata/hosts",
"StaticDir": "/var/lib/containers/storage/overlay-containers/d3a542dc43f4d6ca7a9e2cff254126f337e41bb5f1e10f6613272d31ec8d5e79/userdata",
"OCIConfigPath": "/var/lib/containers/storage/overlay-containers/d3a542dc43f4d6ca7a9e2cff254126f337e41bb5f1e10f6613272d31ec8d5e79/userdata/config.json",
"OCIRuntime": "crun",
"ConmonPidFile": "/run/container:container-A.pid",
"PidFile": "/run/containers/storage/overlay-containers/93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e/userdata/pidfile",
"PidFile": "/run/containers/storage/overlay-containers/d3a542dc43f4d6ca7a9e2cff254126f337e41bb5f1e10f6613272d31ec8d5e79/userdata/pidfile",
"Name": "container-A",
"RestartCount": 0,
"Driver": "overlay",
@@ -84,9 +84,9 @@
"Name": "overlay",
"Data": {
"LowerDir": "/var/lib/containers/storage/overlay/7f1ed5e7f0b5c759a9e1864bdb0bf0b03751a85345c51a97cea18d4701f2fb53/diff",
"MergedDir": "/var/lib/containers/storage/overlay/4f3e9ccc3864e3b663061db696ae34ae75248f64c2139b0cc4f7da4d01a2a6e1/merged",
"UpperDir": "/var/lib/containers/storage/overlay/4f3e9ccc3864e3b663061db696ae34ae75248f64c2139b0cc4f7da4d01a2a6e1/diff",
"WorkDir": "/var/lib/containers/storage/overlay/4f3e9ccc3864e3b663061db696ae34ae75248f64c2139b0cc4f7da4d01a2a6e1/work"
"MergedDir": "/var/lib/containers/storage/overlay/8d5b3287022924b1e7d4a3ebd2a66603b9859f3cad910aa7e1c415a0d958e862/merged",
"UpperDir": "/var/lib/containers/storage/overlay/8d5b3287022924b1e7d4a3ebd2a66603b9859f3cad910aa7e1c415a0d958e862/diff",
"WorkDir": "/var/lib/containers/storage/overlay/8d5b3287022924b1e7d4a3ebd2a66603b9859f3cad910aa7e1c415a0d958e862/work"
}
},
"Mounts": [
@@ -125,11 +125,11 @@
"91/tcp": [
{
"HostIp": "",
"HostPort": "36971"
"HostPort": "35121"
}
]
},
"SandboxKey": "/run/netns/netns-769ed047-f7d6-211b-728b-46c24d727874",
"SandboxKey": "/run/netns/netns-ce78a6f5-04dd-6854-9574-c9ab03166846",
"Networks": {
"veth0a": {
"EndpointID": "",
@@ -145,7 +145,7 @@
"IPAMConfig": null,
"Links": null,
"Aliases": [
"93753e99ceb3"
"d3a542dc43f4"
]
},
"veth1a": {
@@ -162,7 +162,7 @@
"IPAMConfig": null,
"Links": null,
"Aliases": [
"93753e99ceb3"
"d3a542dc43f4"
]
}
}
@@ -264,7 +264,7 @@
"91/tcp": [
{
"HostIp": "",
"HostPort": "36971"
"HostPort": "35121"
}
]
},
@@ -1,7 +1,7 @@
[
{
"Id": "0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3",
"Created": "2025-01-20T09:59:09.376207821Z",
"Id": "54f467f95bae15a0891acb1efbdf416232c49ea46bb60e796da187d320a746fc",
"Created": "2025-01-24T09:54:57.989283803Z",
"Path": "/usr/bin/tini",
"Args": [
"--",
@@ -17,18 +17,18 @@
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 25086,
"ConmonPid": 25080,
"Pid": 5582,
"ConmonPid": 5580,
"ExitCode": 0,
"Error": "",
"StartedAt": "2025-01-20T09:59:09.771128108Z",
"StartedAt": "2025-01-24T09:54:59.47076885Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"Health": {
"Status": "",
"FailingStreak": 0,
"Log": null
},
"CgroupPath": "/containers/libpod-0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3",
"CgroupPath": "/containers/libpod-54f467f95bae15a0891acb1efbdf416232c49ea46bb60e796da187d320a746fc",
"CheckpointedAt": "0001-01-01T00:00:00Z",
"RestoredAt": "0001-01-01T00:00:00Z"
},
@@ -37,14 +37,14 @@
"ImageName": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
"Rootfs": "",
"Pod": "",
"ResolvConfPath": "/run/containers/storage/overlay-containers/0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3/userdata/resolv.conf",
"HostnamePath": "/run/containers/storage/overlay-containers/0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3/userdata/hostname",
"HostsPath": "/run/containers/storage/overlay-containers/0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3/userdata/hosts",
"StaticDir": "/var/lib/containers/storage/overlay-containers/0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3/userdata",
"OCIConfigPath": "/var/lib/containers/storage/overlay-containers/0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3/userdata/config.json",
"ResolvConfPath": "/run/containers/storage/overlay-containers/54f467f95bae15a0891acb1efbdf416232c49ea46bb60e796da187d320a746fc/userdata/resolv.conf",
"HostnamePath": "/run/containers/storage/overlay-containers/54f467f95bae15a0891acb1efbdf416232c49ea46bb60e796da187d320a746fc/userdata/hostname",
"HostsPath": "/run/containers/storage/overlay-containers/54f467f95bae15a0891acb1efbdf416232c49ea46bb60e796da187d320a746fc/userdata/hosts",
"StaticDir": "/var/lib/containers/storage/overlay-containers/54f467f95bae15a0891acb1efbdf416232c49ea46bb60e796da187d320a746fc/userdata",
"OCIConfigPath": "/var/lib/containers/storage/overlay-containers/54f467f95bae15a0891acb1efbdf416232c49ea46bb60e796da187d320a746fc/userdata/config.json",
"OCIRuntime": "crun",
"ConmonPidFile": "/run/container:container-B.pid",
"PidFile": "/run/containers/storage/overlay-containers/0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3/userdata/pidfile",
"PidFile": "/run/containers/storage/overlay-containers/54f467f95bae15a0891acb1efbdf416232c49ea46bb60e796da187d320a746fc/userdata/pidfile",
"Name": "container-B",
"RestartCount": 0,
"Driver": "overlay",
@@ -142,9 +142,9 @@
"Name": "overlay",
"Data": {
"LowerDir": "/var/lib/containers/storage/overlay/7f1ed5e7f0b5c759a9e1864bdb0bf0b03751a85345c51a97cea18d4701f2fb53/diff",
"MergedDir": "/var/lib/containers/storage/overlay/dddcf27b3db1e47b06e1662850c22494fe52fc11d4094b91923251b797e71c1a/merged",
"UpperDir": "/var/lib/containers/storage/overlay/dddcf27b3db1e47b06e1662850c22494fe52fc11d4094b91923251b797e71c1a/diff",
"WorkDir": "/var/lib/containers/storage/overlay/dddcf27b3db1e47b06e1662850c22494fe52fc11d4094b91923251b797e71c1a/work"
"MergedDir": "/var/lib/containers/storage/overlay/c2836541997ba59077c6bda30a983705527a749cb598f33a0943c433cc56384d/merged",
"UpperDir": "/var/lib/containers/storage/overlay/c2836541997ba59077c6bda30a983705527a749cb598f33a0943c433cc56384d/diff",
"WorkDir": "/var/lib/containers/storage/overlay/c2836541997ba59077c6bda30a983705527a749cb598f33a0943c433cc56384d/work"
}
},
"Mounts": [],
@@ -166,7 +166,7 @@
"Ports": {
"80/tcp": null
},
"SandboxKey": "/run/netns/netns-3ea40bc1-9daa-902c-71e0-81b6d69cd910",
"SandboxKey": "/run/netns/netns-539c0d36-21c9-3fc1-802f-3f997402e299",
"Networks": {
"veth2a": {
"EndpointID": "",
@@ -182,7 +182,7 @@
"IPAMConfig": null,
"Links": null,
"Aliases": [
"0aed2ca36b5e"
"54f467f95bae"
]
},
"veth3a": {
@@ -199,7 +199,7 @@
"IPAMConfig": null,
"Links": null,
"Aliases": [
"0aed2ca36b5e"
"54f467f95bae"
]
}
}
@@ -1,7 +1,7 @@
[
{
"Id": "3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8",
"Created": "2025-01-20T09:59:09.523653759Z",
"Id": "7ae41768fb053a16b25ee3596a80bad0cf2422dada9ac862d24af744c8ad0e6e",
"Created": "2025-01-24T09:54:58.202221241Z",
"Path": "/usr/bin/tini",
"Args": [
"--",
@@ -16,18 +16,18 @@
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 25085,
"ConmonPid": 25083,
"Pid": 5547,
"ConmonPid": 5523,
"ExitCode": 0,
"Error": "",
"StartedAt": "2025-01-20T09:59:09.756062512Z",
"StartedAt": "2025-01-24T09:54:59.401153678Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"Health": {
"Status": "",
"FailingStreak": 0,
"Log": null
},
"CgroupPath": "/containers/libpod-3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8",
"CgroupPath": "/containers/libpod-7ae41768fb053a16b25ee3596a80bad0cf2422dada9ac862d24af744c8ad0e6e",
"CheckpointedAt": "0001-01-01T00:00:00Z",
"RestoredAt": "0001-01-01T00:00:00Z"
},
@@ -36,14 +36,14 @@
"ImageName": "localhost/curios-nftables-oci-amd64-v24.11.0:latest",
"Rootfs": "",
"Pod": "",
"ResolvConfPath": "/run/containers/storage/overlay-containers/3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8/userdata/resolv.conf",
"HostnamePath": "/run/containers/storage/overlay-containers/3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8/userdata/hostname",
"HostsPath": "/run/containers/storage/overlay-containers/3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8/userdata/hosts",
"StaticDir": "/var/lib/containers/storage/overlay-containers/3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8/userdata",
"OCIConfigPath": "/var/lib/containers/storage/overlay-containers/3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8/userdata/config.json",
"ResolvConfPath": "/run/containers/storage/overlay-containers/7ae41768fb053a16b25ee3596a80bad0cf2422dada9ac862d24af744c8ad0e6e/userdata/resolv.conf",
"HostnamePath": "/run/containers/storage/overlay-containers/7ae41768fb053a16b25ee3596a80bad0cf2422dada9ac862d24af744c8ad0e6e/userdata/hostname",
"HostsPath": "/run/containers/storage/overlay-containers/7ae41768fb053a16b25ee3596a80bad0cf2422dada9ac862d24af744c8ad0e6e/userdata/hosts",
"StaticDir": "/var/lib/containers/storage/overlay-containers/7ae41768fb053a16b25ee3596a80bad0cf2422dada9ac862d24af744c8ad0e6e/userdata",
"OCIConfigPath": "/var/lib/containers/storage/overlay-containers/7ae41768fb053a16b25ee3596a80bad0cf2422dada9ac862d24af744c8ad0e6e/userdata/config.json",
"OCIRuntime": "crun",
"ConmonPidFile": "/run/container:firewall.pid",
"PidFile": "/run/containers/storage/overlay-containers/3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8/userdata/pidfile",
"PidFile": "/run/containers/storage/overlay-containers/7ae41768fb053a16b25ee3596a80bad0cf2422dada9ac862d24af744c8ad0e6e/userdata/pidfile",
"Name": "firewall",
"RestartCount": 0,
"Driver": "overlay",
@@ -141,9 +141,9 @@
"Name": "overlay",
"Data": {
"LowerDir": "/var/lib/containers/storage/overlay/5a47f694a11e7abd644d015c96ebe954f5d3099459c7c8dc847b2d8809895f0e/diff",
"MergedDir": "/var/lib/containers/storage/overlay/4965d52024a50f88cf0302aa9a270eddcfdd223347c3f9c8062d481d5d4a4a84/merged",
"UpperDir": "/var/lib/containers/storage/overlay/4965d52024a50f88cf0302aa9a270eddcfdd223347c3f9c8062d481d5d4a4a84/diff",
"WorkDir": "/var/lib/containers/storage/overlay/4965d52024a50f88cf0302aa9a270eddcfdd223347c3f9c8062d481d5d4a4a84/work"
"MergedDir": "/var/lib/containers/storage/overlay/cbbe39176a42ed0c4a76bf2ac0fa677cf5cbb313bd126497885cdfe6d6256f15/merged",
"UpperDir": "/var/lib/containers/storage/overlay/cbbe39176a42ed0c4a76bf2ac0fa677cf5cbb313bd126497885cdfe6d6256f15/diff",
"WorkDir": "/var/lib/containers/storage/overlay/cbbe39176a42ed0c4a76bf2ac0fa677cf5cbb313bd126497885cdfe6d6256f15/work"
}
},
"Mounts": [
@@ -10,7 +10,7 @@
"Exited": false,
"ExitedAt": -62135596800,
"ExitCode": 0,
"Id": "0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3",
"Id": "54f467f95bae15a0891acb1efbdf416232c49ea46bb60e796da187d320a746fc",
"Image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
"ImageID": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
"IsInfra": false,
@@ -29,53 +29,15 @@
"veth2a",
"veth3a"
],
"Pid": 25086,
"Pid": 5582,
"Pod": "",
"PodName": "",
"Ports": null,
"Size": null,
"StartedAt": 1737367149,
"StartedAt": 1737712499,
"State": "running",
"Status": "Up About a minute",
"Created": 1737367149
},
{
"AutoRemove": false,
"Command": [
"/usr/sbin/nft-helper",
"/etc/nftables.conf"
],
"CreatedAt": "About a minute ago",
"Exited": false,
"ExitedAt": -62135596800,
"ExitCode": 0,
"Id": "3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8",
"Image": "localhost/curios-nftables-oci-amd64-v24.11.0:latest",
"ImageID": "7a3cc502436250357a6664100a600f306334b4d7203890b85b7ea9b8da6b5665",
"IsInfra": false,
"Labels": {
"org.opencontainers.image.title": "curiOS-nftables",
"org.opencontainers.image.url": "https://github.com/kernelkit/curiOS"
},
"Mounts": [
"/etc/nftables.conf"
],
"Names": [
"firewall"
],
"Namespaces": {
},
"Networks": [],
"Pid": 25085,
"Pod": "",
"PodName": "",
"Ports": null,
"Size": null,
"StartedAt": 1737367149,
"State": "running",
"Status": "Up About a minute",
"Created": 1737367149
"Status": "Up 59 seconds",
"Created": 1737712497
},
{
"AutoRemove": false,
@@ -90,7 +52,7 @@
"Exited": false,
"ExitedAt": -62135596800,
"ExitCode": 0,
"Id": "93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e",
"Id": "d3a542dc43f4d6ca7a9e2cff254126f337e41bb5f1e10f6613272d31ec8d5e79",
"Image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
"ImageID": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
"IsInfra": false,
@@ -108,25 +70,63 @@
},
"Networks": [
"veth0a",
"veth1a"
"veth1a",
"veth0a"
],
"Pid": 25343,
"Pid": 5540,
"Pod": "",
"PodName": "",
"Ports": [
{
"host_ip": "",
"container_port": 91,
"host_port": 36971,
"host_port": 35121,
"range": 1,
"protocol": "tcp"
}
],
"Size": null,
"StartedAt": 1737367150,
"StartedAt": 1737712499,
"State": "running",
"Status": "Up About a minute",
"Created": 1737367150
"Status": "Up 59 seconds",
"Created": 1737712497
},
{
"AutoRemove": false,
"Command": [
"/usr/sbin/nft-helper",
"/etc/nftables.conf"
],
"CreatedAt": "About a minute ago",
"Exited": false,
"ExitedAt": -62135596800,
"ExitCode": 0,
"Id": "7ae41768fb053a16b25ee3596a80bad0cf2422dada9ac862d24af744c8ad0e6e",
"Image": "localhost/curios-nftables-oci-amd64-v24.11.0:latest",
"ImageID": "7a3cc502436250357a6664100a600f306334b4d7203890b85b7ea9b8da6b5665",
"IsInfra": false,
"Labels": {
"org.opencontainers.image.title": "curiOS-nftables",
"org.opencontainers.image.url": "https://github.com/kernelkit/curiOS"
},
"Mounts": [
"/etc/nftables.conf"
],
"Names": [
"firewall"
],
"Namespaces": {
},
"Networks": [],
"Pid": 5547,
"Pod": "",
"PodName": "",
"Ports": null,
"Size": null,
"StartedAt": 1737712499,
"State": "running",
"Status": "Up 59 seconds",
"Created": 1737712498
}
]
@@ -1 +1 @@
{"0.0.0.0/0":[{"prefix":"0.0.0.0/0","prefixLen":0,"protocol":"ospf","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":110,"metric":2,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":41,"installedNexthopGroupId":41,"uptime":"00:00:40","nexthops":[{"flags":3,"fib":true,"ip":"10.1.1.100","afi":"ipv4","interfaceIndex":7,"interfaceName":"e6","active":true,"weight":1}]},{"prefix":"0.0.0.0/0","prefixLen":0,"protocol":"static","vrfId":0,"vrfName":"default","distance":254,"metric":0,"table":254,"internalStatus":0,"internalFlags":65,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":64,"installedNexthopGroupId":64,"uptime":"00:01:20","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":25,"interfaceName":"br0","active":true,"weight":1}]}],"10.1.1.0/24":[{"prefix":"10.1.1.0/24","prefixLen":24,"protocol":"ospf","vrfId":0,"vrfName":"default","distance":110,"metric":1,"table":254,"internalStatus":0,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":22,"uptime":"00:00:50","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":7,"interfaceName":"e6","active":true,"weight":1}]},{"prefix":"10.1.1.0/24","prefixLen":24,"protocol":"connected","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":20,"installedNexthopGroupId":20,"uptime":"00:01:34","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":7,"interfaceName":"e6","active":true}]}],"10.1.1.1/32":[{"prefix":"10.1.1.1/32","prefixLen":32,"protocol":"connected","vrfId":0,"vrfName":"default","distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":54,"uptime":"00:01:35","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":32,"interfaceName":"e4.8","active":true}]},{"prefix":"10.1.1.1/32","prefixLen":32,"protocol":"connected","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":55,"installedNexthopGroupId":55,"uptime":"00:01:35","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":31,"interfaceName":"e3.8","active":true}]}],"10.1.2.0/24":[{"prefix":"10.1.2.0/24","prefixLen":24,"protocol":"ospf","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":110,"metric":2,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":2,"internalNextHopActiveNum":2,"nexthopGroupId":76,"installedNexthopGroupId":76,"uptime":"00:00:40","nexthops":[{"flags":3,"fib":true,"ip":"10.1.1.100","afi":"ipv4","interfaceIndex":7,"interfaceName":"e6","active":true,"weight":1},{"flags":11,"fib":true,"ip":"10.1.2.1","afi":"ipv4","interfaceIndex":31,"interfaceName":"e3.8","active":true,"onLink":true,"weight":1}]}],"10.1.3.0/24":[{"prefix":"10.1.3.0/24","prefixLen":24,"protocol":"ospf","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":110,"metric":2,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":2,"internalNextHopActiveNum":2,"nexthopGroupId":77,"installedNexthopGroupId":77,"uptime":"00:00:40","nexthops":[{"flags":3,"fib":true,"ip":"10.1.1.100","afi":"ipv4","interfaceIndex":7,"interfaceName":"e6","active":true,"weight":1},{"flags":11,"fib":true,"ip":"10.1.3.1","afi":"ipv4","interfaceIndex":32,"interfaceName":"e4.8","active":true,"onLink":true,"weight":1}]}],"169.254.0.0/16":[{"prefix":"169.254.0.0/16","prefixLen":16,"protocol":"connected","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":62,"installedNexthopGroupId":62,"uptime":"00:01:29","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":25,"interfaceName":"br0","active":true}]}]}
{"0.0.0.0/0":[{"prefix":"0.0.0.0/0","prefixLen":0,"protocol":"ospf","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":110,"metric":2,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":41,"installedNexthopGroupId":41,"uptime":"00:00:14","nexthops":[{"flags":3,"fib":true,"ip":"10.1.1.100","afi":"ipv4","interfaceIndex":7,"interfaceName":"e6","active":true,"weight":1}]},{"prefix":"0.0.0.0/0","prefixLen":0,"protocol":"static","vrfId":0,"vrfName":"default","distance":254,"metric":0,"table":254,"internalStatus":0,"internalFlags":65,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":30,"installedNexthopGroupId":30,"uptime":"00:00:53","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":13,"interfaceName":"br0","active":true,"weight":1}]}],"10.1.1.0/24":[{"prefix":"10.1.1.0/24","prefixLen":24,"protocol":"ospf","vrfId":0,"vrfName":"default","distance":110,"metric":1,"table":254,"internalStatus":0,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":22,"uptime":"00:01:06","nexthops":[{"flags":1,"directlyConnected":true,"interfaceIndex":7,"interfaceName":"e6","active":true,"weight":1}]},{"prefix":"10.1.1.0/24","prefixLen":24,"protocol":"connected","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":20,"installedNexthopGroupId":20,"uptime":"00:01:07","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":7,"interfaceName":"e6","active":true}]}],"10.1.1.1/32":[{"prefix":"10.1.1.1/32","prefixLen":32,"protocol":"connected","vrfId":0,"vrfName":"default","distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":18,"uptime":"00:01:08","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":20,"interfaceName":"e4.8","active":true}]},{"prefix":"10.1.1.1/32","prefixLen":32,"protocol":"connected","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":16,"installedNexthopGroupId":16,"uptime":"00:01:08","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":19,"interfaceName":"e3.8","active":true}]}],"10.1.2.0/24":[{"prefix":"10.1.2.0/24","prefixLen":24,"protocol":"ospf","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":110,"metric":2,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":2,"internalNextHopActiveNum":2,"nexthopGroupId":42,"installedNexthopGroupId":42,"uptime":"00:00:14","nexthops":[{"flags":3,"fib":true,"ip":"10.1.1.100","afi":"ipv4","interfaceIndex":7,"interfaceName":"e6","active":true,"weight":1},{"flags":11,"fib":true,"ip":"10.1.2.1","afi":"ipv4","interfaceIndex":19,"interfaceName":"e3.8","active":true,"onLink":true,"weight":1}]}],"10.1.3.0/24":[{"prefix":"10.1.3.0/24","prefixLen":24,"protocol":"ospf","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":110,"metric":2,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":2,"internalNextHopActiveNum":2,"nexthopGroupId":43,"installedNexthopGroupId":43,"uptime":"00:00:14","nexthops":[{"flags":3,"fib":true,"ip":"10.1.1.100","afi":"ipv4","interfaceIndex":7,"interfaceName":"e6","active":true,"weight":1},{"flags":11,"fib":true,"ip":"10.1.3.1","afi":"ipv4","interfaceIndex":20,"interfaceName":"e4.8","active":true,"onLink":true,"weight":1}]}],"169.254.0.0/16":[{"prefix":"169.254.0.0/16","prefixLen":16,"protocol":"connected","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":28,"installedNexthopGroupId":28,"uptime":"00:01:02","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":13,"interfaceName":"br0","active":true}]}]}
@@ -1 +1 @@
{"fe80::/64":[{"prefix":"fe80::/64","prefixLen":64,"protocol":"connected","vrfId":0,"vrfName":"default","distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":47,"uptime":"00:01:33","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":7,"interfaceName":"e6","active":true}]},{"prefix":"fe80::/64","prefixLen":64,"protocol":"connected","vrfId":0,"vrfName":"default","distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":59,"uptime":"00:01:33","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":25,"interfaceName":"br0","active":true}]},{"prefix":"fe80::/64","prefixLen":64,"protocol":"connected","vrfId":0,"vrfName":"default","distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":12,"uptime":"01:55:40","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":6,"interfaceName":"e5","active":true}]},{"prefix":"fe80::/64","prefixLen":64,"protocol":"connected","vrfId":0,"vrfName":"default","distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":6,"uptime":"01:55:40","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":8,"interfaceName":"e7","active":true}]},{"prefix":"fe80::/64","prefixLen":64,"protocol":"connected","vrfId":0,"vrfName":"default","distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":7,"uptime":"01:55:40","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":3,"interfaceName":"e2","active":true}]},{"prefix":"fe80::/64","prefixLen":64,"protocol":"connected","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":2,"installedNexthopGroupId":2,"uptime":"01:55:40","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":2,"interfaceName":"e1","active":true}]}]}
{"fe80::/64":[{"prefix":"fe80::/64","prefixLen":64,"protocol":"connected","vrfId":0,"vrfName":"default","distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":26,"uptime":"00:01:06","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":7,"interfaceName":"e6","active":true}]},{"prefix":"fe80::/64","prefixLen":64,"protocol":"connected","vrfId":0,"vrfName":"default","distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":24,"uptime":"00:01:06","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":13,"interfaceName":"br0","active":true}]},{"prefix":"fe80::/64","prefixLen":64,"protocol":"connected","vrfId":0,"vrfName":"default","distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":8,"uptime":"00:01:26","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":8,"interfaceName":"e7","active":true}]},{"prefix":"fe80::/64","prefixLen":64,"protocol":"connected","vrfId":0,"vrfName":"default","distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":10,"uptime":"00:01:26","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":6,"interfaceName":"e5","active":true}]},{"prefix":"fe80::/64","prefixLen":64,"protocol":"connected","vrfId":0,"vrfName":"default","distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":0,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":13,"uptime":"00:01:26","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":3,"interfaceName":"e2","active":true}]},{"prefix":"fe80::/64","prefixLen":64,"protocol":"connected","vrfId":0,"vrfName":"default","selected":true,"destSelected":true,"distance":0,"metric":0,"installed":true,"table":254,"internalStatus":16,"internalFlags":8,"internalNextHopNum":1,"internalNextHopActiveNum":1,"nexthopGroupId":14,"installedNexthopGroupId":14,"uptime":"00:01:26","nexthops":[{"flags":3,"fib":true,"directlyConnected":true,"interfaceIndex":2,"interfaceName":"e1","active":true}]}]}
+1 -1
View File
@@ -1,2 +1,2 @@
1737367243
1737712561
@@ -1,5 +1,5 @@
INTERFACE PROTOCOL STATE DATA 
lo ethernet UP 00:00:00:00:00:00
lo loopback UP 
ipv4 127.0.0.1/8 (static)
ipv6 ::1/128 (static)
br-0 bridge DOWN 
@@ -11,10 +11,10 @@ br-D bridge  
│ ipv6 2001:db8::1/64 (static)
│ ipv6 fe80::2a0:85ff:fe00:300/64 (link-layer)
└ veth0a.20 bridge FORWARDING 
br-Q bridge  vlan:10u,20u,30t,40t pvid:10
br-Q bridge  vlan:20u,30u,40t
│ ethernet UP 00:a0:85:00:03:00
├ e3 bridge FORWARDING vlan:20t,30t,40t
└ veth0b bridge FORWARDING vlan:10t,20t,30t,40t
└ veth0b bridge FORWARDING vlan:20t,30t,40t
br-Q.40 ethernet UP 00:a0:85:00:03:00
└ br-Q ethernet UP 00:a0:85:00:03:00
br-X bridge  
@@ -36,11 +36,16 @@ e6 ethernet UP 00:a0:85:00:03:06
ipv6 fe80::2a0:85ff:fe00:306/64 (link-layer)
e7 ethernet UP 00:a0:85:00:03:07
ipv6 fe80::2a0:85ff:fe00:307/64 (link-layer)
gre-v4 ethernet UP 
gre-v6 ethernet UP 
gretap-v4 ethernet UP 1e:9d:e1:46:5d:9e
gretap-v6 ethernet UP ae:c7:28:08:7c:ca
veth0a ethernet UP 86:2a:11:4e:5d:9f
veth0a.20 ethernet UP 86:2a:11:4e:5d:9f
veth0a ethernet UP 86:2a:11:4e:5d:9f
veth0b ethernet UP e2:f0:55:1b:34:f3
gre-v4 gre UP 
gre-v6 gre UP 
ipv4 192.168.50.2/16 (static)
gretap-v4 gretap UP ba:a0:f5:c1:68:83
gretap-v6 gretap UP 1a:1b:84:dd:ca:2c
veth0a veth UP be:40:fd:0e:8d:c6
veth0a.20 ethernet UP be:40:fd:0e:8d:c6
veth0a ethernet UP be:40:fd:0e:8d:c6
veth0b veth UP 86:e0:fb:54:94:e8
vxlan-v4 vxlan UP f6:56:cb:3e:55:0f
ipv4 192.168.30.2/24 (static)
vxlan-v6 vxlan UP fe:aa:b4:8a:33:1b
ipv4 192.168.40.2/24 (static)
@@ -0,0 +1,8 @@
name : br-0
type : bridge
index : 73
mtu : 1500
operational status : down
physical address : 00:a0:85:00:03:00
ipv4 addresses :
ipv6 addresses :
@@ -0,0 +1,10 @@
name : br-D
type : bridge
index : 79
mtu : 1500
operational status : up
physical address : 00:a0:85:00:03:00
ipv4 addresses : 10.0.0.1/8 (static)
192.168.20.1/24 (static)
ipv6 addresses : 2001:db8::1/64 (static)
fe80::2a0:85ff:fe00:300/64 (link-layer)
@@ -0,0 +1,8 @@
name : br-Q
type : bridge
index : 80
mtu : 1500
operational status : up
physical address : 00:a0:85:00:03:00
ipv4 addresses :
ipv6 addresses :
@@ -0,0 +1,9 @@
name : br-Q.40
type : vlan
index : 81
mtu : 1500
operational status : up
lower-layer-if : br-Q
physical address : 00:a0:85:00:03:00
ipv4 addresses :
ipv6 addresses :
@@ -0,0 +1,8 @@
name : br-X
type : bridge
index : 75
mtu : 1500
operational status : up
physical address : 00:a0:85:00:03:00
ipv4 addresses :
ipv6 addresses :
@@ -0,0 +1,9 @@
name : gre-v4
type : gre
index : 83
mtu : 1476
operational status : up
ipv4 addresses :
ipv6 addresses :
local address : 192.168.20.1
remote address : 192.168.20.2
@@ -0,0 +1,9 @@
name : gre-v6
type : gre
index : 84
mtu : 1448
operational status : up
ipv4 addresses : 192.168.50.2/16 (static)
ipv6 addresses :
local address : 2001:db8::1
remote address : 2001:db8::2
@@ -0,0 +1,10 @@
name : gretap-v4
type : gretap
index : 85
mtu : 1462
operational status : up
physical address : ba:a0:f5:c1:68:83
ipv4 addresses :
ipv6 addresses :
local address : 192.168.20.1
remote address : 192.168.20.2
@@ -0,0 +1,10 @@
name : gretap-v6
type : gretap
index : 86
mtu : 1434
operational status : up
physical address : 1a:1b:84:dd:ca:2c
ipv4 addresses :
ipv6 addresses :
local address : 2001:db8::1
remote address : 2001:db8::2
@@ -0,0 +1,10 @@
name : veth0a
type : veth
index : 77
mtu : 1500
operational status : up
physical address : be:40:fd:0e:8d:c6
ipv4 addresses :
ipv6 addresses :
in-octets : 305
out-octets : 37942
@@ -0,0 +1,9 @@
name : veth0a.20
type : vlan
index : 78
mtu : 1500
operational status : up
lower-layer-if : veth0a
physical address : be:40:fd:0e:8d:c6
ipv4 addresses :
ipv6 addresses :
@@ -0,0 +1,10 @@
name : veth0b
type : veth
index : 76
mtu : 1500
operational status : up
physical address : 86:e0:fb:54:94:e8
ipv4 addresses :
ipv6 addresses :
in-octets : 37942
out-octets : 305
@@ -0,0 +1,11 @@
name : vxlan-v4
type : vxlan
index : 87
mtu : 1500
operational status : up
physical address : f6:56:cb:3e:55:0f
ipv4 addresses : 192.168.30.2/24 (static)
ipv6 addresses :
local address : 192.168.20.100
remote address : 192.168.20.200
VxLAN id : 4
@@ -0,0 +1,11 @@
name : vxlan-v6
type : vxlan
index : 88
mtu : 1500
operational status : up
physical address : fe:aa:b4:8a:33:1b
ipv4 addresses : 192.168.40.2/24 (static)
ipv6 addresses :
local address : 2001:db8::100
remote address : 2001:db8::200
VxLAN id : 6
@@ -9,8 +9,8 @@
"oper-status": "up",
"phys-address": "00:00:00:00:00:00",
"statistics": {
"in-octets": "420569",
"out-octets": "420569"
"in-octets": "3016668",
"out-octets": "3016668"
},
"ietf-ip:ipv4": {
"address": [
@@ -40,8 +40,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:01",
"statistics": {
"in-octets": "5654369",
"out-octets": "8200041"
"in-octets": "2776431",
"out-octets": "5420321"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -65,7 +65,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:02",
"statistics": {
"out-octets": "101161"
"in-octets": "700",
"out-octets": "288796"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -89,8 +90,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:03",
"statistics": {
"in-octets": "23589",
"out-octets": "251584"
"in-octets": "770",
"out-octets": "892021"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -120,8 +121,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:04",
"statistics": {
"in-octets": "30583",
"out-octets": "231318"
"in-octets": "70",
"out-octets": "275470"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -145,8 +146,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:05",
"statistics": {
"in-octets": "67364",
"out-octets": "105244"
"in-octets": "182086",
"out-octets": "275083"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -170,8 +171,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:06",
"statistics": {
"in-octets": "136295",
"out-octets": "209032"
"in-octets": "185476",
"out-octets": "275412"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -195,8 +196,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:07",
"statistics": {
"in-octets": "70752",
"out-octets": "108022"
"in-octets": "183112",
"out-octets": "274994"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -215,7 +216,7 @@
{
"type": "infix-if-type:bridge",
"name": "br-0",
"if-index": 47,
"if-index": 73,
"admin-status": "up",
"oper-status": "down",
"phys-address": "00:a0:85:00:03:00",
@@ -238,7 +239,7 @@
{
"type": "infix-if-type:vlan",
"name": "e2.30",
"if-index": 48,
"if-index": 74,
"admin-status": "up",
"oper-status": "up",
"phys-address": "00:a0:85:00:03:02",
@@ -270,7 +271,7 @@
{
"type": "infix-if-type:bridge",
"name": "br-X",
"if-index": 49,
"if-index": 75,
"admin-status": "up",
"oper-status": "up",
"phys-address": "00:a0:85:00:03:00",
@@ -293,12 +294,13 @@
{
"type": "infix-if-type:veth",
"name": "veth0b",
"if-index": 50,
"if-index": 76,
"admin-status": "up",
"oper-status": "up",
"phys-address": "e2:f0:55:1b:34:f3",
"phys-address": "86:e0:fb:54:94:e8",
"statistics": {
"in-octets": "13501"
"in-octets": "37942",
"out-octets": "305"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -326,12 +328,13 @@
{
"type": "infix-if-type:veth",
"name": "veth0a",
"if-index": 51,
"if-index": 77,
"admin-status": "up",
"oper-status": "up",
"phys-address": "86:2a:11:4e:5d:9f",
"phys-address": "be:40:fd:0e:8d:c6",
"statistics": {
"out-octets": "13501"
"in-octets": "305",
"out-octets": "37942"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -346,12 +349,12 @@
{
"type": "infix-if-type:vlan",
"name": "veth0a.20",
"if-index": 52,
"if-index": 78,
"admin-status": "up",
"oper-status": "up",
"phys-address": "86:2a:11:4e:5d:9f",
"phys-address": "be:40:fd:0e:8d:c6",
"statistics": {
"out-octets": "13501"
"out-octets": "37682"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -381,12 +384,12 @@
{
"type": "infix-if-type:bridge",
"name": "br-D",
"if-index": 53,
"if-index": 79,
"admin-status": "up",
"oper-status": "up",
"phys-address": "00:a0:85:00:03:00",
"statistics": {
"out-octets": "13501"
"out-octets": "37682"
},
"ietf-ip:ipv4": {
"mtu": 1500,
@@ -431,12 +434,12 @@
{
"type": "infix-if-type:bridge",
"name": "br-Q",
"if-index": 54,
"if-index": 80,
"admin-status": "up",
"oper-status": "up",
"phys-address": "00:a0:85:00:03:00",
"statistics": {
"in-octets": "9469"
"in-octets": "33728"
},
"ietf-ip:ipv4": {
"mtu": 1500
@@ -448,22 +451,6 @@
"vlans": {
"proto": "ieee802-dot1q-types:c-vlan",
"vlan": [
{
"vid": 10,
"untagged": [
"br-Q"
],
"tagged": [
"veth0b"
],
"multicast": {
"snooping": true,
"querier": "off"
},
"multicast-filters": {
"multicast-filter": []
}
},
{
"vid": 20,
"untagged": [
@@ -483,9 +470,10 @@
},
{
"vid": 30,
"untagged": [],
"untagged": [
"br-Q"
],
"tagged": [
"br-Q",
"e3",
"veth0b"
],
@@ -515,15 +503,12 @@
}
]
}
},
"infix-interfaces:bridge-port": {
"pvid": 10
}
},
{
"type": "infix-if-type:vlan",
"name": "br-Q.40",
"if-index": 55,
"if-index": 81,
"admin-status": "up",
"oper-status": "up",
"phys-address": "00:a0:85:00:03:00",
@@ -542,7 +527,7 @@
{
"type": "infix-if-type:vlan",
"name": "e3.10",
"if-index": 56,
"if-index": 82,
"admin-status": "up",
"oper-status": "up",
"phys-address": "00:a0:85:00:03:03",
@@ -561,7 +546,7 @@
{
"type": "infix-if-type:gre",
"name": "gre-v4",
"if-index": 57,
"if-index": 83,
"admin-status": "up",
"oper-status": "up",
"ietf-ip:ipv4": {
@@ -578,11 +563,18 @@
{
"type": "infix-if-type:gre",
"name": "gre-v6",
"if-index": 58,
"if-index": 84,
"admin-status": "up",
"oper-status": "up",
"ietf-ip:ipv4": {
"mtu": 1448
"mtu": 1448,
"address": [
{
"ip": "192.168.50.2",
"prefix-length": 16,
"origin": "static"
}
]
},
"ietf-ip:ipv6": {
"mtu": 1448
@@ -595,10 +587,13 @@
{
"type": "infix-if-type:gretap",
"name": "gretap-v4",
"if-index": 59,
"if-index": 85,
"admin-status": "up",
"oper-status": "up",
"phys-address": "1e:9d:e1:46:5d:9e",
"phys-address": "ba:a0:f5:c1:68:83",
"statistics": {
"out-octets": "249"
},
"ietf-ip:ipv4": {
"mtu": 1462
},
@@ -613,10 +608,13 @@
{
"type": "infix-if-type:gretap",
"name": "gretap-v6",
"if-index": 60,
"if-index": 86,
"admin-status": "up",
"oper-status": "up",
"phys-address": "ae:c7:28:08:7c:ca",
"phys-address": "1a:1b:84:dd:ca:2c",
"statistics": {
"out-octets": "205"
},
"ietf-ip:ipv4": {
"mtu": 1434
},
@@ -627,6 +625,61 @@
"local": "2001:db8::1",
"remote": "2001:db8::2"
}
},
{
"type": "infix-if-type:vxlan",
"name": "vxlan-v4",
"if-index": 87,
"admin-status": "up",
"oper-status": "up",
"phys-address": "f6:56:cb:3e:55:0f",
"ietf-ip:ipv4": {
"mtu": 1500,
"address": [
{
"ip": "192.168.30.2",
"prefix-length": 24,
"origin": "static"
}
]
},
"ietf-ip:ipv6": {
"mtu": 1500
},
"infix-interfaces:vxlan": {
"local": "192.168.20.100",
"remote": "192.168.20.200",
"vni": 4
}
},
{
"type": "infix-if-type:vxlan",
"name": "vxlan-v6",
"if-index": 88,
"admin-status": "up",
"oper-status": "up",
"phys-address": "fe:aa:b4:8a:33:1b",
"statistics": {
"out-octets": "18219"
},
"ietf-ip:ipv4": {
"mtu": 1500,
"address": [
{
"ip": "192.168.40.2",
"prefix-length": 24,
"origin": "static"
}
]
},
"ietf-ip:ipv6": {
"mtu": 1500
},
"infix-interfaces:vxlan": {
"local": "2001:db8::100",
"remote": "2001:db8::200",
"vni": 6
}
}
]
}
+113 -60
View File
@@ -27,8 +27,8 @@
"oper-status": "up",
"phys-address": "00:00:00:00:00:00",
"statistics": {
"in-octets": "420569",
"out-octets": "420569"
"in-octets": "3016668",
"out-octets": "3016668"
},
"type": "infix-if-type:loopback"
},
@@ -52,8 +52,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:01",
"statistics": {
"in-octets": "5654369",
"out-octets": "8200041"
"in-octets": "2776431",
"out-octets": "5420321"
},
"type": "infix-if-type:etherlike"
},
@@ -77,7 +77,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:02",
"statistics": {
"out-octets": "101161"
"in-octets": "700",
"out-octets": "288796"
},
"type": "infix-if-type:etherlike"
},
@@ -107,8 +108,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:03",
"statistics": {
"in-octets": "23589",
"out-octets": "251584"
"in-octets": "770",
"out-octets": "892021"
},
"type": "infix-if-type:etherlike"
},
@@ -132,8 +133,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:04",
"statistics": {
"in-octets": "30583",
"out-octets": "231318"
"in-octets": "70",
"out-octets": "275470"
},
"type": "infix-if-type:etherlike"
},
@@ -157,8 +158,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:05",
"statistics": {
"in-octets": "67364",
"out-octets": "105244"
"in-octets": "182086",
"out-octets": "275083"
},
"type": "infix-if-type:etherlike"
},
@@ -182,8 +183,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:06",
"statistics": {
"in-octets": "136295",
"out-octets": "209032"
"in-octets": "185476",
"out-octets": "275412"
},
"type": "infix-if-type:etherlike"
},
@@ -207,8 +208,8 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:07",
"statistics": {
"in-octets": "70752",
"out-octets": "108022"
"in-octets": "183112",
"out-octets": "274994"
},
"type": "infix-if-type:etherlike"
},
@@ -220,7 +221,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 47,
"if-index": 73,
"infix-interfaces:bridge": {
"multicast": {
"querier": "off",
@@ -243,7 +244,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 48,
"if-index": 74,
"infix-interfaces:bridge-port": {
"bridge": "br-X",
"flood": {
@@ -275,7 +276,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 49,
"if-index": 75,
"infix-interfaces:bridge": {
"multicast": {
"querier": "off",
@@ -298,7 +299,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 50,
"if-index": 76,
"infix-interfaces:bridge-port": {
"bridge": "br-Q",
"flood": {
@@ -317,9 +318,10 @@
},
"name": "veth0b",
"oper-status": "up",
"phys-address": "e2:f0:55:1b:34:f3",
"phys-address": "86:e0:fb:54:94:e8",
"statistics": {
"in-octets": "13501"
"in-octets": "37942",
"out-octets": "305"
},
"type": "infix-if-type:veth"
},
@@ -331,15 +333,16 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 51,
"if-index": 77,
"infix-interfaces:veth": {
"peer": "veth0b"
},
"name": "veth0a",
"oper-status": "up",
"phys-address": "86:2a:11:4e:5d:9f",
"phys-address": "be:40:fd:0e:8d:c6",
"statistics": {
"out-octets": "13501"
"in-octets": "305",
"out-octets": "37942"
},
"type": "infix-if-type:veth"
},
@@ -351,7 +354,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 52,
"if-index": 78,
"infix-interfaces:bridge-port": {
"bridge": "br-D",
"flood": {
@@ -372,9 +375,9 @@
},
"name": "veth0a.20",
"oper-status": "up",
"phys-address": "86:2a:11:4e:5d:9f",
"phys-address": "be:40:fd:0e:8d:c6",
"statistics": {
"out-octets": "13501"
"out-octets": "37682"
},
"type": "infix-if-type:vlan"
},
@@ -410,7 +413,7 @@
],
"mtu": 1500
},
"if-index": 53,
"if-index": 79,
"infix-interfaces:bridge": {
"multicast": {
"querier": "off",
@@ -424,7 +427,7 @@
"oper-status": "up",
"phys-address": "00:a0:85:00:03:00",
"statistics": {
"out-octets": "13501"
"out-octets": "37682"
},
"type": "infix-if-type:bridge"
},
@@ -436,27 +439,11 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 54,
"if-index": 80,
"infix-interfaces:bridge": {
"vlans": {
"proto": "ieee802-dot1q-types:c-vlan",
"vlan": [
{
"multicast": {
"querier": "off",
"snooping": true
},
"multicast-filters": {
"multicast-filter": []
},
"tagged": [
"veth0b"
],
"untagged": [
"br-Q"
],
"vid": 10
},
{
"multicast": {
"querier": "off",
@@ -483,11 +470,12 @@
"multicast-filter": []
},
"tagged": [
"br-Q",
"e3",
"veth0b"
],
"untagged": [],
"untagged": [
"br-Q"
],
"vid": 30
},
{
@@ -509,14 +497,11 @@
]
}
},
"infix-interfaces:bridge-port": {
"pvid": 10
},
"name": "br-Q",
"oper-status": "up",
"phys-address": "00:a0:85:00:03:00",
"statistics": {
"in-octets": "9469"
"in-octets": "33728"
},
"type": "infix-if-type:bridge"
},
@@ -528,7 +513,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 55,
"if-index": 81,
"infix-interfaces:vlan": {
"id": 40,
"lower-layer-if": "br-Q",
@@ -547,7 +532,7 @@
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 56,
"if-index": 82,
"infix-interfaces:vlan": {
"id": 10,
"lower-layer-if": "e3",
@@ -566,7 +551,7 @@
"ietf-ip:ipv6": {
"mtu": 1476
},
"if-index": 57,
"if-index": 83,
"infix-interfaces:gre": {
"local": "192.168.20.1",
"remote": "192.168.20.2"
@@ -578,12 +563,19 @@
{
"admin-status": "up",
"ietf-ip:ipv4": {
"address": [
{
"ip": "192.168.50.2",
"origin": "static",
"prefix-length": 16
}
],
"mtu": 1448
},
"ietf-ip:ipv6": {
"mtu": 1448
},
"if-index": 58,
"if-index": 84,
"infix-interfaces:gre": {
"local": "2001:db8::1",
"remote": "2001:db8::2"
@@ -600,14 +592,17 @@
"ietf-ip:ipv6": {
"mtu": 1462
},
"if-index": 59,
"if-index": 85,
"infix-interfaces:gre": {
"local": "192.168.20.1",
"remote": "192.168.20.2"
},
"name": "gretap-v4",
"oper-status": "up",
"phys-address": "1e:9d:e1:46:5d:9e",
"phys-address": "ba:a0:f5:c1:68:83",
"statistics": {
"out-octets": "249"
},
"type": "infix-if-type:gretap"
},
{
@@ -618,15 +613,73 @@
"ietf-ip:ipv6": {
"mtu": 1434
},
"if-index": 60,
"if-index": 86,
"infix-interfaces:gre": {
"local": "2001:db8::1",
"remote": "2001:db8::2"
},
"name": "gretap-v6",
"oper-status": "up",
"phys-address": "ae:c7:28:08:7c:ca",
"phys-address": "1a:1b:84:dd:ca:2c",
"statistics": {
"out-octets": "205"
},
"type": "infix-if-type:gretap"
},
{
"admin-status": "up",
"ietf-ip:ipv4": {
"address": [
{
"ip": "192.168.30.2",
"origin": "static",
"prefix-length": 24
}
],
"mtu": 1500
},
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 87,
"infix-interfaces:vxlan": {
"local": "192.168.20.100",
"remote": "192.168.20.200",
"vni": 4
},
"name": "vxlan-v4",
"oper-status": "up",
"phys-address": "f6:56:cb:3e:55:0f",
"type": "infix-if-type:vxlan"
},
{
"admin-status": "up",
"ietf-ip:ipv4": {
"address": [
{
"ip": "192.168.40.2",
"origin": "static",
"prefix-length": 24
}
],
"mtu": 1500
},
"ietf-ip:ipv6": {
"mtu": 1500
},
"if-index": 88,
"infix-interfaces:vxlan": {
"local": "2001:db8::100",
"remote": "2001:db8::200",
"vni": 6
},
"name": "vxlan-v6",
"oper-status": "up",
"phys-address": "fe:aa:b4:8a:33:1b",
"statistics": {
"out-octets": "18219"
},
"type": "infix-if-type:vxlan"
}
]
}
@@ -1 +0,0 @@
[{"mdb":[],"router":{}}]
@@ -1 +1 @@
[{"ifname":"br-Q","vlans":[{"vlan":10,"mcast_snooping":1,"mcast_querier":0,"mcast_igmp_version":2,"mcast_mld_version":1,"mcast_last_member_count":2,"mcast_last_member_interval":100,"mcast_startup_query_count":2,"mcast_startup_query_interval":3124,"mcast_membership_interval":26000,"mcast_querier_interval":25500,"mcast_query_interval":12500,"mcast_query_response_interval":1000,"msti":0},{"vlan":20,"mcast_snooping":1,"mcast_querier":0,"mcast_igmp_version":2,"mcast_mld_version":1,"mcast_last_member_count":2,"mcast_last_member_interval":100,"mcast_startup_query_count":2,"mcast_startup_query_interval":3124,"mcast_membership_interval":26000,"mcast_querier_interval":25500,"mcast_query_interval":12500,"mcast_query_response_interval":1000,"msti":0},{"vlan":30,"mcast_snooping":1,"mcast_querier":0,"mcast_igmp_version":2,"mcast_mld_version":1,"mcast_last_member_count":2,"mcast_last_member_interval":100,"mcast_startup_query_count":2,"mcast_startup_query_interval":3124,"mcast_membership_interval":26000,"mcast_querier_interval":25500,"mcast_query_interval":12500,"mcast_query_response_interval":1000,"msti":0},{"vlan":40,"mcast_snooping":1,"mcast_querier":0,"mcast_igmp_version":2,"mcast_mld_version":1,"mcast_last_member_count":2,"mcast_last_member_interval":100,"mcast_startup_query_count":2,"mcast_startup_query_interval":3124,"mcast_membership_interval":26000,"mcast_querier_interval":25500,"mcast_query_interval":12500,"mcast_query_response_interval":1000,"msti":0}]}]
[{"ifname":"br-Q","vlans":[{"vlan":20,"mcast_snooping":1,"mcast_querier":0,"mcast_igmp_version":2,"mcast_mld_version":1,"mcast_last_member_count":2,"mcast_last_member_interval":100,"mcast_startup_query_count":2,"mcast_startup_query_interval":3124,"mcast_membership_interval":26000,"mcast_querier_interval":25500,"mcast_query_interval":12500,"mcast_query_response_interval":1000,"msti":0},{"vlan":30,"mcast_snooping":1,"mcast_querier":0,"mcast_igmp_version":2,"mcast_mld_version":1,"mcast_last_member_count":2,"mcast_last_member_interval":100,"mcast_startup_query_count":2,"mcast_startup_query_interval":3124,"mcast_membership_interval":26000,"mcast_querier_interval":25500,"mcast_query_interval":12500,"mcast_query_response_interval":1000,"msti":0},{"vlan":40,"mcast_snooping":1,"mcast_querier":0,"mcast_igmp_version":2,"mcast_mld_version":1,"mcast_last_member_count":2,"mcast_last_member_interval":100,"mcast_startup_query_count":2,"mcast_startup_query_interval":3124,"mcast_membership_interval":26000,"mcast_querier_interval":25500,"mcast_query_interval":12500,"mcast_query_response_interval":1000,"msti":0}]}]
@@ -1 +1 @@
[{"ifname":"e3","vlans":[{"vlan":20},{"vlan":30},{"vlan":40}]},{"ifname":"veth0b","vlans":[{"vlan":10},{"vlan":20},{"vlan":30},{"vlan":40}]},{"ifname":"br-Q","vlans":[{"vlan":10,"flags":["PVID","Egress Untagged"]},{"vlan":20,"flags":["Egress Untagged"]},{"vlan":30},{"vlan":40}]}]
[{"ifname":"e3","vlans":[{"vlan":20},{"vlan":30},{"vlan":40}]},{"ifname":"veth0b","vlans":[{"vlan":20},{"vlan":30},{"vlan":40}]},{"ifname":"br-Q","vlans":[{"vlan":20,"flags":["Egress Untagged"]},{"vlan":30,"flags":["Egress Untagged"]},{"vlan":40}]}]
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+14 -1
View File
@@ -6,6 +6,19 @@ gen_test=ietf_interfaces/verify_all_interface_types/test.py
gen_iface=d3a
cli_commands="show-interfaces"
cli_commands="$cli_commands show-interfaces_-n_br-0"
cli_commands="$cli_commands show-interfaces_-n_br-X"
cli_commands="$cli_commands show-interfaces_-n_br-D"
cli_commands="$cli_commands show-interfaces_-n_br-Q"
cli_commands="$cli_commands show-interfaces_-n_br-Q.40"
cli_commands="$cli_commands show-interfaces_-n_veth0a"
cli_commands="$cli_commands show-interfaces_-n_veth0b"
cli_commands="$cli_commands show-interfaces_-n_veth0a.20"
cli_commands="$cli_commands show-interfaces_-n_gretap-v4"
cli_commands="$cli_commands show-interfaces_-n_gretap-v6"
cli_commands="$cli_commands show-interfaces_-n_gre-v4"
cli_commands="$cli_commands show-interfaces_-n_gre-v6"
cli_commands="$cli_commands show-interfaces_-n_vxlan-v6"
cli_commands="$cli_commands show-interfaces_-n_vxlan-v4"
. $(readlink -f $(dirname $0)/../test.sh)
main "$@"