From eab6cdebdc28c7eaaf330bbf6c9261c4eedf4dce Mon Sep 17 00:00:00 2001 From: Manjeet Singh Bhatia Date: Thu, 14 Apr 2016 20:45:27 +0000 Subject: Add network availability for osc This patch implements openstack client for network ip availability. Implements: blueprint neutron-ip-capacity Depends-On: I3b40d8edea87c068c4e8133e436511765064d5f8 Change-Id: Iffaa2e20ff495fbd205d3397e027e8141d04385e --- doc/source/command-objects/ip-availability.rst | 60 +++++++++++++++++++++++++ doc/source/commands.rst | 1 + doc/source/specs/ip-availability.rst | 61 -------------------------- 3 files changed, 61 insertions(+), 61 deletions(-) create mode 100644 doc/source/command-objects/ip-availability.rst delete mode 100644 doc/source/specs/ip-availability.rst (limited to 'doc') diff --git a/doc/source/command-objects/ip-availability.rst b/doc/source/command-objects/ip-availability.rst new file mode 100644 index 00000000..55b78427 --- /dev/null +++ b/doc/source/command-objects/ip-availability.rst @@ -0,0 +1,60 @@ +=============== +ip availability +=============== + +Network v2 + +ip availability list +-------------------- + +List IP availability for network + +This command retrieves information about IP availability. +Useful for admins who need a quick way to check the +IP availability for all associated networks. +List specifically returns total IP capacity and the +number of allocated IP addresses from that pool. + +.. program:: ip availability list +.. code:: bash + + os ip availability list + [--ip-version {4,6}] + [--project ] + +.. option:: --ip-version {4,6} + + List IP availability of given IP version networks + (Default is 4) + +.. option:: --project + + List IP availability of given project + (name or ID) + +ip availability show +-------------------- + +Show network IP availability details + +This command retrieves information about IP availability. +Useful for admins who need a quick way to +check the IP availability and details for a +specific network. + +This command will return information about +IP availability for the network as a whole, and +return availability information for each individual +subnet within the network as well. + + +.. program:: ip availability show +.. code:: bash + + os ip availability show + + +.. _ip_availability_show-network +.. describe:: + + Show IP availability for a specific network (name or ID) diff --git a/doc/source/commands.rst b/doc/source/commands.rst index 12542d1c..a165fbfc 100644 --- a/doc/source/commands.rst +++ b/doc/source/commands.rst @@ -96,6 +96,7 @@ referring to both Compute and Volume quotas. * ``hypervisor stats``: (**Compute**) hypervisor statistics over all compute nodes * ``identity provider``: (**Identity**) a source of users and authentication * ``image``: (**Image**) a disk image +* ``ip availability``: (**Network**) - details of IP usage of a network * ``ip fixed``: (**Compute**, **Network**) - an internal IP address assigned to a server * ``ip floating``: (**Compute**, **Network**) - a public IP address that can be mapped to a server * ``ip floating pool``: (**Compute**, **Network**) - a pool of public IP addresses diff --git a/doc/source/specs/ip-availability.rst b/doc/source/specs/ip-availability.rst deleted file mode 100644 index cf0c71ff..00000000 --- a/doc/source/specs/ip-availability.rst +++ /dev/null @@ -1,61 +0,0 @@ -=============== -ip availability -=============== - -Network v2 - -ip availability list --------------------- - -List IP availability for network - -This command retrieves information about IP availability. -Useful for admins who need a quick way to check the -IP availability for all associated networks. -List specifically returns total IP capacity and the -number of allocated IP addresses from that pool. - -.. program:: ip availability list -.. code:: bash - - os ip availability list - [--ip-version {4,6}] - [--project ] - -.. option:: --ip-version {4,6} - - List IP availability for specific version - (Default is 4) - -.. option:: --project - - List IP availability for specific project - (name or ID) - -ip availability show --------------------- - -Show network IP availability details - -This command retrieves information about IP availability. -Useful for admins who need a quick way to -check the IP availability and details for a -specific network. - -This command will return information about -IP availability for the network as a whole, and -return availability information for each individual -subnet within the network as well. - - -.. program:: ip availability show -.. code:: bash - - os ip availability show - - -.. _ip_availability_show-network -.. describe:: - - Show network IP availability for specific - network (name or ID) -- cgit v1.2.1