diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-09-19 14:14:31 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-09-19 14:14:31 +0000 |
| commit | 6d2412b190a6feabe7b56c102e12e8c3a34fa7a9 (patch) | |
| tree | 0baa8c2e272d6f4f75586aa5838ace81a108cc56 /doc/source/command-objects | |
| parent | e1cdba48f4b65975539fb35ccd0c738508eca21a (diff) | |
| parent | d44782bc089d6f3092cc2ee22ee4a13ea0c40ce9 (diff) | |
| download | python-openstackclient-6d2412b190a6feabe7b56c102e12e8c3a34fa7a9.tar.gz | |
Merge "Add filtering options to os subnet list command"
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/subnet.rst | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/source/command-objects/subnet.rst b/doc/source/command-objects/subnet.rst index 4566d74d..d2ea6132 100644 --- a/doc/source/command-objects/subnet.rst +++ b/doc/source/command-objects/subnet.rst @@ -161,6 +161,11 @@ List subnets [--long] [--ip-version {4,6}] [--dhcp | --no-dhcp] + [--project <project> [--project-domain <project-domain>]] + [--network <network>] + [--gateway <gateway>] + [--name <name>] + [--subnet-range <subnet-range>] .. option:: --long @@ -186,6 +191,32 @@ List subnets Must be a valid device owner value for a network port (repeat option to list multiple service types) +.. option:: --project <project> + + List only subnets which belong to a given project (name or ID) in output + +.. option:: --project-domain <project-domain> + + Domain the project belongs to (name or ID). + This can be used in case collisions between project names exist. + +.. option:: --network <network> + + List only subnets which belong to a given network (name or ID) in output + +.. option:: --gateway <gateway> + + List only subnets of given gateway IP in output + +.. option:: --name <name> + + List only subnets of given name in output + +.. option:: --subnet-range <subnet-range> + + List only subnets of given subnet range (in CIDR notation) in output + e.g.: ``--subnet-range 10.10.0.0/16`` + subnet set ---------- |
