python-openstackclient/doc/source/command-objects/endpoint.rst
Kevin_Zheng 9663424c74 change os in command example to openstack
In the current doc, the command examples are like
"os server create" but the acutal command should
be started with "openstack" instead of "os", it
is misleading to first time users.

Change-Id: Ic7686257725e1aa8e4e0d65a712eff1c079927a8
2016-12-20 09:03:29 +08:00

3.2 KiB

endpoint

Identity v2, v3

endpoint create

Create new endpoint

Identity version 2 only

endpoint create

openstack endpoint create
    --publicurl <url>
    [--adminurl <url>]
    [--internalurl <url>]
    [--region <region-id>]
    <service>

--publicurl <url>

New endpoint public URL (required)

--adminurl <url>

New endpoint admin URL

--internalurl <url>

New endpoint internal URL

--region <region-id>

New endpoint region ID

Service to be associated with new endpoint (name or ID)

Identity version 3 only

endpoint create

openstack endpoint create
    [--region <region-id>]
    [--enable | --disable]
    <service>
    <interface>
    <url>

--region <region-id>

New endpoint region ID

--enable

Enable endpoint (default)

--disable

Disable endpoint

<service>

Service to be associated with new endpoint(name or ID)

<interface>

New endpoint interface type (admin, public or internal)

<url>

New endpoint URL

endpoint delete

Delete endpoint(s)

endpoint delete

openstack endpoint delete
    <endpoint-id> [<endpoint-id> ...]




Endpoint(s) to delete (ID only)

endpoint list

List endpoints

endpoint list

openstack endpoint list
    [--service <service]
    [--interface <interface>]
    [--region <region-id>]
    [--long]

--service <service>

Filter by service (name or ID)

Identity version 3 only

--interface <interface>

Filter by interface type (admin, public or internal)

Identity version 3 only

--region <region-id>

Filter by region ID

Identity version 3 only

--long

List additional fields in output

Identity version 2 only

endpoint set

Set endpoint properties

Identity version 3 only

endpoint set

openstack endpoint set
    [--region <region-id>]
    [--interface <interface>]
    [--url <url>]
    [--service <service>]
    [--enable | --disable]
    <endpoint-id>

--region <region-id>

New endpoint region ID

--interface <interface>

New endpoint interface type (admin, public or internal)

--url <url>

New endpoint URL

--service <service>

New endpoint service (name or ID)

--enable

Enable endpoint

--disable

Disable endpoint

Endpoint to modify (ID only)

endpoint show

Display endpoint details

endpoint show

openstack endpoint show
    <endpoint>




Endpoint to display (endpoint ID, service ID, service name, service type)