With python3.x, classes can use 'metaclass=' instead of
'six.add_metaclass', 'six.integer_type' can be replaced
by 'int', 'six.string_type' and 'six.text_type' are just
'str'.
Change-Id: I40a020aa4a8e69a8dd7e800352dc54a9e694d500
Now neutron_dynamic_routing supports 2 byte AS numbers only.
This patch expands AS numbers constraint so that it supports
4 byte AS numbers. It expects that operators use asplain
notation to set AS numbers[1]. That's backward compatible with
existing 2 byte AS numbers.
[1]: https://tools.ietf.org/html/rfc5396
Change-Id: I06ae0c42d983e88e1f38c501d5c85a7956f195ad
Closes-Bug: #1573092
If a bgp speaker is binded to a down dr-agent, unbind and reschedule it.
If there is an unbinded bgp speaker, schedule it.
Change-Id: If5de81f1ca9b7781f48fd9bea84848f4261ccbe6
Exception message was located under '_message' field of the exception
object, instead of the expected 'message' field.
TrivialFix
Change-Id: I4243bc7d08973d4753141ce1047913af4d16c525
ExtensionDescriptor has been rehomed to neutron-lib and is being
removed from neutron core.
See https://review.openstack.org/398113
Depends-On: I5a111e0033e518e39b3042f047ee9eebba77a0d5
Change-Id: Ida8c5302d5ad632d48ca79034ceb36b7637dd341
The following _MAX_LEN constants are being removed from
neutron/api/v2/attributes.py in [1]. The corresponding DB field size
constants from neutron_lib.db.constants should be used instead.
NAME_MAX_LEN --> NAME_FIELD_SIZE
TENANT_ID_MAX_LEN --> PROJECT_ID_FIELD_SIZE
DESCRIPTION_MAX_LEN --> DESCRIPTION_FIELD_SIZE
LONG_DESCRIPTION_MAX_LEN --> LONG_DESCRIPTION_FIELD_SIZE
DEVICE_ID_MAX_LEN --> DEVICE_ID_FIELD_SIZE
DEVICE_OWNER_MAX_LEN --> DEVICE_NAME_FIELD_SIZE
In alembic migration scripts, the raw numerical value shall be used.
For more information, see [2].
[1] https://review.openstack.org/399891
[2] http://lists.openstack.org/pipermail/openstack-dev/2016-October/105789.html
Change-Id: I038d6d32eefa57c5fc57b870a33d09bef1db296c
convert_to_boolean has been moved from neutron.api.v2.attributes to
neutron_lib.api.converters.
Partial-Bug: #1640319
Change-Id: Id894814c8fbdabd80b708add01c2d99be1e10d6a
This patch moves the BGP service plugin, agent, driver, and
tests out of the neutron repository and into the
neutron-dynamic-routing repository.
Partially-Implements: blueprint bgp-spinout
Partial-Bug: #1560003
Co-Authored-By: vikram.choudhary <vikram.choudhary@huawei.com>
Change-Id: I80ea28a51d7b18e67d6ed4cd2da22520f950300f