bgpvpn API definition: add API_PREFIX

Add an explicit API_PREFIX, to use in networking-bgpvpn
instead of "/" + api_def.ALIAS or hardcoded strings.

Neede-By: I2038a374d97dadb5d53677e65616903b6b62a707
Change-Id: I48bb704d0027935b0d3f7194347004fe4d819263
This commit is contained in:
Thomas Morin 2018-05-16 14:25:45 +02:00 committed by Thomas Morin
parent 48b09a44bb
commit 1bca9041ba
1 changed files with 3 additions and 0 deletions

View File

@ -60,6 +60,9 @@ DESCRIPTION = "Provides support for BGP VPN interconnections"
# A timestamp of when the extension was introduced.
UPDATED_TIMESTAMP = "2014-06-10T17:00:00-00:00"
API_PREFIX = '/bgpvpn'
# The specific resources and/or attributes for the extension (optional).
RESOURCE_NAME = 'bgpvpn'
COLLECTION_NAME = 'bgpvpns'