The admin utilities usually run with the default config files:
/etc/neutron/neutron.conf and /etc/neutron/plugins/vmware/nsx.ini
In order to run it with custom files you can use:
nsxadmin --config-file <neutron conf path> --config-file <nsx conf path>
Change-Id: I0c75f0a616d8016a840611edab1e3b3edb53c4ad
Commit I475a5c984aed7b6cae26951e64971ec463a43c5e
changed the error handling of this api, so the plugin will need to handle the errors
Change-Id: I1ba3d0a64793674c97c62f6ff26fa00e34a7c4fe
In some cases the edge policy ids are different from the nsx ids.
Since validation is using those ids with the nsxlib objects, the nsx ids
should be used.
In addition - Do not fail plugin init or neutron action when failing to get
the transport nodes. Just issue a warning
Change-Id: I080ac86b1cebf66f11749c5256d1885a9bc7ef9f
Make sure to set the DHCP config only if there is a dhcp server ip.
Missing ip can happen during the process of deleting a subnet.
Change-Id: I1e8071935a01a7e07732c5033744f74769210043
When deleting a listener which doesn't exist in the backend, the call
shouldn't fail but delete from OpenStack DB and issue an error to the
log file.
Change-Id: I1ee816d82986a651ea2889b1a4a74889e8724dbb
Upon sunbet update and create, validate that the GW:
- has the same ip versions the network
- is part of the network
- In case of ipv6, match the NSX limitations
Change-Id: I21ef0a313569e8d025fe31c934c57ce2d54f2fec
The loadbalancers using the router LB service will be marked on
a new tag on the NSX service.
Also adin an admin utility to update existing Lb services with the tag.
Change-Id: I6c38b45e4d683681a6915fd07ca296264c7d2495
There is no need to validate the nsx provider network
(LS/segment already created on the NSX) against the MDproxy
Change-Id: I375c2cf81a3cf82c5954b6f5898e51e9fde661e9
Commit I7e68c9d0e40e03c0e3e708e04c996fdceed56df4 fixed the sg rule quota
issue in the admin utilities tests, instead of in their mock plugins
Change-Id: I95b6411e960c62def3bbc6a9d7b6cdd92fc4aa92
The default block rules rule has a group to match the network ips.
In case config firewall_match_internal_addr=False (match external)
we need to add the fip addresses as well.
Change-Id: Iec87b0032705811b81e02396137a183bc6a7c26c
Now that we are python3 only, we should move to using the built
in version of mock that supports all of our testing needs and
remove the dependency on the "mock" package.
Also see commit: Ifcaf1c21bea0ec3c35278e49cecc90a101a82113
Change-Id: I58da980351fe14357c210c02eb167a6c0af9d09e
Monkey patch the original current_thread to use the up-to-date _active
global variable. This solution is based on that documented at:
https://github.com/eventlet/eventlet/issues/592
Change-Id: Ia2dd231f4b8cb6f8876cf54671529095a9d11fc6
Closes-Bug: #1863021
When adding a vlan interface to a tier1 router, the edge cluster
must also be set, so that a service router will exist.
When removing a vlan interface, check if the service router is still
needed.
Change-Id: I73b3b02b876eea3d3247487fd12b542b637b6e0b
cleanup_router_fw_resources was called twice when updating the
GW firewall and no FWaaS ports were found.
This method should be called only once inside delete_router_gateway_policy
if a policy exists.
Change-Id: Ib947720daaff2b0112d580e1353c9bae0f3dce06
Since NSX 3.0 ipv6 subnet GW cannot have a zero suffix.
This fix performs the check & update for MP DHCP subnets,
in addition to the Policy DHCP subnets that already had this check.
Change-Id: Ie74e96eb36df16f5e98588d92067f94168f3f5a6