hichtakk / nsxctl

kubectl style NSX-T and ALB commannd-line client
MIT License
3 stars 2 forks source link

add create segment #41

Closed mu853 closed 2 years ago

mu853 commented 2 years ago

Example of Use

create an overlay segment in the default transportzone $ nsxctl create segment seg-01

create an overlay segment and connect it to a gateway $ nsxctl create segment seg-02 --gateway T1-C --interface-address 172.29.10.1/24

create a vlan segment $ nsxctl create segment seg-03 --transportzone nsx-vlan-transportzone --vlan-ids 10,20,30-40