hichtakk / nsxctl

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

add show pool #39

Closed mu853 closed 2 years ago

mu853 commented 2 years ago

example of use

$ nsxctl show pool
ID                                          Name          VirtualService   Ready   Status   Cloud
pool-5314e157-d826-465c-83a6-b0991283fbbb   slb-01-pool   slb-02,slb-01    2/2     UP       Default-Cloud
pool-e79cab66-ba19-4fe1-be81-a68da3d5cbe5   slb-02-pool   slb-03           1/1     UP       Default-Cloud
$
$ nsxctl show pool slb-01-pool  
ID                                          Name          Cloud           Tenant   VRF
pool-5314e157-d826-465c-83a6-b0991283fbbb   slb-01-pool   Default-Cloud   admin    global

Name     Ip              Port   Enabled   Ratio   Networks
web-01   192.168.20.10   80     true      1       App-Network
web-02   192.168.20.10   81     true      1       App-Network
$