API Server CLI is contained in contrailcli executable.
It consists of following commands:
showlistsyncsetrmdeleteschema
Show command shows data of specified resource.
contrailcli show virtual_network first-uuidInvoke command with empty schema identifier in order to show possible usages:
contrailcli showList command lists data of specified resources.
There are also multiple parameters available, such as --filters and --fields. Display them with contrailcli list -h command.
contrailcli list virtual_networkInvoke command with empty schema identifier in order to show possible usages:
contrailcli list -c integration/contrailcli.ymlSync command creates or updates resources with data defined in given YAML file. It creates new resource for every not already existing resource.
contrailcli sync pkg/client/testdata/vns.ymlSet updates properties of specified resource.
contrailcli set virtual_network first-uuid "external_ipam: true" -c integration/contrailcli.ymlInvoke command with empty schema identifier in order to show possible usages:
contrailcli setRm removes a resource with specified UUID.
contrailcli rm virtual_network second-uuidRm command output is empty on successful operation.
Invoke command with empty schema identifier in order to show possible usages:
contrailcli rmDelete removes resources specified in given YAML file.
contrailcli delete pkg/client/testdata/vns.ymlDelete command returns no output.
Schema command shows schema for specified resource.
contrailcli schema virtual_network