VMware

Proxy Namespace

Proxy namespace provides commands Proxy configuration.

List of commands:



Test Command

dcli com vmware appliance techpreview networking proxy test

Description

Test a Proxy configuration by testing the connection to the proxy server and test host.

Options

Option Name Type Required Description
protocol string Yes protocol being configured. Valid values are: {ftp, http, https}
server string Yes hostname or ip of proxy server
port int Yes port to connect to the proxy server on. A value of -1 indicates that the default port is being used.
username string Yes username for proxy server.
password string Yes password for proxy server.
testhost string Yes Verify that a hostname (www.vmware.com) or IPv4 or Ipv6 address of the testhost is accessible through proxy.

Example

dcli com vmware appliance techpreview networking proxy test --protocol test --server testString --port test --username testString --password --testhost testString


Set Command

dcli com vmware appliance techpreview networking proxy set

Description

Set Proxy configuration. In order for this configuration to take effect a logout is required.

Options

Option Name Type Required Description
status string Yes proxy enabled or disabled This sets whether the proxy configuration is used. Valid values are: {disabled, enabled}
configlist‑protocol string Yes protocol being configured. Valid values are: {ftp, http, https}
configlist‑server string Yes hostname or ip of proxy server
configlist‑port int Yes port to connect to the proxy server on. A value of -1 indicates that the default port is being used.
configlist‑username string Yes username for proxy server.
configlist‑password string Yes password for proxy server.

Example

dcli com vmware appliance techpreview networking proxy set --status test --configlist-protocol test --configlist-server testString --configlist-port test --configlist-username testString --configlist-password


Delete Command

dcli com vmware appliance techpreview networking proxy delete

Description

Delete a Proxy configuration for a specific protocol.

Options

Option Name Type Required Description
protocol string Yes Protocol to delete proxy of. Valid values are: {ftp, http, https}

Example

dcli com vmware appliance techpreview networking proxy delete --protocol test


Get Command

dcli com vmware appliance techpreview networking proxy get

Description

Get proxy configuration for all protocols.

Example

dcli com vmware appliance techpreview networking proxy get