From 47537e169e91d565d03316a753f8a37c58501a6b Mon Sep 17 00:00:00 2001 From: Nurmatov Mamatisa Date: Tue, 22 Feb 2022 16:53:07 +0300 Subject: [PATCH] Update local ip doc Updated local ip documentation according to OSC patch [1] 1) https://review.opendev.org/c/openstack/python-openstackclient/+/830342 Change-Id: If5fbd2058747d6630a6577f726ecc8f5ee8c040b --- doc/source/contributor/internals/local_ips.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/source/contributor/internals/local_ips.rst b/doc/source/contributor/internals/local_ips.rst index 399b54314c8..aba47881557 100644 --- a/doc/source/contributor/internals/local_ips.rst +++ b/doc/source/contributor/internals/local_ips.rst @@ -37,12 +37,13 @@ Usage Usage is similar to Floating IP usage. If you want to assign a virtual Local IP to one of your VMs: -- first create Local IP object using network_id or local_port_id input - parameter: it will be used to allocate/take IP address +- first create Local IP object using network (name or ID) or + local-port (name or ID) input parameter: it will be used + to allocate/take IP address .. code-block:: console - $ openstack local ip create --network_id + $ openstack local ip create --network +------------------+--------------------------------------+ | Field | Value | +------------------+--------------------------------------+ @@ -59,12 +60,12 @@ to one of your VMs: | updated_at | 2021-12-01T13:50:24Z | +------------------+--------------------------------------+ -- then create Local IP association object using local_ip_id and fixed_port_id - input parameters, thus assigning Local IP to the needed VM +- then create Local IP association object using local-ip (name or ID) and + fixed-port-id input parameters, thus assigning Local IP to the needed VM .. code-block:: console - $ openstack local ip association create + $ openstack local ip association create +------------------+--------------------------------------+ | Field | Value | +------------------+--------------------------------------+