Commit d5b99cb3 authored by Simon Delamare's avatar Simon Delamare

[network] Add kavlan_pattern on all network devices

parent db85a316
......@@ -12,6 +12,7 @@
},
{
"backplane_bps": 48000000000,
"kavlan_pattern": "%LINECARD%:%PORT%",
"kind": "switch",
"ports": [
{
......@@ -96,6 +97,7 @@
},
{
"backplane_bps": 48000000000,
"kavlan_pattern": "%LINECARD%:%PORT%",
"kind": "node",
"ports": [
{
......@@ -244,6 +246,7 @@
},
{
"backplane_bps": 48000000000,
"kavlan_pattern": "%LINECARD%:%PORT%",
"kind": "node",
"ports": [
{
......@@ -387,6 +390,7 @@
},
{
"backplane_bps": 48000000000,
"kavlan_pattern": "%LINECARD%:%PORT%",
"kind": "other",
"ports": [
{
......
......@@ -4,6 +4,7 @@
{
},
{
"kavlan_pattern": "%LINECARD%/0/%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -4,6 +4,7 @@
{
},
{
"kavlan_pattern": "%LINECARD%/0/%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -4,6 +4,7 @@
{
},
{
"kavlan_pattern": "%LINECARD%/0/%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -4,6 +4,7 @@
{
},
{
"kavlan_pattern": "%LINECARD%/0/%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -6,6 +6,7 @@
},
{
"backplane_bps": 36000000000000,
"kavlan_pattern": "Eth%LINECARD%/%PORT%",
"kind": "virtual",
"port": "eth0",
"ports": [
......
......@@ -6,6 +6,7 @@
},
{
"backplane_bps": 36000000000000,
"kavlan_pattern": "Eth%LINECARD%/%PORT%",
"kind": "virtual",
"port": "eth0",
"ports": [
......
......@@ -6,6 +6,7 @@
},
{
"backplane_bps": 36000000000000,
"kavlan_pattern": "Eth%LINECARD%/%PORT%",
"kind": "virtual",
"port": "eth0",
"ports": [
......
......@@ -6,6 +6,7 @@
},
{
"backplane_bps": 40000000000,
"kavlan_pattern": "Gi%LINECARD%/%PORT%",
"kind": "node",
"ports": [
{
......@@ -149,6 +150,7 @@
},
{
"backplane_bps": 40000000000,
"kavlan_pattern": "Gi%LINECARD%/%PORT%",
"kind": "node",
"ports": [
{
......@@ -327,6 +329,7 @@
},
{
"backplane_bps": 40000000000,
"kavlan_pattern": "Ti%LINECARD%/%PORT%",
"kind": "switch",
"ports": [
{
......@@ -347,6 +350,7 @@
},
{
"backplane_bps": 40000000000,
"kavlan_pattern": "Ti%LINECARD%/%PORT%",
"kind": "virtual",
"ports": [
{
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -5,6 +5,7 @@
{
},
{
"kavlan_pattern": "Ethernet%LINECARD%/%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"port": "eth0",
"ports": [
......
......@@ -8,6 +8,7 @@
},
{
"backplane_bps": 48000000000,
"kavlan_pattern": "%LINECARD%:%PORT%",
"kind": "node",
"port": "eth1",
"ports": [
......@@ -114,6 +115,7 @@
},
{
"backplane_bps": 48000000000,
"kavlan_pattern": "%LINECARD%:%PORT%",
"kind": "node",
"port": "eth1",
"ports": [
......@@ -256,6 +258,7 @@
},
{
"backplane_bps": 48000000000,
"kavlan_pattern": "%LINECARD%:%PORT%",
"kind": "switch",
"ports": [
{
......@@ -384,6 +387,7 @@
},
{
"backplane_bps": 48000000000,
"kavlan_pattern": "%LINECARD%:%PORT%",
"kind": "switch",
"ports": [
{
......
......@@ -5,6 +5,7 @@
{
},
{
"kavlan_pattern": "%LINECARD%/%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "GigabitEthernet%PORT%",
"kind": "router",
"ports": [
{
......
......@@ -6,6 +6,7 @@
},
{
"backplane_bps": 1280000000000,
"kavlan_pattern": "Ethernet%LINECARD%/%PORT%",
"kind": "other",
"model": "N9K-X9464PX",
"ports": [
......@@ -201,6 +202,7 @@
},
{
"backplane_bps": 1280000000000,
"kavlan_pattern": "Ethernet%LINECARD%/%PORT%",
"kind": "node",
"model": "N9K-X9464PX",
"ports": [
......@@ -404,6 +406,7 @@
},
{
"backplane_bps": 1280000000000,
"kavlan_pattern": "Ethernet%LINECARD%/%PORT%",
"kind": "node",
"model": "N9K-X9464PX",
"ports": [
......@@ -655,6 +658,7 @@
},
{
"backplane_bps": 1280000000000,
"kavlan_pattern": "Ethernet%LINECARD%/%PORT%",
"kind": "node",
"model": "N9K-X9464PX",
"ports": [
......@@ -906,6 +910,7 @@
},
{
"backplane_bps": 1280000000000,
"kavlan_pattern": "Ethernet%LINECARD%/%PORT%",
"kind": "node",
"model": "N9K-X9464PX",
"ports": [
......@@ -1157,6 +1162,7 @@
},
{
"backplane_bps": 1280000000000,
"kavlan_pattern": "Ethernet%LINECARD%/%PORT%",
"kind": "node",
"model": "N9K-X9464PX",
"ports": [
......
......@@ -26,6 +26,7 @@
{
},
{
"kavlan_pattern": "%LINECARD%/%PORT%",
"kind": "switch",
"ports": [
{
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -26,6 +26,7 @@
{
},
{
"kavlan_pattern": "%LINECARD%/%PORT%",
"kind": "switch",
"ports": [
{
......
......@@ -6,6 +6,7 @@
},
{
"backplane_bps": 14400000000,
"kavlan_pattern": "A%PORT%",
"kind": "other",
"model": "J8702A",
"ports": [
......@@ -83,6 +84,7 @@
},
{
"backplane_bps": 14400000000,
"kavlan_pattern": "B%PORT%",
"kind": "switch",
"model": "J8708A",
"ports": [
......@@ -97,6 +99,7 @@
},
{
"backplane_bps": 14400000000,
"kavlan_pattern": "C%PORT%",
"kind": "switch",
"model": "J8708A",
"ports": [
......@@ -119,6 +122,7 @@
},
{
"backplane_bps": 14400000000,
"kavlan_pattern": "D%PORT%",
"kind": "other",
"model": "J8708A",
"ports": [
......@@ -148,6 +152,7 @@
},
{
"backplane_bps": 14400000000,
"kavlan_pattern": "F%PORT%",
"kind": "router",
"model": "J9538A",
"ports": [
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -3,6 +3,7 @@
"kind": "router",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"port": "eth0",
"ports": [
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "%PORT%",
"kind": "node",
"port": "eth0",
"ports": [
......
......@@ -6,6 +6,7 @@
},
{
"backplane_bps": 40000000000,
"kavlan_pattern": "TenGigabitEthernet%LINECARD%/%PORT%",
"kind": "virtual",
"model": "WS-X6704-10GE",
"ports": [
......@@ -27,6 +28,7 @@
},
{
"backplane_bps": 40000000000,
"kavlan_pattern": "Gi%LINECARD%/%PORT%",
"kind": "node",
"model": "WS-X6748-GE-TX",
"ports": [
......@@ -157,6 +159,7 @@
},
{
"backplane_bps": 40000000000,
"kavlan_pattern": "Gi%LINECARD%/%PORT%",
"kind": "node",
"model": "WS-X6748-GE-TX",
"ports": [
......@@ -282,6 +285,7 @@
},
{
"backplane_bps": 40000000000,
"kavlan_pattern": "Gi%LINECARD%/%PORT%",
"kind": "node",
"model": "WS-X6748-GE-TX",
"ports": [
......@@ -405,6 +409,7 @@
},
{
"backplane_bps": 40000000000,
"kavlan_pattern": "Gi%LINECARD%/%PORT%",
"kind": "node",
"model": "WS-X6748-GE-TX",
"ports": [
......@@ -524,6 +529,7 @@
"snmp_pattern": "Gi%LINECARD%/%PORT%"
},
{
"kavlan_pattern": "Gi%LINECARD%/%PORT%",
"kind": "node",
"model": "WS-X6748-GE-TX",
"ports": [
......@@ -644,6 +650,7 @@
},
{
"backplane_bps": 40000000000,
"kavlan_pattern": "Gi%LINECARD%/%PORT%",
"kind": "node",
"model": "WS-X6748-GE-TX",
"ports": [
......
......@@ -5,6 +5,7 @@
{
},
{
"kavlan_pattern": "Ethernet%LINECARD%/%PORT%",
"ports": [
{
},
......@@ -273,6 +274,7 @@
"snmp_pattern": "Ethernet%LINECARD%/%PORT%"
},
{
"kavlan_pattern": "Ethernet%LINECARD%/%PORT%",
"ports": [
{
},
......
......@@ -5,6 +5,7 @@
{
},
{
"kavlan_pattern": "Ethernet%LINECARD%/%PORT%",
"ports": [
{
},
......@@ -263,6 +264,7 @@
"snmp_pattern": "Ethernet%LINECARD%/%PORT%"
},
{
"kavlan_pattern": "Ethernet%LINECARD%/%PORT%",
"ports": [
{
},
......
......@@ -5,6 +5,7 @@
{
},
{
"kavlan_pattern": "Ethernet%LINECARD%/%PORT%",
"ports": [
{
},
......@@ -267,6 +268,7 @@
"snmp_pattern": "Ethernet%LINECARD%/%PORT%"
},
{
"kavlan_pattern": "Ethernet%LINECARD%/%PORT%",
"ports": [
{
},
......
......@@ -3,6 +3,7 @@
"kind": "switch",
"linecards": [
{
"kavlan_pattern": "GigabitEthernet%LINECARD%/%PORT%",
"kind": "router",
"ports": [
{
......@@ -20,6 +21,7 @@
"snmp_pattern": "GigabitEthernet%LINECARD%/%PORT%"
},
{
"kavlan_pattern": "GigabitEthernet%LINECARD%/%PORT%",
"kind": "node",
"ports": [
{
......@@ -127,6 +129,7 @@
{
},
{
"kavlan_pattern": "GigabitEthernet%LINECARD%/%PORT%",
"kind": "node",
"ports": [
{
......
......@@ -39,6 +39,7 @@
},
{
"backplane_bps": 24000000000,
"kavlan_pattern": "%LINECARD%/%PORT%",
"kind": "node",
"ports": [
{
......@@ -121,6 +122,7 @@
},
{
"backplane_bps": 24000000000,
"kavlan_pattern": "%LINECARD%/%PORT%",
"kind": "node",
"ports": [
{
......@@ -203,6 +205,7 @@
},
{
"backplane_bps": 24000000000,
"kavlan_pattern": "%LINECARD%/%PORT%",
"kind": "node",
"ports": [
{
......@@ -272,6 +275,7 @@
},
{
"backplane_bps": 24000000000,
"kavlan_pattern": "%LINECARD%/%PORT%",
"kind": "node",
"ports": [
{
......@@ -366,6 +370,7 @@
},
{
"backplane_bps": 24000000000,
"kavlan_pattern": "%LINECARD%/%PORT%",
"kind": "node",
"ports": [
{
......@@ -445,6 +450,7 @@
},
{
"backplane_bps": 12000000000,
"kavlan_pattern": "%LINECARD%/%PORT%",
"kind": "other",
"ports": [
{
......
......@@ -41,6 +41,7 @@ vlans:
linecards:
<multi>:
snmp_pattern: string
kavlan_pattern: optional_string
kind: optional_string
rate: integer
model: optional_string
......
......@@ -65,6 +65,7 @@ gw-grenoble:
linecards:
2:
snmp_pattern: "BD-8810 Port %LINECARD%:%PORT%"
kavlan_pattern: "%LINECARD%:%PORT%"
backplane_bps: 48000000000
kind: switch
rate: 1000000000
......@@ -111,6 +112,7 @@ gw-grenoble:
uid: voltaire-2
3:
snmp_pattern: "BD-8810 Port %LINECARD%:%PORT%"
kavlan_pattern: "%LINECARD%:%PORT%"
kind: node
backplane_bps: 48000000000
rate: 1000000000
......@@ -206,6 +208,7 @@ gw-grenoble:
port: eth1
4:
snmp_pattern: "BD-8810 Port %LINECARD%:%PORT%"
kavlan_pattern: "%LINECARD%:%PORT%"
backplane_bps: 48000000000
kind: node
rate: 1000000000
......@@ -300,6 +303,7 @@ gw-grenoble:
port: eth0
10:
snmp_pattern: "BD-8810 Port %LINECARD%:%PORT%"
kavlan_pattern: "%LINECARD%:%PORT%"
backplane_bps: 48000000000
kind: other
rate: 10000000000
......
......@@ -19,6 +19,7 @@ sw-edel-1:
linecards:
1:
snmp_pattern: "Unit: %LINECARD% Slot: 0 Port: %PORT% Gigabit - Level"
kavlan_pattern: "%LINECARD%/0/%PORT%"
kind: node
rate: 1000000000
ports:
......
......@@ -19,6 +19,7 @@ sw-edel-2:
linecards:
1:
snmp_pattern: "Unit: %LINECARD% Slot: 0 Port: %PORT% Gigabit - Level"
kavlan_pattern: "%LINECARD%/0/%PORT%"
kind: node
rate: 1000000000
ports:
......
......@@ -19,6 +19,7 @@ sw-edel-3:
linecards:
1:
snmp_pattern: "Unit: %LINECARD% Slot: 0 Port: %PORT% Gigabit - Level"
kavlan_pattern: "%LINECARD%/0/%PORT%"
kind: node
rate: 1000000000
ports:
......
......@@ -19,6 +19,7 @@ sw-edel-4:
linecards:
1:
snmp_pattern: "Unit: %LINECARD% Slot: 0 Port: %PORT% Gigabit - Level"
kavlan_pattern: "%LINECARD%/0/%PORT%"
kind: node
rate: 1000000000
ports:
......
......@@ -13,6 +13,7 @@ sw-chiclet-1:
1:
kind: virtual
snmp_pattern: Ethernet%LINECARD%/%PORT%
kavlan_pattern: Eth%LINECARD%/%PORT%
backplane_bps: 36000000000000
rate: 10000000000
port: eth0
......
......@@ -64,6 +64,7 @@ sw-chiclet-2:
1:
kind: virtual
snmp_pattern: Ethernet%LINECARD%/%PORT%
kavlan_pattern: Eth%LINECARD%/%PORT%
backplane_bps: 36000000000000
rate: 10000000000
port: eth0
......
......@@ -13,6 +13,7 @@ sw-chiclet-3:
1:
kind: virtual
snmp_pattern: Ethernet%LINECARD%/%PORT%
kavlan_pattern: Eth%LINECARD%/%PORT%
backplane_bps: 36000000000000
rate: 10000000000
port: eth0
......
......@@ -70,6 +70,7 @@ gw-luxembourg:
linecards:
1:
snmp_pattern: GigabitEthernet%LINECARD%/%PORT%
kavlan_pattern: Gi%LINECARD%/%PORT%
backplane_bps: 40000000000
rate: 1000000000
kind: