File tree Expand file tree Collapse file tree 2 files changed +21
-17
lines changed
Expand file tree Collapse file tree 2 files changed +21
-17
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,11 @@ spec:
3434 "plugins": [
3535 {
3636 "type": "cnv-bridge", <3>
37- "bridge": "br0" <4>
37+ "bridge": "br0", <4>
38+ "vlan": 1 <5>
3839 },
3940 {
40- "type": "cnv-tuning" <5 >
41+ "type": "cnv-tuning" <6 >
4142 }
4243 ]
4344 }'
@@ -49,7 +50,8 @@ will only run on nodes that have the `br0` bridge connected.
4950the network for this NetworkAttachmentDefinition. Do not change this field unless
5051you want to use a different CNI.
5152<4> You must substitute the actual name of the bridge, if it is not `br0`.
52- <5> Required. This allows the MAC pool manager to assign a unique MAC address to the connection.
53+ <5> Optional: The VLAN tag.
54+ <6> Required. This allows the MAC pool manager to assign a unique MAC address to the connection.
5355
5456+
5557[source,terminal]
Original file line number Diff line number Diff line change @@ -31,20 +31,22 @@ metadata:
3131 name: pxe-net-conf
3232spec:
3333 config: '{
34- "cniVersion": "0.3.1",
35- "name": "pxe-net-conf",
36- "plugins": [
37- {
38- "type": "cnv-bridge",
39- "bridge": "br1"
40- },
41- {
42- "type": "cnv-tuning" <1>
43- }
44- ]
45- }'
46- ----
47- <1> The `cnv-tuning` plug-in provides support for custom MAC addresses.
34+ "cniVersion": "0.3.1",
35+ "name": "pxe-net-conf",
36+ "plugins": [
37+ {
38+ "type": "cnv-bridge",
39+ "bridge": "br1",
40+ "vlan": 1 <1>
41+ },
42+ {
43+ "type": "cnv-tuning" <2>
44+ }
45+ ]
46+ }'
47+ ----
48+ <1> Optional: The VLAN tag.
49+ <2> The `cnv-tuning` plug-in provides support for custom MAC addresses.
4850+
4951[NOTE]
5052====
You can’t perform that action at this time.
0 commit comments