# salt.states.keystone_endpoint

## Management of OpenStack Keystone Endpoints

Added in version 2018.3.0.

depends:

  shade

configuration:

  see `salt.modules.keystoneng` for setup instructions

Example States

    create endpoint:
      keystone_endpoint.present:
        - name: public
        - url: https://example.org:9292
        - region: RegionOne
        - service_name: glance

    destroy endpoint:
      keystone_endpoint.absent:
        - name: public
        - url: https://example.org:9292
        - region: RegionOne
        - service_name: glance

    create multiple endpoints:
      keystone_endpoint.absent:
        - names:
            - public
            - admin
            - internal
        - url: https://example.org:9292
        - region: RegionOne
        - service_name: glance

salt.states.keystone_endpoint.absent(name, service_name, auth=None, **kwargs)

  Ensure an endpoint does not exists

  name

    Interface name

  url

    URL of the endpoint

  service_name

    Service name or ID

  region

    The region name to assign the endpoint

salt.states.keystone_endpoint.present(name, service_name, auth=None, **kwargs)

  Ensure an endpoint exists and is up-to-date

  name

    Interface name

  url

    URL of the endpoint

  service_name

    Service name or ID

  region

    The region name to assign the endpoint

  enabled

    Boolean to control if endpoint is enabled