summaryrefslogtreecommitdiffstats
path: root/build/patches/neutron_openstacksdk_dps.patch
diff options
context:
space:
mode:
authorCarlos Goncalves <carlos.goncalves@neclab.eu>2017-06-26 11:16:00 +0200
committerCarlos Goncalves <carlos.goncalves@neclab.eu>2017-07-19 10:04:32 +0200
commitd3ff8f323b2827dc14ee550a99a5661fee2294cb (patch)
tree24796964ed69bdd94b897b23ec3527866cb2067e /build/patches/neutron_openstacksdk_dps.patch
parent68bb8c986bfdca528a06e18e58507b4750fdf40e (diff)
Backport Neutron port data plane status
JIRA: APEX-444 JIRA: DOCTOR-102 Change-Id: Idc40aa549fb1aae077a9e6b84225833a9c7c5b72 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
Diffstat (limited to 'build/patches/neutron_openstacksdk_dps.patch')
-rw-r--r--build/patches/neutron_openstacksdk_dps.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/build/patches/neutron_openstacksdk_dps.patch b/build/patches/neutron_openstacksdk_dps.patch
new file mode 100644
index 00000000..4fd6d94d
--- /dev/null
+++ b/build/patches/neutron_openstacksdk_dps.patch
@@ -0,0 +1,29 @@
+From a98d3ada2a4d51bd5fbd676fe3306871ad8228eb Mon Sep 17 00:00:00 2001
+From: Carlos Goncalves <carlos.goncalves@neclab.eu>
+Date: Thu, 20 Apr 2017 17:52:43 +0000
+Subject: [PATCH] Add data plane status support to Network Port obj
+
+Added 'data_plane_status' parameter to Port class.
+
+Partial-Bug: #1684989
+Change-Id: I716ee25d1e7e4f81319f66b7f7457db243b4ffe3
+---
+ openstack/network/v2/port.py | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/openstack/network/v2/port.py b/openstack/network/v2/port.py
+index 6234ea45..e98de374 100644
+--- a/openstack/network/v2/port.py
++++ b/openstack/network/v2/port.py
+@@ -67,6 +67,8 @@ class Port(resource.Resource):
+ binding_vnic_type = resource.Body('binding:vnic_type')
+ #: Timestamp when the port was created.
+ created_at = resource.Body('created_at')
++ #: Underlying data plane status of this port.
++ data_plane_status = resource.Body('data_plane_status')
+ #: The port description.
+ description = resource.Body('description')
+ #: Device ID of this port.
+--
+2.12.3
+