Migrates Apex to Pike
[apex.git] / build / patches / neutron_openstacksdk_dps.patch
1 From a98d3ada2a4d51bd5fbd676fe3306871ad8228eb Mon Sep 17 00:00:00 2001
2 From: Carlos Goncalves <carlos.goncalves@neclab.eu>
3 Date: Thu, 20 Apr 2017 17:52:43 +0000
4 Subject: [PATCH] Add data plane status support to Network Port obj
5
6 Added 'data_plane_status' parameter to Port class.
7
8 Partial-Bug: #1684989
9 Change-Id: I716ee25d1e7e4f81319f66b7f7457db243b4ffe3
10 ---
11  openstack/network/v2/port.py | 2 ++
12  1 file changed, 2 insertions(+)
13
14 diff --git a/openstack/network/v2/port.py b/openstack/network/v2/port.py
15 index 6234ea45..e98de374 100644
16 --- a/openstack/network/v2/port.py
17 +++ b/openstack/network/v2/port.py
18 @@ -67,6 +67,8 @@ class Port(resource.Resource):
19      binding_vnic_type = resource.Body('binding:vnic_type')
20      #: Timestamp when the port was created.
21      created_at = resource.Body('created_at')
22 +    #: Underlying data plane status of this port.
23 +    data_plane_status = resource.Body('data_plane_status')
24      #: The port description.
25      description = resource.Body('description')
26      #: Device ID of this port.
27 -- 
28 2.12.3
29