mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
test: statd: Add unittest for containers
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
---
|
||||
- case: containers/test
|
||||
name: "containers"
|
||||
- case: interfaces-all/test
|
||||
name: "interfaces-all"
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
[7mINTERFACE PROTOCOL STATE DATA [0m
|
||||
lo ethernet [32mUP [39m00:00:00:00:00:00
|
||||
ipv4 127.0.0.1/8 (static)
|
||||
ipv6 ::1/128 (static)
|
||||
br0 bridge [33m [39mvlan:1u pvid:1
|
||||
│ ethernet [32mUP [39m00:a0:85:00:03:00
|
||||
│ ipv4 169.254.1.1/16 (random)
|
||||
│ ipv6 fe80::2a0:85ff:fe00:300/64 (link-layer)
|
||||
├ e3 bridge [32mFORWARDING [39mvlan:1u pvid:1
|
||||
├ e4 bridge [32mFORWARDING [39mvlan:1u pvid:1
|
||||
├ veth0b bridge [32mFORWARDING [39mvlan:1u pvid:1
|
||||
└ veth2b bridge [32mFORWARDING [39mvlan:1u pvid:1
|
||||
br1 bridge [33m [39m
|
||||
│ ethernet [32mUP [39m00:a0:85:00:03:00
|
||||
├ veth1b bridge [32mFORWARDING [39mvlan:6u pvid:6
|
||||
└ veth3b bridge [32mFORWARDING [39m
|
||||
e1 ethernet [32mUP [39m00:a0:85:00:03:01
|
||||
ipv6 fe80::2a0:85ff:fe00:301/64 (link-layer)
|
||||
e2 ethernet [32mUP [39m00:a0:85:00:03:02
|
||||
ipv6 fe80::2a0:85ff:fe00:302/64 (link-layer)
|
||||
e3.8 ethernet [32mUP [39m00:a0:85:00:03:03
|
||||
│ ipv4 10.1.1.1/32 (static)
|
||||
└ e3 ethernet [32mUP [39m00:a0:85:00:03:03
|
||||
e4.8 ethernet [32mUP [39m00:a0:85:00:03:04
|
||||
│ ipv4 10.1.1.1/32 (static)
|
||||
└ e4 ethernet [32mUP [39m00:a0:85:00:03:04
|
||||
e5 ethernet [32mUP [39m00:a0:85:00:03:05
|
||||
ipv6 fe80::2a0:85ff:fe00:305/64 (link-layer)
|
||||
e6 ethernet [32mUP [39m00:a0:85:00:03:06
|
||||
ipv4 10.1.1.101/24 (static)
|
||||
ipv6 fe80::2a0:85ff:fe00:306/64 (link-layer)
|
||||
e7 ethernet [32mUP [39m00:a0:85:00:03:07
|
||||
ipv6 fe80::2a0:85ff:fe00:307/64 (link-layer)
|
||||
[100mveth0a container container-A [0m
|
||||
veth0b ethernet [32mUP [39mc2:61:ae:82:0a:c1
|
||||
[100mveth1a container container-A [0m
|
||||
veth1b ethernet [32mUP [39me6:c6:34:dc:b9:f4
|
||||
[100mveth2a container container-B [0m
|
||||
veth2b ethernet [32mUP [39m96:8b:c6:17:74:d3
|
||||
[100mveth3a container container-B [0m
|
||||
veth3b ethernet [32mUP [39m0e:c3:01:d6:e6:ea
|
||||
@@ -0,0 +1,12 @@
|
||||
[7m DESTINATION PREF NEXT-HOP PROTO UPTIME[0m
|
||||
>* 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
|
||||
* 10.1.2.1
|
||||
>* 10.1.3.0/24 110/2 10.1.1.100 ospfv2 01:59:57
|
||||
* 10.1.3.1
|
||||
>* 169.254.0.0/16 0/0 br0 direct 02:00:46
|
||||
@@ -0,0 +1,7 @@
|
||||
[7m DESTINATION PREF NEXT-HOP PROTO UPTIME[0m
|
||||
* 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
|
||||
@@ -0,0 +1,642 @@
|
||||
{
|
||||
"ietf-interfaces:interfaces": {
|
||||
"interface": [
|
||||
{
|
||||
"type": "infix-if-type:loopback",
|
||||
"name": "lo",
|
||||
"if-index": 1,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "00:00:00:00:00:00",
|
||||
"statistics": {
|
||||
"in-octets": "72275",
|
||||
"out-octets": "72275"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"address": [
|
||||
{
|
||||
"ip": "127.0.0.1",
|
||||
"prefix-length": 8,
|
||||
"origin": "static"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 65536,
|
||||
"address": [
|
||||
{
|
||||
"ip": "::1",
|
||||
"prefix-length": 128,
|
||||
"origin": "static"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:etherlike",
|
||||
"name": "e1",
|
||||
"if-index": 2,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "00:a0:85:00:03:01",
|
||||
"statistics": {
|
||||
"in-octets": "5166282",
|
||||
"out-octets": "7407399"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500,
|
||||
"address": [
|
||||
{
|
||||
"ip": "fe80::2a0:85ff:fe00:301",
|
||||
"prefix-length": 64,
|
||||
"origin": "link-layer"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:etherlike",
|
||||
"name": "e2",
|
||||
"if-index": 3,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "00:a0:85:00:03:02",
|
||||
"statistics": {
|
||||
"out-octets": "79382"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500,
|
||||
"address": [
|
||||
{
|
||||
"ip": "fe80::2a0:85ff:fe00:302",
|
||||
"prefix-length": 64,
|
||||
"origin": "link-layer"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:etherlike",
|
||||
"name": "e3",
|
||||
"if-index": 4,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "00:a0:85:00:03:03",
|
||||
"statistics": {
|
||||
"in-octets": "23589",
|
||||
"out-octets": "208789"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"infix-interfaces:bridge-port": {
|
||||
"pvid": 1,
|
||||
"bridge": "br0",
|
||||
"flood": {
|
||||
"broadcast": true,
|
||||
"unicast": true,
|
||||
"multicast": true
|
||||
},
|
||||
"multicast": {
|
||||
"fast-leave": false,
|
||||
"router": "auto"
|
||||
},
|
||||
"stp-state": "forwarding"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:etherlike",
|
||||
"name": "e4",
|
||||
"if-index": 5,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "00:a0:85:00:03:04",
|
||||
"statistics": {
|
||||
"in-octets": "30583",
|
||||
"out-octets": "206341"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"infix-interfaces:bridge-port": {
|
||||
"pvid": 1,
|
||||
"bridge": "br0",
|
||||
"flood": {
|
||||
"broadcast": true,
|
||||
"unicast": true,
|
||||
"multicast": true
|
||||
},
|
||||
"multicast": {
|
||||
"fast-leave": false,
|
||||
"router": "auto"
|
||||
},
|
||||
"stp-state": "forwarding"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:etherlike",
|
||||
"name": "e5",
|
||||
"if-index": 6,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "00:a0:85:00:03:05",
|
||||
"statistics": {
|
||||
"in-octets": "66626",
|
||||
"out-octets": "83465"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500,
|
||||
"address": [
|
||||
{
|
||||
"ip": "fe80::2a0:85ff:fe00:305",
|
||||
"prefix-length": 64,
|
||||
"origin": "link-layer"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:etherlike",
|
||||
"name": "e6",
|
||||
"if-index": 7,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "00:a0:85:00:03:06",
|
||||
"statistics": {
|
||||
"in-octets": "134367",
|
||||
"out-octets": "184122"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500,
|
||||
"address": [
|
||||
{
|
||||
"ip": "10.1.1.101",
|
||||
"prefix-length": 24,
|
||||
"origin": "static"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500,
|
||||
"address": [
|
||||
{
|
||||
"ip": "fe80::2a0:85ff:fe00:306",
|
||||
"prefix-length": 64,
|
||||
"origin": "link-layer"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:etherlike",
|
||||
"name": "e7",
|
||||
"if-index": 8,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "00:a0:85:00:03:07",
|
||||
"statistics": {
|
||||
"in-octets": "70368",
|
||||
"out-octets": "86243"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500,
|
||||
"address": [
|
||||
{
|
||||
"ip": "fe80::2a0:85ff:fe00:307",
|
||||
"prefix-length": 64,
|
||||
"origin": "link-layer"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:veth",
|
||||
"name": "veth0b",
|
||||
"if-index": 22,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "c2:61:ae:82:0a:c1",
|
||||
"statistics": {
|
||||
"in-octets": "1583",
|
||||
"out-octets": "28383"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"infix-interfaces:bridge-port": {
|
||||
"pvid": 1,
|
||||
"bridge": "br0",
|
||||
"flood": {
|
||||
"broadcast": true,
|
||||
"unicast": true,
|
||||
"multicast": true
|
||||
},
|
||||
"multicast": {
|
||||
"fast-leave": false,
|
||||
"router": "auto"
|
||||
},
|
||||
"stp-state": "forwarding"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:veth",
|
||||
"name": "veth2b",
|
||||
"if-index": 24,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "96:8b:c6:17:74:d3",
|
||||
"statistics": {
|
||||
"in-octets": "796",
|
||||
"out-octets": "28028"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"infix-interfaces:bridge-port": {
|
||||
"pvid": 1,
|
||||
"bridge": "br0",
|
||||
"flood": {
|
||||
"broadcast": true,
|
||||
"unicast": true,
|
||||
"multicast": true
|
||||
},
|
||||
"multicast": {
|
||||
"fast-leave": false,
|
||||
"router": "auto"
|
||||
},
|
||||
"stp-state": "forwarding"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:bridge",
|
||||
"name": "br0",
|
||||
"if-index": 25,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "00:a0:85:00:03:00",
|
||||
"statistics": {
|
||||
"in-octets": "3285",
|
||||
"out-octets": "28281"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500,
|
||||
"address": [
|
||||
{
|
||||
"ip": "169.254.1.1",
|
||||
"prefix-length": 16,
|
||||
"origin": "random"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500,
|
||||
"address": [
|
||||
{
|
||||
"ip": "fe80::2a0:85ff:fe00:300",
|
||||
"prefix-length": 64,
|
||||
"origin": "link-layer"
|
||||
}
|
||||
]
|
||||
},
|
||||
"infix-interfaces:bridge": {
|
||||
"vlans": {
|
||||
"proto": "ieee802-dot1q-types:c-vlan",
|
||||
"vlan": [
|
||||
{
|
||||
"vid": 1,
|
||||
"untagged": [
|
||||
"br0",
|
||||
"e3",
|
||||
"e4",
|
||||
"veth0b",
|
||||
"veth2b"
|
||||
],
|
||||
"tagged": [],
|
||||
"multicast": {
|
||||
"snooping": true,
|
||||
"querier": "off"
|
||||
},
|
||||
"multicast-filters": {
|
||||
"multicast-filter": []
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"infix-interfaces:bridge-port": {
|
||||
"pvid": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:veth",
|
||||
"name": "veth1b",
|
||||
"if-index": 27,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "e6:c6:34:dc:b9:f4",
|
||||
"statistics": {
|
||||
"in-octets": "796"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"infix-interfaces:bridge-port": {
|
||||
"pvid": 6,
|
||||
"bridge": "br1",
|
||||
"flood": {
|
||||
"broadcast": true,
|
||||
"unicast": true,
|
||||
"multicast": true
|
||||
},
|
||||
"multicast": {
|
||||
"fast-leave": false,
|
||||
"router": "auto"
|
||||
},
|
||||
"stp-state": "forwarding"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:veth",
|
||||
"name": "veth3b",
|
||||
"if-index": 29,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "0e:c3:01:d6:e6:ea",
|
||||
"statistics": {
|
||||
"in-octets": "796"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"infix-interfaces:bridge-port": {
|
||||
"bridge": "br1",
|
||||
"flood": {
|
||||
"broadcast": true,
|
||||
"unicast": true,
|
||||
"multicast": true
|
||||
},
|
||||
"multicast": {
|
||||
"fast-leave": false,
|
||||
"router": "auto"
|
||||
},
|
||||
"stp-state": "forwarding"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:bridge",
|
||||
"name": "br1",
|
||||
"if-index": 30,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "00:a0:85:00:03:00",
|
||||
"statistics": {
|
||||
"in-octets": "656"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"infix-interfaces:bridge": {
|
||||
"vlans": {
|
||||
"proto": "ieee802-dot1q-types:c-vlan",
|
||||
"vlan": [
|
||||
{
|
||||
"vid": 6,
|
||||
"untagged": [
|
||||
"veth1b"
|
||||
],
|
||||
"tagged": [],
|
||||
"multicast": {
|
||||
"snooping": true,
|
||||
"querier": "off"
|
||||
},
|
||||
"multicast-filters": {
|
||||
"multicast-filter": []
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:vlan",
|
||||
"name": "e3.8",
|
||||
"if-index": 31,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "00:a0:85:00:03:03",
|
||||
"statistics": {
|
||||
"in-octets": "5005",
|
||||
"out-octets": "16009"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500,
|
||||
"address": [
|
||||
{
|
||||
"ip": "10.1.1.1",
|
||||
"prefix-length": 32,
|
||||
"origin": "static"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"infix-interfaces:vlan": {
|
||||
"tag-type": "ieee802-dot1q-types:c-vlan",
|
||||
"id": 8,
|
||||
"lower-layer-if": "e3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:vlan",
|
||||
"name": "e4.8",
|
||||
"if-index": 32,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"phys-address": "00:a0:85:00:03:04",
|
||||
"statistics": {
|
||||
"in-octets": "15080",
|
||||
"out-octets": "15546"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500,
|
||||
"address": [
|
||||
{
|
||||
"ip": "10.1.1.1",
|
||||
"prefix-length": 32,
|
||||
"origin": "static"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"infix-interfaces:vlan": {
|
||||
"tag-type": "ieee802-dot1q-types:c-vlan",
|
||||
"id": 8,
|
||||
"lower-layer-if": "e4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:veth",
|
||||
"name": "veth2a",
|
||||
"if-index": 23,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"description": "eth0",
|
||||
"phys-address": "06:a0:85:00:03:00",
|
||||
"statistics": {
|
||||
"in-octets": "28028",
|
||||
"out-octets": "796"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"address": [
|
||||
{
|
||||
"ip": "fe80::4a0:85ff:fe00:300",
|
||||
"prefix-length": 64,
|
||||
"origin": "link-layer"
|
||||
}
|
||||
]
|
||||
},
|
||||
"infix-interfaces:container-network": {
|
||||
"containers": [
|
||||
"container-B"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:veth",
|
||||
"name": "veth3a",
|
||||
"if-index": 28,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"description": "eth1",
|
||||
"phys-address": "06:a0:85:00:03:00",
|
||||
"statistics": {
|
||||
"out-octets": "796"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"address": [
|
||||
{
|
||||
"ip": "fe80::4a0:85ff:fe00:300",
|
||||
"prefix-length": 64,
|
||||
"origin": "link-layer"
|
||||
}
|
||||
]
|
||||
},
|
||||
"infix-interfaces:container-network": {
|
||||
"containers": [
|
||||
"container-B"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "infix-if-type:veth",
|
||||
"name": "veth0a",
|
||||
"if-index": 21,
|
||||
"admin-status": "up",
|
||||
"oper-status": "up",
|
||||
"description": "br0",
|
||||
"phys-address": "06:a0:85:00:03:00",
|
||||
"statistics": {
|
||||
"in-octets": "28425",
|
||||
"out-octets": "1625"
|
||||
},
|
||||
"ietf-ip:ipv4": {
|
||||
"mtu": 1500,
|
||||
"address": [
|
||||
{
|
||||
"ip": "169.254.1.2",
|
||||
"prefix-length": 16,
|
||||
"origin": "other"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ietf-ip:ipv6": {
|
||||
"mtu": 1500,
|
||||
"address": [
|
||||
{
|
||||
"ip": "fe80::4a0:85ff:fe00:300",
|
||||
"prefix-length": 64,
|
||||
"origin": "link-layer"
|
||||
}
|
||||
]
|
||||
},
|
||||
"infix-interfaces:container-network": {
|
||||
"containers": [
|
||||
"container-A"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,139 @@
|
||||
{
|
||||
"ietf-routing:routing": {
|
||||
"control-plane-protocols": {
|
||||
"control-plane-protocol": [
|
||||
{
|
||||
"type": "infix-routing:ospfv2",
|
||||
"name": "default",
|
||||
"ietf-ospf:ospf": {
|
||||
"ietf-ospf:areas": {
|
||||
"ietf-ospf:area": [
|
||||
{
|
||||
"ietf-ospf:area-id": "0.0.0.1",
|
||||
"ietf-ospf:interfaces": {
|
||||
"ietf-ospf:interface": [
|
||||
{
|
||||
"ietf-ospf:neighbors": {
|
||||
"ietf-ospf:neighbor": [
|
||||
{
|
||||
"neighbor-router-id": "10.1.2.1",
|
||||
"address": "10.1.2.1",
|
||||
"dead-timer": 25130,
|
||||
"state": "full"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "e3.8",
|
||||
"passive": false,
|
||||
"enabled": true,
|
||||
"interface-type": "point-to-point",
|
||||
"state": "point-to-point"
|
||||
},
|
||||
{
|
||||
"ietf-ospf:neighbors": {
|
||||
"ietf-ospf:neighbor": [
|
||||
{
|
||||
"neighbor-router-id": "10.1.3.1",
|
||||
"address": "10.1.3.1",
|
||||
"dead-timer": 25210,
|
||||
"state": "full"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "e4.8",
|
||||
"passive": false,
|
||||
"enabled": true,
|
||||
"interface-type": "point-to-point",
|
||||
"state": "point-to-point"
|
||||
},
|
||||
{
|
||||
"ietf-ospf:neighbors": {
|
||||
"ietf-ospf:neighbor": [
|
||||
{
|
||||
"neighbor-router-id": "192.168.100.1",
|
||||
"address": "10.1.1.100",
|
||||
"dead-timer": 34600,
|
||||
"state": "full",
|
||||
"dr-router-id": "192.168.100.1",
|
||||
"bdr-router-id": "10.1.1.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "e6",
|
||||
"dr-router-id": "192.168.100.1",
|
||||
"dr-ip-addr": "10.1.1.100",
|
||||
"bdr-router-id": "10.1.1.1",
|
||||
"bdr-ip-addr": "10.1.1.101",
|
||||
"passive": false,
|
||||
"enabled": true,
|
||||
"interface-type": "broadcast",
|
||||
"state": "bdr"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ietf-ospf:area-type": "nssa-area"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ietf-ospf:router-id": "10.1.1.1",
|
||||
"ietf-ospf:address-family": "ipv4",
|
||||
"ietf-ospf:local-rib": {
|
||||
"ietf-ospf:route": [
|
||||
{
|
||||
"prefix": "0.0.0.0/0",
|
||||
"route-type": "inter-area",
|
||||
"next-hops": {
|
||||
"next-hop": [
|
||||
{
|
||||
"next-hop": "10.1.1.100"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"prefix": "10.1.1.0/24",
|
||||
"route-type": "intra-area",
|
||||
"next-hops": {
|
||||
"next-hop": [
|
||||
{
|
||||
"outgoing-interface": "e6"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"prefix": "10.1.2.0/24",
|
||||
"route-type": "intra-area",
|
||||
"next-hops": {
|
||||
"next-hop": [
|
||||
{
|
||||
"next-hop": "10.1.1.100"
|
||||
},
|
||||
{
|
||||
"next-hop": "10.1.2.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"prefix": "10.1.3.0/24",
|
||||
"route-type": "intra-area",
|
||||
"next-hops": {
|
||||
"next-hop": [
|
||||
{
|
||||
"next-hop": "10.1.1.100"
|
||||
},
|
||||
{
|
||||
"next-hop": "10.1.3.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,325 @@
|
||||
{
|
||||
"ietf-routing:routing": {
|
||||
"ribs": {
|
||||
"rib": [
|
||||
{
|
||||
"name": "ipv4",
|
||||
"address-family": "ipv4",
|
||||
"routes": {
|
||||
"route": [
|
||||
{
|
||||
"ietf-ipv4-unicast-routing:destination-prefix": "0.0.0.0/0",
|
||||
"source-protocol": "ietf-ospf:ospfv2",
|
||||
"route-preference": 110,
|
||||
"ietf-ospf:metric": 2,
|
||||
"active": [
|
||||
null
|
||||
],
|
||||
"last-updated": "2025-01-20T10:00:03+00:00",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"ietf-ipv4-unicast-routing:address": "10.1.1.100",
|
||||
"infix-routing:installed": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"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",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"outgoing-interface": "br0"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.1.0/24",
|
||||
"source-protocol": "ietf-ospf:ospfv2",
|
||||
"route-preference": 110,
|
||||
"ietf-ospf:metric": 1,
|
||||
"last-updated": "2025-01-20T09:59:53+00:00",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"outgoing-interface": "e6"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.1.0/24",
|
||||
"source-protocol": "direct",
|
||||
"route-preference": 0,
|
||||
"active": [
|
||||
null
|
||||
],
|
||||
"last-updated": "2025-01-20T09:59:09+00:00",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"outgoing-interface": "e6",
|
||||
"infix-routing:installed": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"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",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"outgoing-interface": "e4.8",
|
||||
"infix-routing:installed": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.1.1/32",
|
||||
"source-protocol": "direct",
|
||||
"route-preference": 0,
|
||||
"active": [
|
||||
null
|
||||
],
|
||||
"last-updated": "2025-01-20T09:59:08+00:00",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"outgoing-interface": "e3.8",
|
||||
"infix-routing:installed": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.2.0/24",
|
||||
"source-protocol": "ietf-ospf:ospfv2",
|
||||
"route-preference": 110,
|
||||
"ietf-ospf:metric": 2,
|
||||
"active": [
|
||||
null
|
||||
],
|
||||
"last-updated": "2025-01-20T10:00:03+00:00",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"ietf-ipv4-unicast-routing:address": "10.1.1.100",
|
||||
"infix-routing:installed": [
|
||||
null
|
||||
]
|
||||
},
|
||||
{
|
||||
"ietf-ipv4-unicast-routing:address": "10.1.2.1",
|
||||
"infix-routing:installed": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ietf-ipv4-unicast-routing:destination-prefix": "10.1.3.0/24",
|
||||
"source-protocol": "ietf-ospf:ospfv2",
|
||||
"route-preference": 110,
|
||||
"ietf-ospf:metric": 2,
|
||||
"active": [
|
||||
null
|
||||
],
|
||||
"last-updated": "2025-01-20T10:00:03+00:00",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"ietf-ipv4-unicast-routing:address": "10.1.1.100",
|
||||
"infix-routing:installed": [
|
||||
null
|
||||
]
|
||||
},
|
||||
{
|
||||
"ietf-ipv4-unicast-routing:address": "10.1.3.1",
|
||||
"infix-routing:installed": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ietf-ipv4-unicast-routing:destination-prefix": "169.254.0.0/16",
|
||||
"source-protocol": "direct",
|
||||
"route-preference": 0,
|
||||
"active": [
|
||||
null
|
||||
],
|
||||
"last-updated": "2025-01-20T09:59:14+00:00",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"outgoing-interface": "br0",
|
||||
"infix-routing:installed": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "ipv6",
|
||||
"address-family": "ipv6",
|
||||
"routes": {
|
||||
"route": [
|
||||
{
|
||||
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
|
||||
"source-protocol": "direct",
|
||||
"route-preference": 0,
|
||||
"last-updated": "2025-01-20T09:59:10+00:00",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"outgoing-interface": "e6",
|
||||
"infix-routing:installed": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
|
||||
"source-protocol": "direct",
|
||||
"route-preference": 0,
|
||||
"last-updated": "2025-01-20T09:59:10+00:00",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"outgoing-interface": "br0",
|
||||
"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",
|
||||
"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",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"outgoing-interface": "e7",
|
||||
"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",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"outgoing-interface": "e2",
|
||||
"infix-routing:installed": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"ietf-ipv6-unicast-routing:destination-prefix": "fe80::/64",
|
||||
"source-protocol": "direct",
|
||||
"route-preference": 0,
|
||||
"active": [
|
||||
null
|
||||
],
|
||||
"last-updated": "2025-01-20T08:05:03+00:00",
|
||||
"next-hop": {
|
||||
"next-hop-list": {
|
||||
"next-hop": [
|
||||
{
|
||||
"outgoing-interface": "e1",
|
||||
"infix-routing:installed": [
|
||||
null
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,60 @@
|
||||
{
|
||||
"infix-containers:containers": {
|
||||
"container": [
|
||||
{
|
||||
"name": "container-B",
|
||||
"id": "0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3",
|
||||
"image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
|
||||
"image-id": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
|
||||
"running": true,
|
||||
"status": "Up About a minute",
|
||||
"command": "/usr/sbin/httpd -f -v",
|
||||
"network": {
|
||||
"interface": [
|
||||
{
|
||||
"name": "veth2a"
|
||||
},
|
||||
{
|
||||
"name": "veth3a"
|
||||
}
|
||||
],
|
||||
"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",
|
||||
"image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
|
||||
"image-id": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
|
||||
"running": true,
|
||||
"status": "Up About a minute",
|
||||
"command": "/usr/sbin/httpd -f -v -p 91",
|
||||
"network": {
|
||||
"interface": [
|
||||
{
|
||||
"name": "veth0a"
|
||||
},
|
||||
{
|
||||
"name": "veth1a"
|
||||
}
|
||||
],
|
||||
"publish": [
|
||||
"36971->91/tcp"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
65536
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
[{"mdb":[],"router":{}}]
|
||||
@@ -0,0 +1 @@
|
||||
[{"mdb":[],"router":{}}]
|
||||
@@ -0,0 +1 @@
|
||||
[{"ifname":"br0","vlans":[{"vlan":1,"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}]}]
|
||||
@@ -0,0 +1 @@
|
||||
[{"ifname":"br1","vlans":[{"vlan":6,"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}]}]
|
||||
@@ -0,0 +1 @@
|
||||
[{"ifname":"e3","vlans":[{"vlan":1,"flags":["PVID","Egress Untagged"]}]},{"ifname":"e4","vlans":[{"vlan":1,"flags":["PVID","Egress Untagged"]}]},{"ifname":"veth0b","vlans":[{"vlan":1,"flags":["PVID","Egress Untagged"]}]},{"ifname":"veth2b","vlans":[{"vlan":1,"flags":["PVID","Egress Untagged"]}]},{"ifname":"br0","vlans":[{"vlan":1,"flags":["PVID","Egress Untagged"]}]},{"ifname":"veth1b","vlans":[{"vlan":6,"flags":["PVID","Egress Untagged"]}]}]
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
[{"name":"netns-3ea40bc1-9daa-902c-71e0-81b6d69cd910","id":0},{"name":"netns-769ed047-f7d6-211b-728b-46c24d727874","id":1}]
|
||||
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +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}]}]
|
||||
+1
@@ -0,0 +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}]}]
|
||||
+1
@@ -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":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}}}]
|
||||
+1
@@ -0,0 +1 @@
|
||||
[{"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 +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}]}]
|
||||
+1
@@ -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":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,348 @@
|
||||
[
|
||||
{
|
||||
"Id": "93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e",
|
||||
"Created": "2025-01-20T09:59:10.084076243Z",
|
||||
"Path": "/usr/bin/tini",
|
||||
"Args": [
|
||||
"--",
|
||||
"/usr/sbin/httpd",
|
||||
"-f",
|
||||
"-v",
|
||||
"-p",
|
||||
"91"
|
||||
],
|
||||
"State": {
|
||||
"OciVersion": "1.1.0-rc.1",
|
||||
"Status": "running",
|
||||
"Running": true,
|
||||
"Paused": false,
|
||||
"Restarting": false,
|
||||
"OOMKilled": false,
|
||||
"Dead": false,
|
||||
"Pid": 25343,
|
||||
"ConmonPid": 25341,
|
||||
"ExitCode": 0,
|
||||
"Error": "",
|
||||
"StartedAt": "2025-01-20T09:59:10.208616914Z",
|
||||
"FinishedAt": "0001-01-01T00:00:00Z",
|
||||
"Health": {
|
||||
"Status": "",
|
||||
"FailingStreak": 0,
|
||||
"Log": null
|
||||
},
|
||||
"CgroupPath": "/containers/libpod-93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e",
|
||||
"CheckpointedAt": "0001-01-01T00:00:00Z",
|
||||
"RestoredAt": "0001-01-01T00:00:00Z"
|
||||
},
|
||||
"Image": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
|
||||
"ImageDigest": "sha256:bd3f18b45e02eac2ac96a8d329963ae18b1bcecf924ff1c98148ad178982f01d",
|
||||
"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",
|
||||
"OCIRuntime": "crun",
|
||||
"ConmonPidFile": "/run/container:container-A.pid",
|
||||
"PidFile": "/run/containers/storage/overlay-containers/93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e/userdata/pidfile",
|
||||
"Name": "container-A",
|
||||
"RestartCount": 0,
|
||||
"Driver": "overlay",
|
||||
"MountLabel": "",
|
||||
"ProcessLabel": "",
|
||||
"AppArmorProfile": "",
|
||||
"EffectiveCaps": [
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_FOWNER",
|
||||
"CAP_FSETID",
|
||||
"CAP_KILL",
|
||||
"CAP_NET_BIND_SERVICE",
|
||||
"CAP_SETFCAP",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETPCAP",
|
||||
"CAP_SETUID",
|
||||
"CAP_SYS_CHROOT"
|
||||
],
|
||||
"BoundingCaps": [
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_FOWNER",
|
||||
"CAP_FSETID",
|
||||
"CAP_KILL",
|
||||
"CAP_NET_BIND_SERVICE",
|
||||
"CAP_SETFCAP",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETPCAP",
|
||||
"CAP_SETUID",
|
||||
"CAP_SYS_CHROOT"
|
||||
],
|
||||
"ExecIDs": [],
|
||||
"GraphDriver": {
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"Mounts": [
|
||||
{
|
||||
"Type": "bind",
|
||||
"Source": "/run/containers/files/container-A-index.html",
|
||||
"Destination": "/var/www/index.html",
|
||||
"Driver": "",
|
||||
"Mode": "",
|
||||
"Options": [
|
||||
"nosuid",
|
||||
"nodev",
|
||||
"rbind"
|
||||
],
|
||||
"RW": false,
|
||||
"Propagation": "rprivate"
|
||||
}
|
||||
],
|
||||
"Dependencies": [],
|
||||
"NetworkSettings": {
|
||||
"EndpointID": "",
|
||||
"Gateway": "",
|
||||
"IPAddress": "",
|
||||
"IPPrefixLen": 0,
|
||||
"IPv6Gateway": "",
|
||||
"GlobalIPv6Address": "",
|
||||
"GlobalIPv6PrefixLen": 0,
|
||||
"MacAddress": "",
|
||||
"Bridge": "",
|
||||
"SandboxID": "",
|
||||
"HairpinMode": false,
|
||||
"LinkLocalIPv6Address": "",
|
||||
"LinkLocalIPv6PrefixLen": 0,
|
||||
"Ports": {
|
||||
"80/tcp": null,
|
||||
"91/tcp": [
|
||||
{
|
||||
"HostIp": "",
|
||||
"HostPort": "36971"
|
||||
}
|
||||
]
|
||||
},
|
||||
"SandboxKey": "/run/netns/netns-769ed047-f7d6-211b-728b-46c24d727874",
|
||||
"Networks": {
|
||||
"veth0a": {
|
||||
"EndpointID": "",
|
||||
"Gateway": "<nil>",
|
||||
"IPAddress": "169.254.1.2",
|
||||
"IPPrefixLen": 16,
|
||||
"IPv6Gateway": "",
|
||||
"GlobalIPv6Address": "",
|
||||
"GlobalIPv6PrefixLen": 0,
|
||||
"MacAddress": "06:a0:85:00:03:00",
|
||||
"NetworkID": "veth0a",
|
||||
"DriverOpts": null,
|
||||
"IPAMConfig": null,
|
||||
"Links": null,
|
||||
"Aliases": [
|
||||
"93753e99ceb3"
|
||||
]
|
||||
},
|
||||
"veth1a": {
|
||||
"EndpointID": "",
|
||||
"Gateway": "",
|
||||
"IPAddress": "",
|
||||
"IPPrefixLen": 0,
|
||||
"IPv6Gateway": "",
|
||||
"GlobalIPv6Address": "",
|
||||
"GlobalIPv6PrefixLen": 0,
|
||||
"MacAddress": "06:a0:85:00:03:00",
|
||||
"NetworkID": "veth1a",
|
||||
"DriverOpts": null,
|
||||
"IPAMConfig": null,
|
||||
"Links": null,
|
||||
"Aliases": [
|
||||
"93753e99ceb3"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Namespace": "",
|
||||
"IsInfra": false,
|
||||
"IsService": false,
|
||||
"Config": {
|
||||
"Hostname": "web-container-00-03-00",
|
||||
"Domainname": "",
|
||||
"User": "0",
|
||||
"AttachStdin": false,
|
||||
"AttachStdout": false,
|
||||
"AttachStderr": false,
|
||||
"Tty": false,
|
||||
"OpenStdin": false,
|
||||
"StdinOnce": false,
|
||||
"Env": [
|
||||
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||
"TERM=xterm",
|
||||
"container=podman",
|
||||
"HOSTNAME=web-container-00-03-00",
|
||||
"HOME=/root"
|
||||
],
|
||||
"Cmd": [
|
||||
"/usr/sbin/httpd",
|
||||
"-f",
|
||||
"-v",
|
||||
"-p",
|
||||
"91"
|
||||
],
|
||||
"Image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
|
||||
"Volumes": null,
|
||||
"WorkingDir": "/var/www",
|
||||
"Entrypoint": "/usr/bin/tini --",
|
||||
"OnBuild": null,
|
||||
"Labels": {
|
||||
"org.opencontainers.image.title": "curiOS-httpd",
|
||||
"org.opencontainers.image.url": "https://github.com/kernelkit/curiOS"
|
||||
},
|
||||
"Annotations": {
|
||||
"io.container.manager": "libpod",
|
||||
"org.opencontainers.image.stopSignal": "15"
|
||||
},
|
||||
"StopSignal": 15,
|
||||
"HealthcheckOnFailureAction": "none",
|
||||
"CreateCommand": [
|
||||
"podman",
|
||||
"create",
|
||||
"--name",
|
||||
"container-A",
|
||||
"--conmon-pidfile=/run/container:container-A.pid",
|
||||
"--read-only",
|
||||
"--replace",
|
||||
"--quiet",
|
||||
"--cgroup-parent=containers",
|
||||
"--restart=on-failure:10",
|
||||
"--systemd=false",
|
||||
"--tz=local",
|
||||
"--mount=type=bind,src=/run/containers/files/container-A-index.html,dst=/var/www/index.html,readonly=true",
|
||||
"--hostname",
|
||||
"web-container-00-03-00",
|
||||
"-p",
|
||||
"91",
|
||||
"--log-driver",
|
||||
"syslog",
|
||||
"--net=veth0a:interface_name=br0",
|
||||
"--net=veth1a:interface_name=br1",
|
||||
"curios-httpd-oci-amd64-v24.11.0",
|
||||
"/usr/sbin/httpd",
|
||||
"-f",
|
||||
"-v",
|
||||
"-p",
|
||||
"91"
|
||||
],
|
||||
"Timezone": "local",
|
||||
"Umask": "0022",
|
||||
"Timeout": 0,
|
||||
"StopTimeout": 10,
|
||||
"Passwd": true,
|
||||
"sdNotifyMode": "container"
|
||||
},
|
||||
"HostConfig": {
|
||||
"Binds": [
|
||||
"/run/containers/files/container-A-index.html:/var/www/index.html:ro,rprivate,nosuid,nodev,rbind"
|
||||
],
|
||||
"CgroupManager": "cgroupfs",
|
||||
"CgroupMode": "private",
|
||||
"ContainerIDFile": "",
|
||||
"LogConfig": {
|
||||
"Type": "syslog",
|
||||
"Config": null,
|
||||
"Path": "",
|
||||
"Tag": "",
|
||||
"Size": "0B"
|
||||
},
|
||||
"NetworkMode": "bridge",
|
||||
"PortBindings": {
|
||||
"91/tcp": [
|
||||
{
|
||||
"HostIp": "",
|
||||
"HostPort": "36971"
|
||||
}
|
||||
]
|
||||
},
|
||||
"RestartPolicy": {
|
||||
"Name": "on-failure",
|
||||
"MaximumRetryCount": 10
|
||||
},
|
||||
"AutoRemove": false,
|
||||
"VolumeDriver": "",
|
||||
"VolumesFrom": null,
|
||||
"CapAdd": [],
|
||||
"CapDrop": [],
|
||||
"Dns": [],
|
||||
"DnsOptions": [],
|
||||
"DnsSearch": [],
|
||||
"ExtraHosts": [],
|
||||
"GroupAdd": [],
|
||||
"IpcMode": "shareable",
|
||||
"Cgroup": "",
|
||||
"Cgroups": "default",
|
||||
"Links": null,
|
||||
"OomScoreAdj": 0,
|
||||
"PidMode": "private",
|
||||
"Privileged": false,
|
||||
"PublishAllPorts": false,
|
||||
"ReadonlyRootfs": true,
|
||||
"SecurityOpt": [],
|
||||
"Tmpfs": {},
|
||||
"UTSMode": "private",
|
||||
"UsernsMode": "",
|
||||
"ShmSize": 65536000,
|
||||
"Runtime": "oci",
|
||||
"ConsoleSize": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"Isolation": "",
|
||||
"CpuShares": 0,
|
||||
"Memory": 0,
|
||||
"NanoCpus": 0,
|
||||
"CgroupParent": "containers",
|
||||
"BlkioWeight": 0,
|
||||
"BlkioWeightDevice": null,
|
||||
"BlkioDeviceReadBps": null,
|
||||
"BlkioDeviceWriteBps": null,
|
||||
"BlkioDeviceReadIOps": null,
|
||||
"BlkioDeviceWriteIOps": null,
|
||||
"CpuPeriod": 0,
|
||||
"CpuQuota": 0,
|
||||
"CpuRealtimePeriod": 0,
|
||||
"CpuRealtimeRuntime": 0,
|
||||
"CpusetCpus": "",
|
||||
"CpusetMems": "",
|
||||
"Devices": [],
|
||||
"DiskQuota": 0,
|
||||
"KernelMemory": 0,
|
||||
"MemoryReservation": 0,
|
||||
"MemorySwap": 0,
|
||||
"MemorySwappiness": 0,
|
||||
"OomKillDisable": false,
|
||||
"PidsLimit": 2048,
|
||||
"Ulimits": [
|
||||
{
|
||||
"Name": "RLIMIT_NOFILE",
|
||||
"Soft": 1048576,
|
||||
"Hard": 1048576
|
||||
},
|
||||
{
|
||||
"Name": "RLIMIT_NPROC",
|
||||
"Soft": 32768,
|
||||
"Hard": 32768
|
||||
}
|
||||
],
|
||||
"CpuCount": 0,
|
||||
"CpuPercent": 0,
|
||||
"IOMaximumIOps": 0,
|
||||
"IOMaximumBandwidth": 0,
|
||||
"CgroupConf": null
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,368 @@
|
||||
[
|
||||
{
|
||||
"Id": "0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3",
|
||||
"Created": "2025-01-20T09:59:09.376207821Z",
|
||||
"Path": "/usr/bin/tini",
|
||||
"Args": [
|
||||
"--",
|
||||
"/usr/sbin/httpd",
|
||||
"-f",
|
||||
"-v"
|
||||
],
|
||||
"State": {
|
||||
"OciVersion": "1.1.0-rc.1",
|
||||
"Status": "running",
|
||||
"Running": true,
|
||||
"Paused": false,
|
||||
"Restarting": false,
|
||||
"OOMKilled": false,
|
||||
"Dead": false,
|
||||
"Pid": 25086,
|
||||
"ConmonPid": 25080,
|
||||
"ExitCode": 0,
|
||||
"Error": "",
|
||||
"StartedAt": "2025-01-20T09:59:09.771128108Z",
|
||||
"FinishedAt": "0001-01-01T00:00:00Z",
|
||||
"Health": {
|
||||
"Status": "",
|
||||
"FailingStreak": 0,
|
||||
"Log": null
|
||||
},
|
||||
"CgroupPath": "/containers/libpod-0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3",
|
||||
"CheckpointedAt": "0001-01-01T00:00:00Z",
|
||||
"RestoredAt": "0001-01-01T00:00:00Z"
|
||||
},
|
||||
"Image": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
|
||||
"ImageDigest": "sha256:bd3f18b45e02eac2ac96a8d329963ae18b1bcecf924ff1c98148ad178982f01d",
|
||||
"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",
|
||||
"OCIRuntime": "crun",
|
||||
"ConmonPidFile": "/run/container:container-B.pid",
|
||||
"PidFile": "/run/containers/storage/overlay-containers/0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3/userdata/pidfile",
|
||||
"Name": "container-B",
|
||||
"RestartCount": 0,
|
||||
"Driver": "overlay",
|
||||
"MountLabel": "",
|
||||
"ProcessLabel": "",
|
||||
"AppArmorProfile": "",
|
||||
"EffectiveCaps": [
|
||||
"CAP_AUDIT_CONTROL",
|
||||
"CAP_AUDIT_READ",
|
||||
"CAP_AUDIT_WRITE",
|
||||
"CAP_BLOCK_SUSPEND",
|
||||
"CAP_BPF",
|
||||
"CAP_CHECKPOINT_RESTORE",
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_DAC_READ_SEARCH",
|
||||
"CAP_FOWNER",
|
||||
"CAP_FSETID",
|
||||
"CAP_IPC_LOCK",
|
||||
"CAP_IPC_OWNER",
|
||||
"CAP_KILL",
|
||||
"CAP_LEASE",
|
||||
"CAP_LINUX_IMMUTABLE",
|
||||
"CAP_MAC_ADMIN",
|
||||
"CAP_MAC_OVERRIDE",
|
||||
"CAP_MKNOD",
|
||||
"CAP_NET_ADMIN",
|
||||
"CAP_NET_BIND_SERVICE",
|
||||
"CAP_NET_BROADCAST",
|
||||
"CAP_NET_RAW",
|
||||
"CAP_PERFMON",
|
||||
"CAP_SETFCAP",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETPCAP",
|
||||
"CAP_SETUID",
|
||||
"CAP_SYSLOG",
|
||||
"CAP_SYS_ADMIN",
|
||||
"CAP_SYS_BOOT",
|
||||
"CAP_SYS_CHROOT",
|
||||
"CAP_SYS_MODULE",
|
||||
"CAP_SYS_NICE",
|
||||
"CAP_SYS_PACCT",
|
||||
"CAP_SYS_PTRACE",
|
||||
"CAP_SYS_RAWIO",
|
||||
"CAP_SYS_RESOURCE",
|
||||
"CAP_SYS_TIME",
|
||||
"CAP_SYS_TTY_CONFIG",
|
||||
"CAP_WAKE_ALARM"
|
||||
],
|
||||
"BoundingCaps": [
|
||||
"CAP_AUDIT_CONTROL",
|
||||
"CAP_AUDIT_READ",
|
||||
"CAP_AUDIT_WRITE",
|
||||
"CAP_BLOCK_SUSPEND",
|
||||
"CAP_BPF",
|
||||
"CAP_CHECKPOINT_RESTORE",
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_DAC_READ_SEARCH",
|
||||
"CAP_FOWNER",
|
||||
"CAP_FSETID",
|
||||
"CAP_IPC_LOCK",
|
||||
"CAP_IPC_OWNER",
|
||||
"CAP_KILL",
|
||||
"CAP_LEASE",
|
||||
"CAP_LINUX_IMMUTABLE",
|
||||
"CAP_MAC_ADMIN",
|
||||
"CAP_MAC_OVERRIDE",
|
||||
"CAP_MKNOD",
|
||||
"CAP_NET_ADMIN",
|
||||
"CAP_NET_BIND_SERVICE",
|
||||
"CAP_NET_BROADCAST",
|
||||
"CAP_NET_RAW",
|
||||
"CAP_PERFMON",
|
||||
"CAP_SETFCAP",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETPCAP",
|
||||
"CAP_SETUID",
|
||||
"CAP_SYSLOG",
|
||||
"CAP_SYS_ADMIN",
|
||||
"CAP_SYS_BOOT",
|
||||
"CAP_SYS_CHROOT",
|
||||
"CAP_SYS_MODULE",
|
||||
"CAP_SYS_NICE",
|
||||
"CAP_SYS_PACCT",
|
||||
"CAP_SYS_PTRACE",
|
||||
"CAP_SYS_RAWIO",
|
||||
"CAP_SYS_RESOURCE",
|
||||
"CAP_SYS_TIME",
|
||||
"CAP_SYS_TTY_CONFIG",
|
||||
"CAP_WAKE_ALARM"
|
||||
],
|
||||
"ExecIDs": [],
|
||||
"GraphDriver": {
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"Mounts": [],
|
||||
"Dependencies": [],
|
||||
"NetworkSettings": {
|
||||
"EndpointID": "",
|
||||
"Gateway": "",
|
||||
"IPAddress": "",
|
||||
"IPPrefixLen": 0,
|
||||
"IPv6Gateway": "",
|
||||
"GlobalIPv6Address": "",
|
||||
"GlobalIPv6PrefixLen": 0,
|
||||
"MacAddress": "",
|
||||
"Bridge": "",
|
||||
"SandboxID": "",
|
||||
"HairpinMode": false,
|
||||
"LinkLocalIPv6Address": "",
|
||||
"LinkLocalIPv6PrefixLen": 0,
|
||||
"Ports": {
|
||||
"80/tcp": null
|
||||
},
|
||||
"SandboxKey": "/run/netns/netns-3ea40bc1-9daa-902c-71e0-81b6d69cd910",
|
||||
"Networks": {
|
||||
"veth2a": {
|
||||
"EndpointID": "",
|
||||
"Gateway": "",
|
||||
"IPAddress": "",
|
||||
"IPPrefixLen": 0,
|
||||
"IPv6Gateway": "",
|
||||
"GlobalIPv6Address": "",
|
||||
"GlobalIPv6PrefixLen": 0,
|
||||
"MacAddress": "06:a0:85:00:03:00",
|
||||
"NetworkID": "veth2a",
|
||||
"DriverOpts": null,
|
||||
"IPAMConfig": null,
|
||||
"Links": null,
|
||||
"Aliases": [
|
||||
"0aed2ca36b5e"
|
||||
]
|
||||
},
|
||||
"veth3a": {
|
||||
"EndpointID": "",
|
||||
"Gateway": "",
|
||||
"IPAddress": "",
|
||||
"IPPrefixLen": 0,
|
||||
"IPv6Gateway": "",
|
||||
"GlobalIPv6Address": "",
|
||||
"GlobalIPv6PrefixLen": 0,
|
||||
"MacAddress": "06:a0:85:00:03:00",
|
||||
"NetworkID": "veth3a",
|
||||
"DriverOpts": null,
|
||||
"IPAMConfig": null,
|
||||
"Links": null,
|
||||
"Aliases": [
|
||||
"0aed2ca36b5e"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"Namespace": "",
|
||||
"IsInfra": false,
|
||||
"IsService": false,
|
||||
"Config": {
|
||||
"Hostname": "web-container-00-03-00",
|
||||
"Domainname": "",
|
||||
"User": "0",
|
||||
"AttachStdin": false,
|
||||
"AttachStdout": false,
|
||||
"AttachStderr": false,
|
||||
"Tty": false,
|
||||
"OpenStdin": false,
|
||||
"StdinOnce": false,
|
||||
"Env": [
|
||||
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||
"TERM=xterm",
|
||||
"container=podman",
|
||||
"HOSTNAME=web-container-00-03-00",
|
||||
"HOME=/root"
|
||||
],
|
||||
"Cmd": [
|
||||
"/usr/sbin/httpd",
|
||||
"-f",
|
||||
"-v"
|
||||
],
|
||||
"Image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
|
||||
"Volumes": null,
|
||||
"WorkingDir": "/var/www",
|
||||
"Entrypoint": "/usr/bin/tini --",
|
||||
"OnBuild": null,
|
||||
"Labels": {
|
||||
"org.opencontainers.image.title": "curiOS-httpd",
|
||||
"org.opencontainers.image.url": "https://github.com/kernelkit/curiOS"
|
||||
},
|
||||
"Annotations": {
|
||||
"io.container.manager": "libpod",
|
||||
"io.podman.annotations.privileged": "TRUE",
|
||||
"org.opencontainers.image.stopSignal": "15"
|
||||
},
|
||||
"StopSignal": 15,
|
||||
"HealthcheckOnFailureAction": "none",
|
||||
"CreateCommand": [
|
||||
"podman",
|
||||
"create",
|
||||
"--name",
|
||||
"container-B",
|
||||
"--conmon-pidfile=/run/container:container-B.pid",
|
||||
"--read-only",
|
||||
"--replace",
|
||||
"--quiet",
|
||||
"--cgroup-parent=containers",
|
||||
"--restart=on-failure:10",
|
||||
"--systemd=false",
|
||||
"--tz=local",
|
||||
"--privileged=true",
|
||||
"--hostname",
|
||||
"web-container-00-03-00",
|
||||
"--log-driver",
|
||||
"syslog",
|
||||
"--net=veth2a:ip=169.254.1.3",
|
||||
"--net=veth3a",
|
||||
"curios-httpd-oci-amd64-v24.11.0"
|
||||
],
|
||||
"Timezone": "local",
|
||||
"Umask": "0022",
|
||||
"Timeout": 0,
|
||||
"StopTimeout": 10,
|
||||
"Passwd": true,
|
||||
"sdNotifyMode": "container"
|
||||
},
|
||||
"HostConfig": {
|
||||
"Binds": [],
|
||||
"CgroupManager": "cgroupfs",
|
||||
"CgroupMode": "private",
|
||||
"ContainerIDFile": "",
|
||||
"LogConfig": {
|
||||
"Type": "syslog",
|
||||
"Config": null,
|
||||
"Path": "",
|
||||
"Tag": "",
|
||||
"Size": "0B"
|
||||
},
|
||||
"NetworkMode": "bridge",
|
||||
"PortBindings": {},
|
||||
"RestartPolicy": {
|
||||
"Name": "on-failure",
|
||||
"MaximumRetryCount": 10
|
||||
},
|
||||
"AutoRemove": false,
|
||||
"VolumeDriver": "",
|
||||
"VolumesFrom": null,
|
||||
"CapAdd": [],
|
||||
"CapDrop": [],
|
||||
"Dns": [],
|
||||
"DnsOptions": [],
|
||||
"DnsSearch": [],
|
||||
"ExtraHosts": [],
|
||||
"GroupAdd": [],
|
||||
"IpcMode": "shareable",
|
||||
"Cgroup": "",
|
||||
"Cgroups": "default",
|
||||
"Links": null,
|
||||
"OomScoreAdj": 0,
|
||||
"PidMode": "private",
|
||||
"Privileged": true,
|
||||
"PublishAllPorts": false,
|
||||
"ReadonlyRootfs": true,
|
||||
"SecurityOpt": [],
|
||||
"Tmpfs": {},
|
||||
"UTSMode": "private",
|
||||
"UsernsMode": "",
|
||||
"ShmSize": 65536000,
|
||||
"Runtime": "oci",
|
||||
"ConsoleSize": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"Isolation": "",
|
||||
"CpuShares": 0,
|
||||
"Memory": 0,
|
||||
"NanoCpus": 0,
|
||||
"CgroupParent": "containers",
|
||||
"BlkioWeight": 0,
|
||||
"BlkioWeightDevice": null,
|
||||
"BlkioDeviceReadBps": null,
|
||||
"BlkioDeviceWriteBps": null,
|
||||
"BlkioDeviceReadIOps": null,
|
||||
"BlkioDeviceWriteIOps": null,
|
||||
"CpuPeriod": 0,
|
||||
"CpuQuota": 0,
|
||||
"CpuRealtimePeriod": 0,
|
||||
"CpuRealtimeRuntime": 0,
|
||||
"CpusetCpus": "",
|
||||
"CpusetMems": "",
|
||||
"Devices": [],
|
||||
"DiskQuota": 0,
|
||||
"KernelMemory": 0,
|
||||
"MemoryReservation": 0,
|
||||
"MemorySwap": 0,
|
||||
"MemorySwappiness": 0,
|
||||
"OomKillDisable": false,
|
||||
"PidsLimit": 2048,
|
||||
"Ulimits": [
|
||||
{
|
||||
"Name": "RLIMIT_NOFILE",
|
||||
"Soft": 1048576,
|
||||
"Hard": 1048576
|
||||
},
|
||||
{
|
||||
"Name": "RLIMIT_NPROC",
|
||||
"Soft": 32768,
|
||||
"Hard": 32768
|
||||
}
|
||||
],
|
||||
"CpuCount": 0,
|
||||
"CpuPercent": 0,
|
||||
"IOMaximumIOps": 0,
|
||||
"IOMaximumBandwidth": 0,
|
||||
"CgroupConf": null
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,359 @@
|
||||
[
|
||||
{
|
||||
"Id": "3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8",
|
||||
"Created": "2025-01-20T09:59:09.523653759Z",
|
||||
"Path": "/usr/bin/tini",
|
||||
"Args": [
|
||||
"--",
|
||||
"/usr/sbin/nft-helper",
|
||||
"/etc/nftables.conf"
|
||||
],
|
||||
"State": {
|
||||
"OciVersion": "1.1.0-rc.1",
|
||||
"Status": "running",
|
||||
"Running": true,
|
||||
"Paused": false,
|
||||
"Restarting": false,
|
||||
"OOMKilled": false,
|
||||
"Dead": false,
|
||||
"Pid": 25085,
|
||||
"ConmonPid": 25083,
|
||||
"ExitCode": 0,
|
||||
"Error": "",
|
||||
"StartedAt": "2025-01-20T09:59:09.756062512Z",
|
||||
"FinishedAt": "0001-01-01T00:00:00Z",
|
||||
"Health": {
|
||||
"Status": "",
|
||||
"FailingStreak": 0,
|
||||
"Log": null
|
||||
},
|
||||
"CgroupPath": "/containers/libpod-3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8",
|
||||
"CheckpointedAt": "0001-01-01T00:00:00Z",
|
||||
"RestoredAt": "0001-01-01T00:00:00Z"
|
||||
},
|
||||
"Image": "7a3cc502436250357a6664100a600f306334b4d7203890b85b7ea9b8da6b5665",
|
||||
"ImageDigest": "sha256:269ef1857e6bb63f20a70a827a7afddd620eac94d5c7ec11618121b9e271f758",
|
||||
"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",
|
||||
"OCIRuntime": "crun",
|
||||
"ConmonPidFile": "/run/container:firewall.pid",
|
||||
"PidFile": "/run/containers/storage/overlay-containers/3d9ac5c827ed9dba01401774283f00a1a79b19375fba1a3849cf64b5ed68dbb8/userdata/pidfile",
|
||||
"Name": "firewall",
|
||||
"RestartCount": 0,
|
||||
"Driver": "overlay",
|
||||
"MountLabel": "",
|
||||
"ProcessLabel": "",
|
||||
"AppArmorProfile": "",
|
||||
"EffectiveCaps": [
|
||||
"CAP_AUDIT_CONTROL",
|
||||
"CAP_AUDIT_READ",
|
||||
"CAP_AUDIT_WRITE",
|
||||
"CAP_BLOCK_SUSPEND",
|
||||
"CAP_BPF",
|
||||
"CAP_CHECKPOINT_RESTORE",
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_DAC_READ_SEARCH",
|
||||
"CAP_FOWNER",
|
||||
"CAP_FSETID",
|
||||
"CAP_IPC_LOCK",
|
||||
"CAP_IPC_OWNER",
|
||||
"CAP_KILL",
|
||||
"CAP_LEASE",
|
||||
"CAP_LINUX_IMMUTABLE",
|
||||
"CAP_MAC_ADMIN",
|
||||
"CAP_MAC_OVERRIDE",
|
||||
"CAP_MKNOD",
|
||||
"CAP_NET_ADMIN",
|
||||
"CAP_NET_BIND_SERVICE",
|
||||
"CAP_NET_BROADCAST",
|
||||
"CAP_NET_RAW",
|
||||
"CAP_PERFMON",
|
||||
"CAP_SETFCAP",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETPCAP",
|
||||
"CAP_SETUID",
|
||||
"CAP_SYSLOG",
|
||||
"CAP_SYS_ADMIN",
|
||||
"CAP_SYS_BOOT",
|
||||
"CAP_SYS_CHROOT",
|
||||
"CAP_SYS_MODULE",
|
||||
"CAP_SYS_NICE",
|
||||
"CAP_SYS_PACCT",
|
||||
"CAP_SYS_PTRACE",
|
||||
"CAP_SYS_RAWIO",
|
||||
"CAP_SYS_RESOURCE",
|
||||
"CAP_SYS_TIME",
|
||||
"CAP_SYS_TTY_CONFIG",
|
||||
"CAP_WAKE_ALARM"
|
||||
],
|
||||
"BoundingCaps": [
|
||||
"CAP_AUDIT_CONTROL",
|
||||
"CAP_AUDIT_READ",
|
||||
"CAP_AUDIT_WRITE",
|
||||
"CAP_BLOCK_SUSPEND",
|
||||
"CAP_BPF",
|
||||
"CAP_CHECKPOINT_RESTORE",
|
||||
"CAP_CHOWN",
|
||||
"CAP_DAC_OVERRIDE",
|
||||
"CAP_DAC_READ_SEARCH",
|
||||
"CAP_FOWNER",
|
||||
"CAP_FSETID",
|
||||
"CAP_IPC_LOCK",
|
||||
"CAP_IPC_OWNER",
|
||||
"CAP_KILL",
|
||||
"CAP_LEASE",
|
||||
"CAP_LINUX_IMMUTABLE",
|
||||
"CAP_MAC_ADMIN",
|
||||
"CAP_MAC_OVERRIDE",
|
||||
"CAP_MKNOD",
|
||||
"CAP_NET_ADMIN",
|
||||
"CAP_NET_BIND_SERVICE",
|
||||
"CAP_NET_BROADCAST",
|
||||
"CAP_NET_RAW",
|
||||
"CAP_PERFMON",
|
||||
"CAP_SETFCAP",
|
||||
"CAP_SETGID",
|
||||
"CAP_SETPCAP",
|
||||
"CAP_SETUID",
|
||||
"CAP_SYSLOG",
|
||||
"CAP_SYS_ADMIN",
|
||||
"CAP_SYS_BOOT",
|
||||
"CAP_SYS_CHROOT",
|
||||
"CAP_SYS_MODULE",
|
||||
"CAP_SYS_NICE",
|
||||
"CAP_SYS_PACCT",
|
||||
"CAP_SYS_PTRACE",
|
||||
"CAP_SYS_RAWIO",
|
||||
"CAP_SYS_RESOURCE",
|
||||
"CAP_SYS_TIME",
|
||||
"CAP_SYS_TTY_CONFIG",
|
||||
"CAP_WAKE_ALARM"
|
||||
],
|
||||
"ExecIDs": [],
|
||||
"GraphDriver": {
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"Mounts": [
|
||||
{
|
||||
"Type": "bind",
|
||||
"Source": "/run/containers/files/firewall-nftables.conf",
|
||||
"Destination": "/etc/nftables.conf",
|
||||
"Driver": "",
|
||||
"Mode": "",
|
||||
"Options": [
|
||||
"nosuid",
|
||||
"nodev",
|
||||
"rbind"
|
||||
],
|
||||
"RW": false,
|
||||
"Propagation": "rprivate"
|
||||
}
|
||||
],
|
||||
"Dependencies": [],
|
||||
"NetworkSettings": {
|
||||
"EndpointID": "",
|
||||
"Gateway": "",
|
||||
"IPAddress": "",
|
||||
"IPPrefixLen": 0,
|
||||
"IPv6Gateway": "",
|
||||
"GlobalIPv6Address": "",
|
||||
"GlobalIPv6PrefixLen": 0,
|
||||
"MacAddress": "",
|
||||
"Bridge": "",
|
||||
"SandboxID": "",
|
||||
"HairpinMode": false,
|
||||
"LinkLocalIPv6Address": "",
|
||||
"LinkLocalIPv6PrefixLen": 0,
|
||||
"Ports": {},
|
||||
"SandboxKey": "",
|
||||
"Networks": {
|
||||
"host": {
|
||||
"EndpointID": "",
|
||||
"Gateway": "",
|
||||
"IPAddress": "",
|
||||
"IPPrefixLen": 0,
|
||||
"IPv6Gateway": "",
|
||||
"GlobalIPv6Address": "",
|
||||
"GlobalIPv6PrefixLen": 0,
|
||||
"MacAddress": "",
|
||||
"NetworkID": "host",
|
||||
"DriverOpts": null,
|
||||
"IPAMConfig": null,
|
||||
"Links": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"Namespace": "",
|
||||
"IsInfra": false,
|
||||
"IsService": false,
|
||||
"Config": {
|
||||
"Hostname": "R1",
|
||||
"Domainname": "",
|
||||
"User": "0",
|
||||
"AttachStdin": false,
|
||||
"AttachStdout": false,
|
||||
"AttachStderr": false,
|
||||
"Tty": false,
|
||||
"OpenStdin": false,
|
||||
"StdinOnce": false,
|
||||
"Env": [
|
||||
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
|
||||
"TERM=xterm",
|
||||
"container=podman",
|
||||
"HOME=/root",
|
||||
"HOSTNAME=R1"
|
||||
],
|
||||
"Cmd": [
|
||||
"/usr/sbin/nft-helper",
|
||||
"/etc/nftables.conf"
|
||||
],
|
||||
"Image": "localhost/curios-nftables-oci-amd64-v24.11.0:latest",
|
||||
"Volumes": null,
|
||||
"WorkingDir": "/",
|
||||
"Entrypoint": "/usr/bin/tini --",
|
||||
"OnBuild": null,
|
||||
"Labels": {
|
||||
"org.opencontainers.image.title": "curiOS-nftables",
|
||||
"org.opencontainers.image.url": "https://github.com/kernelkit/curiOS"
|
||||
},
|
||||
"Annotations": {
|
||||
"io.container.manager": "libpod",
|
||||
"io.podman.annotations.privileged": "TRUE",
|
||||
"org.opencontainers.image.stopSignal": "15"
|
||||
},
|
||||
"StopSignal": 15,
|
||||
"HealthcheckOnFailureAction": "none",
|
||||
"CreateCommand": [
|
||||
"podman",
|
||||
"create",
|
||||
"--name",
|
||||
"firewall",
|
||||
"--conmon-pidfile=/run/container:firewall.pid",
|
||||
"--read-only",
|
||||
"--replace",
|
||||
"--quiet",
|
||||
"--cgroup-parent=containers",
|
||||
"--restart=always",
|
||||
"--systemd=false",
|
||||
"--tz=local",
|
||||
"--privileged=true",
|
||||
"--mount=type=bind,src=/run/containers/files/firewall-nftables.conf,dst=/etc/nftables.conf,readonly=true",
|
||||
"--log-driver",
|
||||
"syslog",
|
||||
"--net=host",
|
||||
"curios-nftables-oci-amd64-v24.11.0"
|
||||
],
|
||||
"Timezone": "local",
|
||||
"Umask": "0022",
|
||||
"Timeout": 0,
|
||||
"StopTimeout": 10,
|
||||
"Passwd": true,
|
||||
"sdNotifyMode": "container"
|
||||
},
|
||||
"HostConfig": {
|
||||
"Binds": [
|
||||
"/run/containers/files/firewall-nftables.conf:/etc/nftables.conf:ro,rprivate,nosuid,nodev,rbind"
|
||||
],
|
||||
"CgroupManager": "cgroupfs",
|
||||
"CgroupMode": "private",
|
||||
"ContainerIDFile": "",
|
||||
"LogConfig": {
|
||||
"Type": "syslog",
|
||||
"Config": null,
|
||||
"Path": "",
|
||||
"Tag": "",
|
||||
"Size": "0B"
|
||||
},
|
||||
"NetworkMode": "host",
|
||||
"PortBindings": {},
|
||||
"RestartPolicy": {
|
||||
"Name": "always",
|
||||
"MaximumRetryCount": 0
|
||||
},
|
||||
"AutoRemove": false,
|
||||
"VolumeDriver": "",
|
||||
"VolumesFrom": null,
|
||||
"CapAdd": [],
|
||||
"CapDrop": [],
|
||||
"Dns": [],
|
||||
"DnsOptions": [],
|
||||
"DnsSearch": [],
|
||||
"ExtraHosts": [],
|
||||
"GroupAdd": [],
|
||||
"IpcMode": "shareable",
|
||||
"Cgroup": "",
|
||||
"Cgroups": "default",
|
||||
"Links": null,
|
||||
"OomScoreAdj": 0,
|
||||
"PidMode": "private",
|
||||
"Privileged": true,
|
||||
"PublishAllPorts": false,
|
||||
"ReadonlyRootfs": true,
|
||||
"SecurityOpt": [],
|
||||
"Tmpfs": {},
|
||||
"UTSMode": "private",
|
||||
"UsernsMode": "",
|
||||
"ShmSize": 65536000,
|
||||
"Runtime": "oci",
|
||||
"ConsoleSize": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"Isolation": "",
|
||||
"CpuShares": 0,
|
||||
"Memory": 0,
|
||||
"NanoCpus": 0,
|
||||
"CgroupParent": "containers",
|
||||
"BlkioWeight": 0,
|
||||
"BlkioWeightDevice": null,
|
||||
"BlkioDeviceReadBps": null,
|
||||
"BlkioDeviceWriteBps": null,
|
||||
"BlkioDeviceReadIOps": null,
|
||||
"BlkioDeviceWriteIOps": null,
|
||||
"CpuPeriod": 0,
|
||||
"CpuQuota": 0,
|
||||
"CpuRealtimePeriod": 0,
|
||||
"CpuRealtimeRuntime": 0,
|
||||
"CpusetCpus": "",
|
||||
"CpusetMems": "",
|
||||
"Devices": [],
|
||||
"DiskQuota": 0,
|
||||
"KernelMemory": 0,
|
||||
"MemoryReservation": 0,
|
||||
"MemorySwap": 0,
|
||||
"MemorySwappiness": 0,
|
||||
"OomKillDisable": false,
|
||||
"PidsLimit": 2048,
|
||||
"Ulimits": [
|
||||
{
|
||||
"Name": "RLIMIT_NOFILE",
|
||||
"Soft": 1048576,
|
||||
"Hard": 1048576
|
||||
},
|
||||
{
|
||||
"Name": "RLIMIT_NPROC",
|
||||
"Soft": 32768,
|
||||
"Hard": 32768
|
||||
}
|
||||
],
|
||||
"CpuCount": 0,
|
||||
"CpuPercent": 0,
|
||||
"IOMaximumIOps": 0,
|
||||
"IOMaximumBandwidth": 0,
|
||||
"CgroupConf": null
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,132 @@
|
||||
[
|
||||
{
|
||||
"AutoRemove": false,
|
||||
"Command": [
|
||||
"/usr/sbin/httpd",
|
||||
"-f",
|
||||
"-v"
|
||||
],
|
||||
"CreatedAt": "About a minute ago",
|
||||
"Exited": false,
|
||||
"ExitedAt": -62135596800,
|
||||
"ExitCode": 0,
|
||||
"Id": "0aed2ca36b5e9012d8d647a684047410444c0e3134987f0c020bf0234ef0e0f3",
|
||||
"Image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
|
||||
"ImageID": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
|
||||
"IsInfra": false,
|
||||
"Labels": {
|
||||
"org.opencontainers.image.title": "curiOS-httpd",
|
||||
"org.opencontainers.image.url": "https://github.com/kernelkit/curiOS"
|
||||
},
|
||||
"Mounts": [],
|
||||
"Names": [
|
||||
"container-B"
|
||||
],
|
||||
"Namespaces": {
|
||||
|
||||
},
|
||||
"Networks": [
|
||||
"veth2a",
|
||||
"veth3a"
|
||||
],
|
||||
"Pid": 25086,
|
||||
"Pod": "",
|
||||
"PodName": "",
|
||||
"Ports": null,
|
||||
"Size": null,
|
||||
"StartedAt": 1737367149,
|
||||
"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
|
||||
},
|
||||
{
|
||||
"AutoRemove": false,
|
||||
"Command": [
|
||||
"/usr/sbin/httpd",
|
||||
"-f",
|
||||
"-v",
|
||||
"-p",
|
||||
"91"
|
||||
],
|
||||
"CreatedAt": "About a minute ago",
|
||||
"Exited": false,
|
||||
"ExitedAt": -62135596800,
|
||||
"ExitCode": 0,
|
||||
"Id": "93753e99ceb3bc80c3a3002952f3d8f130deb77924e352d8e49f5c822c3af34e",
|
||||
"Image": "localhost/curios-httpd-oci-amd64-v24.11.0:latest",
|
||||
"ImageID": "d6930d60a73be9980f8e19b4b4f63586a6d3492178e20bea962e4e9b8c654033",
|
||||
"IsInfra": false,
|
||||
"Labels": {
|
||||
"org.opencontainers.image.title": "curiOS-httpd",
|
||||
"org.opencontainers.image.url": "https://github.com/kernelkit/curiOS"
|
||||
},
|
||||
"Mounts": [
|
||||
"/var/www/index.html"
|
||||
],
|
||||
"Names": [
|
||||
"container-A"
|
||||
],
|
||||
"Namespaces": {
|
||||
|
||||
},
|
||||
"Networks": [
|
||||
"veth0a",
|
||||
"veth1a"
|
||||
],
|
||||
"Pid": 25343,
|
||||
"Pod": "",
|
||||
"PodName": "",
|
||||
"Ports": [
|
||||
{
|
||||
"host_ip": "",
|
||||
"container_port": 91,
|
||||
"host_port": 36971,
|
||||
"range": 1,
|
||||
"protocol": "tcp"
|
||||
}
|
||||
],
|
||||
"Size": null,
|
||||
"StartedAt": 1737367150,
|
||||
"State": "running",
|
||||
"Status": "Up About a minute",
|
||||
"Created": 1737367150
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
{"0.0.0.0/0":{"routeType":"N IA","cost":2,"area":"0.0.0.1","nexthops":[{"ip":"10.1.1.100","via":"e6","advertisedRouter":"192.168.100.1"}]},"10.1.1.0/24":{"routeType":"N","transit":true,"cost":1,"area":"0.0.0.1","nexthops":[{"ip":" ","directlyAttachedTo":"e6"}]},"10.1.2.0/24":{"routeType":"N","transit":true,"cost":2,"area":"0.0.0.1","nexthops":[{"ip":"10.1.1.100","via":"e6","advertisedRouter":"192.168.100.1"},{"ip":"10.1.2.1","via":"e3.8","advertisedRouter":"192.168.100.1"}]},"10.1.3.0/24":{"routeType":"N","transit":true,"cost":2,"area":"0.0.0.1","nexthops":[{"ip":"10.1.1.100","via":"e6","advertisedRouter":"192.168.100.1"},{"ip":"10.1.3.1","via":"e4.8","advertisedRouter":"192.168.100.1"}]},"192.168.100.1":{"routeType":"R ","cost":1,"area":"0.0.0.1","routerType":"abr","nexthops":[{"ip":"10.1.1.100","via":"e6"}]}}
|
||||
@@ -0,0 +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 +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}]}]}
|
||||
@@ -0,0 +1,2 @@
|
||||
1737367243
|
||||
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
yang_models="ietf-interfaces ietf-routing ietf-ospf infix-containers"
|
||||
|
||||
gen_test=use_case/ospf_container/test.py
|
||||
gen_iface=d3a
|
||||
|
||||
cli_commands="show-interfaces"
|
||||
cli_commands="$cli_commands show-routing-table_--ip_ipv4"
|
||||
cli_commands="$cli_commands show-routing-table_--ip_ipv6"
|
||||
|
||||
. $(readlink -f $(dirname $0)/../test.sh)
|
||||
main "$@"
|
||||
Reference in New Issue
Block a user