python-openstackclient/doc/source/command-objects/address-scope.rst
Kevin_Zheng 9663424c74 change os in command example to openstack
In the current doc, the command examples are like
"os server create" but the acutal command should
be started with "openstack" instead of "os", it
is misleading to first time users.

Change-Id: Ic7686257725e1aa8e4e0d65a712eff1c079927a8
2016-12-20 09:03:29 +08:00

3.0 KiB

address scope

An address scope is a scope of IPv4 or IPv6 addresses that belongs to a given project and may be shared between projects.

Network v2

address scope create

Create new address scope

address scope create

openstack address scope create
    [--project <project> [--project-domain <project-domain>]]
    [--ip-version <ip-version>]
    [--share | --no-share]
    <name>

--project <project>

Owner's project (name or ID)

--project-domain <project-domain>

Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.

--ip-version <ip-version>

IP version (4 or 6, default is 4)

--share

Share the address scope between projects

--no-share

Do not share the address scope between projects (default)

New address scope name

address scope delete

Delete address scope(s)

address scope delete

openstack address scope delete
    <address-scope> [<address-scope> ...]




Address scope(s) to delete (name or ID)

address scope list

List address scopes

address scope list

openstack address scope list
    [--name <name>]
    [--ip-version <ip-version>]
    [--project <project> [--project-domain <project-domain>]]
    [--share | --no-share]

--name <name>

List only address scopes of given name in output

--ip-version <ip-version>

List address scopes of given IP version networks (4 or 6)

--project <project>

List address scopes according to their project (name or ID)

--project-domain <project-domain>

Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.

--share

List address scopes shared between projects

--no-share

List address scopes not shared between projects

address scope set

Set address scope properties

address scope set

openstack address scope set
    [--name <name>]
    [--share | --no-share]
    <address-scope>

--name <name>

Set address scope name

--share

Share the address scope between projects

--no-share

Do not share the address scope between projects

Address scope to modify (name or ID)

address scope show

Display address scope details

address scope show

openstack address scope show
    <address-scope>




Address scope to display (name or ID)