VMware NSX Controller Target Connector CLI Configuration

This topic includes CLI commands and parameters for adding VMware NSX Controller target applications and target accounts:
capam32
This topic includes CLI commands and parameters for adding VMware NSX Controller target applications and target accounts:
2
VMware NSX Controller Target Application CLI Parameters
To add a VMware NSX Controller target application and connector, use the addTargetApplication command and the following command parameters:
TargetApplication.type
The target application connector type.
Required
Default Value
Valid Values
yes
N/A
nsxcontroller
Attribute.sshPort
The port that is used to connect to the UNIX host using SSH.
Required
Default Value
Valid Values
no
22
0-65535
Attribute.sshSessionTimeout
When using the SSH communication channel, specifies the amount of time in milliseconds that Credential Manager waits for the remote host to respond.
Required
Default Value
Valid Values
no
5000
1000-99999
Attribute.scriptTimeout
Specifies the amount of time in milliseconds that Credential Manager waits to receive some expected input from the remote host.
Required
Default Value
Valid Values
no
5000
5000-59999
VMware NSX Controller Target Account CLI Parameters
When using the CLI to add a VMware NSX Controller target account, this target connector does not require any parameters.
VMware NSX Controller CLI Example
cmdName=addTargetApplication TargetServer.hostName=myhostname.mydomain.com TargetApplication.name=myNXS
TargetApplication.type=nsxcontroller Attribute.extensionType=nsxcontroller Attribute.sshPort=22
cmdName=addTargetAccount TargetServer.hostName=myhostname.mydomain.com TargetApplication.name=myNSX
TargetAccount.userName=root TargetAccount.password=P@ssw0rd TargetAccount.cacheAllow=true TargetAccount.cacheDuration=19