From 96adfd52c7475140eae05c2819217de8a3c064b5 Mon Sep 17 00:00:00 2001 From: chen-xing Date: Fri, 26 Aug 2016 23:32:29 +0800 Subject: [PATCH] [install] Create endpoint in one command backport: mitaka Change-Id: Ie67f86ff5bda0fc972dc3e259896259cad7fe06f Closes-Bug: #1616983 --- .../source/install-base-prereq-common.rst | 43 +++---------------- 1 file changed, 6 insertions(+), 37 deletions(-) diff --git a/install-guide/source/install-base-prereq-common.rst b/install-guide/source/install-base-prereq-common.rst index 2e4bacdd1a..eea9430d45 100644 --- a/install-guide/source/install-base-prereq-common.rst +++ b/install-guide/source/install-base-prereq-common.rst @@ -54,49 +54,18 @@ .. code-block:: console $ openstack endpoint create --region RegionOne \ - metering public http://controller:8777 + --publicurl http://controller:8777 \ + --internalurl http://controller:8777 \ + --adminurl http://controller:8777 metering +--------------+----------------------------------+ | Field | Value | +--------------+----------------------------------+ - | enabled | True | + | adminurl | http://controller:8777 | | id | b808b67b848d443e9eaaa5e5d796970c | - | interface | public | + | internalurl | http://controller:8777 | + | publicurl | http://controller:8777 | | region | RegionOne | - | region_id | RegionOne | | service_id | 5fb7fd1bb2954fddb378d4031c28c0e4 | | service_name | ceilometer | | service_type | metering | - | url | http://controller:8777 | - +--------------+----------------------------------+ - - $ openstack endpoint create --region RegionOne \ - metering internal http://controller:8777 - +--------------+----------------------------------+ - | Field | Value | - +--------------+----------------------------------+ - | enabled | True | - | id | c7009b1c2ee54b71b771fa3d0ae4f948 | - | interface | internal | - | region | RegionOne | - | region_id | RegionOne | - | service_id | 5fb7fd1bb2954fddb378d4031c28c0e4 | - | service_name | ceilometer | - | service_type | metering | - | url | http://controller:8777 | - +--------------+----------------------------------+ - - $ openstack endpoint create --region RegionOne \ - metering admin http://controller:8777 - +--------------+----------------------------------+ - | Field | Value | - +--------------+----------------------------------+ - | enabled | True | - | id | b2c00566d0604551b5fe1540c699db3d | - | interface | admin | - | region | RegionOne | - | region_id | RegionOne | - | service_id | 5fb7fd1bb2954fddb378d4031c28c0e4 | - | service_name | ceilometer | - | service_type | metering | - | url | http://controller:8777 | +--------------+----------------------------------+