Add description to example in network add
A required field so ensure this is in the example.
This commit is contained in:
parent
142743b2c0
commit
4438dd401f
|
@ -1164,11 +1164,11 @@ def net_add(vni, description, nettype, domain, ip_network, ip_gateway, ip6_netwo
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
pvc network add 101 --type bridged
|
pvc network add 101 --description my-bridged-net --type bridged
|
||||||
|
|
||||||
> Creates vLAN 101 and a simple bridge on the VNI dev interface.
|
> Creates vLAN 101 and a simple bridge on the VNI dev interface.
|
||||||
|
|
||||||
pvc network add 1001 --type managed --domain test.local --ipnet 10.1.1.0/24 --gateway 10.1.1.1
|
pvc network add 1001 --description my-managed-net --type managed --domain test.local --ipnet 10.1.1.0/24 --gateway 10.1.1.1
|
||||||
|
|
||||||
> Creates a VXLAN with ID 1001 on the VNI dev interface, with IPv4 managed networking.
|
> Creates a VXLAN with ID 1001 on the VNI dev interface, with IPv4 managed networking.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue