Commit I57c49e67f9cb285a5f5bc19ec53a42d10de9f0da changed the openstack
client extensions initializion code, making the netwrok service init
breaking out pep8. As it was redundent, this patch removes it.
Change-Id: Ic3c496c85600a39aebcbffac8e0ff1bbf2f349f8
In case the project plugin of the loadbalancer does not match the one
of the new object fail the creation
Change-Id: If7a43d46223ccc966665ce2f6bbc6c9fec9cc5f1
When the different service plugins filter the list results by the
project id of the current requestor, the code should not raise an
error if one of the objects project was not found.
Instead that object will be skipped, and a message will be logged.
Change-Id: Ia78f059e1334a23cd9cda07a8981d1f74ae2c430
When adding an illegal port to the FW, the status of the fw will be
set to ERROR.
When deleting it, the status should be back to normal. For that to happen
the driver cannot ignore this port, but need to return it as a dummy one.
Change-Id: Ieecdc2a37f92276b5a7c0257c1ef46e772b57a49
Objects the plugin creates on the NSX policy manager should have tags
indicating that those are OS objects, with the current version, and
project name.
This helps the customer understand which object belongs to an openstack
project, and also helps with the devstack cleanup
Change-Id: I3abd1abb7830a36dac2b5e171bad7390c76cf16c
Access to neutron.db.api's context manager is already in neutron-lib
and in fact neutron is already using it as a shim. This patch switches
over context manager access to use neutron-lib's accessors.
Also see https://review.openstack.org/#/c/613122
Change-Id: I13eb3a25a5bd83bb00dfa4a7430324551fea0f2e
Commit 47b24d7669a5ea755cd099bba6af088ef1f4c572 broke the octavia
listener test due to changes of the octavia config initialization.
This patch uses mock to skip the problem, since octavia & neutron
configurations should not be loaded togather.
Change-Id: I9ae6a860d060181a647f891cf46be2ed2ffb9423
Ports from older neutron versions will not have a DB entry for port bondings.
This patch will manually fill the data Nova need.
Change-Id: I7d27844b2f642403c6a16d59879aebbac36aaf1e
When rotuer interface creation fails, the plugin rolls it back.
If the rollback also fails it should only log it, and keep the
original exceprion of hte creation failure
Change-Id: Ic2bc51ed7172ddb71b274164a16fda2218ed6d8a
Duplicate rule validation failed since _check_local_ip_prefix should
be called before adding the rules to the DB
Change-Id: I931ad9e42ff76dd5fd7582ddad0ffbb3f4e8fc45
When Neutron is already fetched by devstack, it is not required to fetch
it in the devstack plugin. Doing so causes problems when devstack fetches
a specifig branch of Neutron.
Change-Id: Iaf2bc9bd76f78d32c7565ccd6288f96cbf6610d7
Commit I5c63fdc331c396f762054e1ced2059773b1df74d changed the output of
policy apis create_or_overwrite which will now only return the object id.
This patch updated the policy plugin code accordingly
Change-Id: Ie6be577a28c450bc5d15abffcb347adfdcff03c8
Depends-on: I5c63fdc331c396f762054e1ced2059773b1df74d