Huanxuan Ao 4cb5e0bc79 Implement "address scope delete" command
This patch add a command that supports
deleting a address scope

Change-Id: Ie028058c759b9511d105a530d7e89b841865e7d6
Partial-Bug: #1566269
2016-05-11 10:08:47 +08:00

1.3 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

os 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 an address scope

address scope delete

os address scope delete
    <address-scope>




Address scope to delete (name or ID)