From f9694e718075bdc39d72a95c7e00bbb74c8cd873 Mon Sep 17 00:00:00 2001 From: Zuo ZongMing Date: Fri, 15 Dec 2017 15:05:55 +0800 Subject: [PATCH] Add mac address for PORT_UPDATE_FIELDS Synchronize openstack and powervc-driver port mac_address Change-Id: If961b8995cf32a9607ff45695268c0bf471b6671 --- neutron-powervc/powervc/neutron/common/constants.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/neutron-powervc/powervc/neutron/common/constants.py b/neutron-powervc/powervc/neutron/common/constants.py index 8faf50d..42a4b88 100644 --- a/neutron-powervc/powervc/neutron/common/constants.py +++ b/neutron-powervc/powervc/neutron/common/constants.py @@ -48,7 +48,8 @@ SUBNET_UPDATE_FIELDS = ['name', PORT_CREATE_FIELDS = ['name', 'mac_address', 'device_owner'] -PORT_UPDATE_FIELDS = ['name'] +PORT_UPDATE_FIELDS = ['name', + 'mac_address'] # amqp message handling AMQP_EXCHANGE = 'neutron'