You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@hichtakk
Currently, logging into NSX-T or ALB is handled by NewCmdShow.
In that case, if the subcommand prefix is "alb-", you need to login ALB, but NewCmdShow cannot determine this.
So we have two options,
1: discard #28 feature (auto-completion of arguments) and login to NSX-T/ALB at each sub command.
2: make new sub command (nsxctl alb) and move the existing alb-xxxx sub commands to its sub commands.
example of use of option 2:
$ alias alb='nsxctl alb'
$ alb show vs
Do you have any other ideas?
mu853
pushed a commit
to mu853/nsxctl
that referenced
this issue
Dec 24, 2022
alb subcommands should also work outside of the nsx-t environment
$ nsxctl show alb-cloud
2022/07/09 20:27:02 site '' not found
$
$ nsxctl config set-site dummy --endpoint xxx -u xxx -p xxx
$ nsxctl show alb-cloud
Default-Cloud cloud-63d5653f-7a9e-4369-9430-6a3cf32aff88 CLOUD_VCENTER
$
The text was updated successfully, but these errors were encountered: