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

View File

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

View File

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

View File

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