cfg: Align config samples with current schema definitions

Signed-off-by: Serhiy Boiko <serhiy.boiko@plvision.eu>
Change-Id: I7b4a2974d19ea645c7cfe7ab9ca1bde27a849f73
This commit is contained in:
Serhiy Boiko
2024-04-04 13:47:30 +03:00
committed by Oleksandr Mazur
parent 4911cab05e
commit 5832ecdf36
4 changed files with 52 additions and 32 deletions

View File

@@ -17,7 +17,11 @@
{ {
"ipv4": { "ipv4": {
"addressing": "static", "addressing": "static",
"subnet": "20.20.20.20/24", "subnet": [
{
"prefix": "20.20.20.20/24"
}
],
"dhcp": { "dhcp": {
"relay-server": "172.20.254.8", "relay-server": "172.20.254.8",
"circuit-id-format": "{Name}:{VLAN-ID}" "circuit-id-format": "{Name}:{VLAN-ID}"
@@ -44,7 +48,11 @@
{ {
"ipv4": { "ipv4": {
"addressing": "static", "addressing": "static",
"subnet": "30.30.30.30/24", "subnet": [
{
"prefix": "30.30.30.30/24"
}
],
"dhcp": { "dhcp": {
"relay-server": "172.20.10.12", "relay-server": "172.20.10.12",
"circuit-id-format": "{Name}:{VLAN-ID}" "circuit-id-format": "{Name}:{VLAN-ID}"
@@ -71,7 +79,11 @@
{ {
"ipv4": { "ipv4": {
"addressing": "static", "addressing": "static",
"subnet": "172.20.10.181/24" "subnet": [
{
"prefix": "172.20.10.181/24"
}
]
}, },
"vlan": { "vlan": {
"id": 20, "id": 20,

View File

@@ -50,7 +50,11 @@
}, },
"ipv4": { "ipv4": {
"addressing": "static", "addressing": "static",
"subnet": "10.10.20.100/24" "subnet": [
{
"prefix": "10.10.20.100/24"
}
]
}, },
"ethernet": [ "ethernet": [
{ {
@@ -70,7 +74,11 @@
}, },
"ipv4": { "ipv4": {
"addressing": "static", "addressing": "static",
"subnet": "10.10.50.100/24" "subnet": [
{
"prefix": "10.10.50.100/24"
}
]
}, },
"ethernet": [ "ethernet": [
{ {

View File

@@ -1,24 +1,6 @@
{ {
"ethernet": [ "ethernet": [
{ {
"port-isolation": {
"sessions": [
{
"id": 1,
"uplink": {
"interface-list": [
"Ethernet1"
]
},
"downlink": {
"interface-list": [
"Ethernet2",
"Ethernet3"
]
}
}
]
},
"select-ports": [ "select-ports": [
"Ethernet*" "Ethernet*"
], ],
@@ -48,5 +30,25 @@
"name": "mgmt-vlan" "name": "mgmt-vlan"
} }
], ],
"switch": {
"port-isolation": {
"sessions": [
{
"id": 1,
"uplink": {
"interface-list": [
"Ethernet1"
]
},
"downlink": {
"interface-list": [
"Ethernet2",
"Ethernet3"
]
}
}
]
}
},
"uuid": 1 "uuid": 1
} }

View File

@@ -31,15 +31,13 @@
} }
], ],
"services": { "services": {
"log": [ "log": {
{ "port": 2000,
"port": 2000, "priority": 7,
"priority": 7, "size": 1000,
"size": 1000, "host": "192.168.1.10",
"host": "192.168.1.10", "proto": "udp"
"proto": "udp" }
}
]
}, },
"uuid": 1 "uuid": 1
} }