From f51c7da96a2a91e4787a8d9ff90debd2553ad894 Mon Sep 17 00:00:00 2001 From: qiaomin Date: Mon, 19 Sep 2016 15:13:48 +0000 Subject: [PATCH] Fix the wrong output of some commands Change-Id: I686e8c182d403c0998b258a8a2ef18b52489d8b6 --- .../source/config-service-subnets.rst | 50 +++++++++++++++---- 1 file changed, 39 insertions(+), 11 deletions(-) diff --git a/doc/networking-guide/source/config-service-subnets.rst b/doc/networking-guide/source/config-service-subnets.rst index 77503d80aa..e086ff0873 100644 --- a/doc/networking-guide/source/config-service-subnets.rst +++ b/doc/networking-guide/source/config-service-subnets.rst @@ -120,12 +120,40 @@ Usage $ openstack server create demo-instance1 --flavor m1.tiny \ --image cirros --nic net-id=b5b729d8-31cc-4d2c-8284-72b3291fec02 - +-------------------+--------------------------------------+ - | Field | Value | - +-------------------+--------------------------------------+ - | id | 05682b91-81a1-464c-8f40-8b3da7ee92c5 | - | name | demo-instance1 | - +-------------------+--------------------------------------+ + +--------------------------------------+-----------------------------------------------+ + | Field | Value | + +--------------------------------------+-----------------------------------------------+ + | OS-DCF:diskConfig | MANUAL | + | OS-EXT-AZ:availability_zone | | + | OS-EXT-SRV-ATTR:host | None | + | OS-EXT-SRV-ATTR:hypervisor_hostname | None | + | OS-EXT-SRV-ATTR:instance_name | instance-00000009 | + | OS-EXT-STS:power_state | 0 | + | OS-EXT-STS:task_state | scheduling | + | OS-EXT-STS:vm_state | building | + | OS-SRV-USG:launched_at | None | + | OS-SRV-USG:terminated_at | None | + | accessIPv4 | | + | accessIPv6 | | + | addresses | | + | adminPass | Fn85skabdxBL | + | config_drive | | + | created | 2016-09-19T15:07:42Z | + | flavor | m1.tiny (1) | + | hostId | | + | id | 04222b73-1a6e-4c2a-9af4-ef3d17d521ff | + | image | cirros (4aaec87d-c655-4856-8618-b2dada3a2b11) | + | key_name | None | + | name | demo-instance1 | + | os-extended-volumes:volumes_attached | [] | + | progress | 0 | + | project_id | d44c19e056674381b86430575184b167 | + | properties | | + | security_groups | [{u'name': u'default'}] | + | status | BUILD | + | updated | 2016-09-19T15:07:42Z | + | user_id | 331afbeb322d4c559a181e19051ae362 | + +--------------------------------------+-----------------------------------------------+ #. Check the instance status. The ``Networks`` field contains an IP address from the subnet having the ``compute:nova`` service type. @@ -133,8 +161,8 @@ Usage .. code-block:: console $ openstack server list - +----------------+--------+-------------------------+ - | Name | Status | Networks | - +----------------+--------+-------------------------+ - | demo-instance1 | ACTIVE | demo-net1=10.0.0.3 | - +----------------+--------+-------------------------+ + +--------------------------------------+-----------------+---------+--------------------+ + | ID | Name | Status | Networks | + +--------------------------------------+-----------------+---------+--------------------+ + | 20181f46-5cd2-4af8-9af0-f4cf5c983008 | demo-instance1 | ACTIVE | demo-net1=10.0.0.3 | + +--------------------------------------+-----------------+---------+--------------------+