Rehome IPV6_MODES constants

In preparation for rehoming neutron.api.v2.attributes into
neutron-lib, we need to bring over a few additional
constants that are used in attributes.py.

Change-Id: Ie4184b87ade321794f3979b02cb49a88e2090afa
This commit is contained in:
Boden R 2016-06-24 13:36:44 -06:00
parent c494673df2
commit 64991fdae4

View File

@ -245,6 +245,11 @@ DEVICE_NAME_MAX_LEN = 15
# Time format
ISO8601_TIME_FORMAT = '%Y-%m-%dT%H:%M:%S.%f'
DHCPV6_STATEFUL = 'dhcpv6-stateful'
DHCPV6_STATELESS = 'dhcpv6-stateless'
IPV6_SLAAC = 'slaac'
IPV6_MODES = [DHCPV6_STATEFUL, DHCPV6_STATELESS, IPV6_SLAAC]
class Sentinel(object):
"""A constant object that does not change even when copied."""