Skip to content

waldur-cli openstack subnet update

Update openstack subnets.

Usage

1
waldur-cli openstack subnet update <UUID> (--request JSON | --request-file PATH | --generate-skeleton)
Flag Type Description
<UUID> positional Required unless --generate-skeleton (the template doesn't need a specific resource).
--request JSON string Request body as inline JSON.
--request-file PATH path Read the request body from a JSON or YAML file.
--generate-skeleton [FORMAT] json yaml

Examples

See the fillable template first:

1
waldur-cli openstack subnet update --generate-skeleton

Then fill it in and submit (only the fields you're changing need a value -- null fields in the template are omitted, not sent literally):

1
waldur-cli openstack subnet update <uuid> --request '{"allocation_pools":null,"cidr":null,"description":null,"disable_gateway":null,"dns_nameservers":null,"gateway_ip":null,"host_routes":null,"name":""}'

Global options

Every command also accepts --api-url, --token, --profile, --format, and --debug; mutating commands additionally accept --dry-run. See Getting started for what each does.