Merge pull request #42 from Telecominfraproject/ols-659-simplify-vlan-config

OLS-659 proposal draft for bulk-vlan
This commit is contained in:
Binny
2025-05-16 06:29:12 +05:30
committed by GitHub
6 changed files with 52 additions and 6 deletions

View File

@@ -8,7 +8,15 @@ properties:
The individual physical network devices contained within the interface The individual physical network devices contained within the interface
need to be told explicitly if egress traffic shall be tagged. need to be told explicitly if egress traffic shall be tagged.
type: integer type: integer
maximum: 4050 maximum: 4094
range-start:
decription: Start vlan-id of the specified range
type: integer
maximum: 4094
range-end:
decription: End vlan-id of the specified range
type: integer
maximum: 4094
proto: proto:
decription: decription:
The L2 vlan tag that shall be added (1q,1ad) The L2 vlan tag that shall be added (1q,1ad)

View File

@@ -15,8 +15,11 @@ items:
name: name:
type: string type: string
description: description:
The administrative name of this logical interface. This field is The administrative name of this logical interface. This field is freetext
freetext vlan_id:
description: VLAN-ID of the logical interface
type: integer
maximum: 4094
ntp_server: ntp_server:
type: string type: string
description: description:

View File

@@ -1880,7 +1880,17 @@
"id": { "id": {
"description": "This is the pvid of the vlan that shall be assigned to the interface. The individual physical network devices contained within the interface need to be told explicitly if egress traffic shall be tagged.", "description": "This is the pvid of the vlan that shall be assigned to the interface. The individual physical network devices contained within the interface need to be told explicitly if egress traffic shall be tagged.",
"type": "integer", "type": "integer",
"maximum": 4050 "maximum": 4094
},
"range-start": {
"decription": "Start vlan-id of the specified range",
"type": "integer",
"maximum": 4094
},
"range-end": {
"decription": "End vlan-id of the specified range",
"type": "integer",
"maximum": 4094
}, },
"proto": { "proto": {
"decription": "The L2 vlan tag that shall be added (1q,1ad)", "decription": "The L2 vlan tag that shall be added (1q,1ad)",

View File

@@ -1578,7 +1578,17 @@
"properties": { "properties": {
"id": { "id": {
"type": "integer", "type": "integer",
"maximum": 4050 "maximum": 4094
},
"range-start": {
"decription": "Start vlan-id of the specified range",
"type": "integer",
"maximum": 4094
},
"range-end": {
"decription": "End vlan-id of the specified range",
"type": "integer",
"maximum": 4094
}, },
"proto": { "proto": {
"decription": "The L2 vlan tag that shall be added (1q,1ad)", "decription": "The L2 vlan tag that shall be added (1q,1ad)",

View File

@@ -1865,7 +1865,17 @@
"id": { "id": {
"description": "This is the pvid of the vlan that shall be assigned to the interface. The individual physical network devices contained within the interface need to be told explicitly if egress traffic shall be tagged.", "description": "This is the pvid of the vlan that shall be assigned to the interface. The individual physical network devices contained within the interface need to be told explicitly if egress traffic shall be tagged.",
"type": "integer", "type": "integer",
"maximum": 4050 "maximum": 4094
},
"range-start": {
"decription": "Start vlan-id of the specified range",
"type": "integer",
"maximum": 4094
},
"range-end": {
"decription": "End vlan-id of the specified range",
"type": "integer",
"maximum": 4094
}, },
"proto": { "proto": {
"decription": "The L2 vlan tag that shall be added (1q,1ad)", "decription": "The L2 vlan tag that shall be added (1q,1ad)",

View File

@@ -622,6 +622,11 @@
"type": "string", "type": "string",
"description": "The administrative name of this logical interface. This field is freetext" "description": "The administrative name of this logical interface. This field is freetext"
}, },
"vlan_id": {
"description": "VLAN-ID of the logical interface",
"type": "integer",
"maximum": 4094
},
"ntp_server": { "ntp_server": {
"type": "string", "type": "string",
"description": "The upstream NTP server being used by this interface." "description": "The upstream NTP server being used by this interface."