Adit Sarfaty ab23776e86 [Admin-Util][NSX-v3]: validate ports switch profiles on backend
Extent the 'nsxadmin -r ports -o list-mismatches' admin utility
to also mark ports which are missing some neutron switch profiles

Output example:

Found internal ports misconfiguration on the NSX manager:
+--------------------------------------+--------------------------------------+------------------------------------------------------------------+
| neutron_id                           | nsx_id                               | error                                                            |
+--------------------------------------+--------------------------------------+------------------------------------------------------------------+
| 55e1f17f-ee7d-4f64-bcb4-dcd8fd932e2c | c1a69fa3-cc58-4b65-8bce-eec8ca62e7ec | Wrong Spoof Guard profile fad98876-d7ff-11e4-b9d6-1681e6b88ec1   |
| 7677f8f1-7578-47b6-8264-eb7a133518e6 | ea9dffea-7c7c-4b51-81b5-8445d7c5c718 | Wrong DHCP security profile 47ffda0e-035f-4900-83e4-0a2086813ede |
| efbb5889-d2a4-411e-9392-ccdf337d93e4 | 85f16e7a-17b8-4567-94d9-0eb6ba62e3b0 | Missing from backend                                             |
| fce87479-670c-4bff-9b95-686da8ca6542 | 007f59a3-3a5c-4c35-a2e7-f2024563ddb3 | Wrong QoS profile 0742374c-ff01-475d-a781-02077d966061           |
+--------------------------------------+--------------------------------------+------------------------------------------------------------------+

Change-Id: Id247c6d91635ff9c9ae4101cc39ce3edbe4e7dca
2016-06-02 06:56:59 +00:00
..