cni: add sample bridge
This commit is contained in:
parent
f7084c6c6e
commit
1417d39b5f
1 changed files with 22 additions and 0 deletions
22
cni/bridge-v6.conf
Normal file
22
cni/bridge-v6.conf
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
"cniVersion": "0.3.1",
|
||||||
|
"name": "mynet",
|
||||||
|
"type": "bridge",
|
||||||
|
"bridge": "mynet0",
|
||||||
|
"isDefaultGateway": true,
|
||||||
|
"forceAddress": false,
|
||||||
|
"ipMasq": true,
|
||||||
|
"hairpinMode": true,
|
||||||
|
"ipam": {
|
||||||
|
"type": "host-local",
|
||||||
|
"ranges": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"subnet": "2a0a:e5c0:10:22::/64",
|
||||||
|
"rangeStart": "2a0a:e5c0:10:22::0010",
|
||||||
|
"rangeEnd": "2a0a:e5c0:10:22::00ff"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue