fix port_profile
port_profile as introduced in patch
https://review.openstack.org/#/c/499575/
currently the capabilities interpreted as string which is no big deal
in OVS currently, but in OpenDaylight it is networking-odl expect
switchdev to be inside list.
[network]
port_profile = capabilities:[switchdev]
result:
{'capabilities':'[switchdev]'}
With patch:
{'capabilities': ['switchdev']}
Change-Id: I77fa6b29d8a185f93209b00092cefe218c8ba7e0
diff --git a/releasenotes/notes/correct-port-profile-config-option-d67f5cb31f1bc34c.yaml b/releasenotes/notes/correct-port-profile-config-option-d67f5cb31f1bc34c.yaml
new file mode 100644
index 0000000..7510d47
--- /dev/null
+++ b/releasenotes/notes/correct-port-profile-config-option-d67f5cb31f1bc34c.yaml
@@ -0,0 +1,17 @@
+---
+fixes:
+ - |
+ Patch https://review.openstack.org/#/c/499575/ introduced
+ support creating Neutron port with certain capabilities.
+ Currently capabilities list interpreted as string this change
+ fix it.
+
+ tempest.conf
+ [network]
+ port_profile = capabilities:[switchdev]
+
+ result:
+ {'capabilities':'[switchdev]'}
+
+ expected:
+ {'capabilities': ['switchdev']}