diff --git a/net-config-bond.j2.yaml b/net-config-bond.j2.yaml index 1eda73c84a..383884635b 100644 --- a/net-config-bond.j2.yaml +++ b/net-config-bond.j2.yaml @@ -68,6 +68,10 @@ parameters: default: '' description: default route for the {{network.name_lower}} network type: string + {{network.name}}NetworkVlanID: + default: {{network.vlan|default(1)}} + description: Vlan ID for the {{network.name_lower}} network traffic. + type: number {%- endfor %} resources: OsNetConfigImpl: diff --git a/net-config-bridge.j2.yaml b/net-config-bridge.j2.yaml index d53508d9ea..43818ebf69 100644 --- a/net-config-bridge.j2.yaml +++ b/net-config-bridge.j2.yaml @@ -66,6 +66,10 @@ parameters: default: '' description: default route for the {{network.name_lower}} network type: string + {{network.name}}NetworkVlanID: + default: {{network.vlan|default(1)}} + description: Vlan ID for the {{network.name_lower}} network traffic. + type: number {%- endfor %} resources: OsNetConfigImpl: diff --git a/net-config-linux-bridge.j2.yaml b/net-config-linux-bridge.j2.yaml index 7b6e109aee..50517ad4b2 100644 --- a/net-config-linux-bridge.j2.yaml +++ b/net-config-linux-bridge.j2.yaml @@ -29,6 +29,10 @@ parameters: default: '' description: default route for the {{network.name_lower}} network type: string + {{network.name}}NetworkVlanID: + default: {{network.vlan|default(1)}} + description: Vlan ID for the {{network.name_lower}} network traffic. + type: number {%- endfor %} ControlPlaneDefaultRoute: description: The default route of the control plane network. (The parameter diff --git a/net-config-noop.j2.yaml b/net-config-noop.j2.yaml index dc09bdbe9a..f7db339d33 100644 --- a/net-config-noop.j2.yaml +++ b/net-config-noop.j2.yaml @@ -69,6 +69,10 @@ parameters: default: '' description: default route for the {{network.name_lower}} network type: string + {{network.name}}NetworkVlanID: + default: {{network.vlan|default(1)}} + description: Vlan ID for the {{network.name_lower}} network traffic. + type: number {%- endfor %} resources: diff --git a/net-config-static-bridge-with-external-dhcp.j2.yaml b/net-config-static-bridge-with-external-dhcp.j2.yaml index f15856c143..2bdc8607a9 100644 --- a/net-config-static-bridge-with-external-dhcp.j2.yaml +++ b/net-config-static-bridge-with-external-dhcp.j2.yaml @@ -30,6 +30,10 @@ parameters: default: '' description: default route for the {{network.name_lower}} network type: string + {{network.name}}NetworkVlanID: + default: {{network.vlan|default(1)}} + description: Vlan ID for the {{network.name_lower}} network traffic. + type: number {%- endfor %} ControlPlaneSubnetCidr: default: '' diff --git a/net-config-static-bridge.j2.yaml b/net-config-static-bridge.j2.yaml index f2813227a6..a55cf7ad3b 100644 --- a/net-config-static-bridge.j2.yaml +++ b/net-config-static-bridge.j2.yaml @@ -30,6 +30,10 @@ parameters: default: '' description: default route for the {{network.name_lower}} network type: string + {{network.name}}NetworkVlanID: + default: {{network.vlan|default(1)}} + description: Vlan ID for the {{network.name_lower}} network traffic. + type: number {%- endfor %} ControlPlaneSubnetCidr: default: '' diff --git a/net-config-static.j2.yaml b/net-config-static.j2.yaml index f6563c9534..7b18aaa97b 100644 --- a/net-config-static.j2.yaml +++ b/net-config-static.j2.yaml @@ -29,6 +29,10 @@ parameters: default: '' description: default route for the {{network.name_lower}} network type: string + {{network.name}}NetworkVlanID: + default: {{network.vlan|default(1)}} + description: Vlan ID for the {{network.name_lower}} network traffic. + type: number {%- endfor %} ControlPlaneSubnetCidr: default: ''