Bug 1199443
This avoids reset of locals in quantum/api/__init__.py,
resulting in sys being None when assigning quantum.api.extensions
to neutron.api.extensions
Change-Id: I2da8b336679b643c92824399a05ca1b9980d1598
This change renames everything to Neutron while providing backwards
compatible adjustments for Grizzly configuration files.
implements blueprint: remove-use-of-quantum
Change-Id: Ie7d07ba7c89857e13d4ddc8f0e9b68de020a3d19
Fixes bug #1197670
This patch fixes programming error in the unit test for ryu-agent.
- Change the way of patch to cfg of ryu-agent
- Fix typo
s/assert_calls/assert_has_calls/
Change-Id: I9a5a17f314eb9c786338463e077cadc32d846dba
With this patch we avoid masking NotImplementedError(s).
Previously, a catch-all clause returned 500, and it makes
sense to distinguish between genuine 500 errors (i.e. a bug),
versus 501 ones.
This opens up the issue of keeping the server behavior
consistent from one release to another, but one might argue
that this was bad design decision in the first place.
Fixes bug 1197200
Change-Id: I2d81cba5ee9e5fbe8e865378381790b5b467d255
If a subnet is created using an IP that isn't a root IP
(doesn't end with .0) the code that handles IP checking
for fixed IPs fails. This fix changes the check for a
valid IP to use the net.network IP address to
avoid problems in subnets created with the non-root CIDR.
(fixes bug 1188845)
Change-Id: I89df64261d0f2741668576e45dc8f026857f20b0
Bug 1177572
This patch leverages the same approach as bug 1174111 for avoiding
loading ExternalNetwork element from db for each network element.
make_network_dict, _extend_network_dict_l3 are refactored accordingly.
Also, this patch sligthly alters the logic of process_l3_network_create
and process_l3_network_update as these methods assumed
_extend_network_dict_l3 was always executed before retuerning.
Finally, calls to get_network and get_networks in plugins which only
extended the response with l3 attributes have been completely removed.
Change-Id: I3b4c28ec0c78f731a534c2b66150d529fd797e72
Small clean-up to the plugin directory. This is also
more in line with how API extensions have their own
module.
Change-Id: Idae52e30128f4ed9f8f7f5164991952bc3189f53
Blueprint nvp-test-coverage
This patch improves the Nicira plugin test coverage by:
- adding a suite of test cases for nvplib
- removing unused exception handling code
- removing 'vestigial' code in nvp plugin modules
This patches also fixes a few minor glitches with the plugin
and the fake api client.
Change-Id: Ia319f556a815e5061b867a97d834123786218fec
This correctly checks for the case where nova does not
provide the host_id in port creation/updates.
Fixes: bug #1195903
Change-Id: Ic0d714a3977810c6b1144c1e25488f75cc95d0f0
This patch removes the duplicated method _check_provider_update
and adds a check for it in the NVP plugin that was missing so that an error
is raised if someone tries to update a provider network.
Fixes bug: 1192702
Change-Id: I84e6767f351122f9e5af0cd4ef24d8eaaeb4ccd5
Calling get_gateway was a late addition to my code to add a default
route in the DHCP namespace. The code did not properly handle the
dict returned from that method. This changes it to properly extract
the 'gateway' attribute from the dict.
Change-Id: I9823a31feee7ab333c277fc6e78f366408393155
Fixes: Bug #1195543
The timeout argument overwrites the timeout value set in the config file.
The change permits any standalone script to interact with the bigswitch controller
through the quantum plugin with customized timeout value without changing the plugin
behavior.
Fixes: bug #1195923
Change-Id: I17954e70d661e7e7d5156c34c08b7c96bb3203ce
One of two patches that fixes bug #1194438.
Instead of spawning ovs-vsctl for every port on br-int, we just dump the
required columns from the Interfaces table and grab the rows that we need. This
is a big win because the time it takes for ovs-vsctl to connect to the
openvswitch controller is orders of magnitude greater than the time it takes to
parse the rows. In practice, instead of taking roughly 1s per interface, the
agent's periodic task only takes 1s in total.
Change-Id: Idbf32c38e0c4a9c9634c1e4f0e79bd556b720493
This patch properly deprecates the 'enable_tunneling' option in the OVS agent.
It does this be ignoring it if 'tunnel_types' is set, and if 'enable_tunneling'
is set, it defaults 'tunnel_types' to only GRE.
Fixes bug 1195374
Change-Id: I27fe6b930541a514fc51d3a6669347e52db8cb46
We don't need this info in the doc string as it is already in the admin
guide. If the CLI changes then we'll also have to update the doc string.
Fixes bug 1195429
Change-Id: If27788477c886f6faedbc5fca7856b683a6953f1
Bug 1192610
Fixes and simplifies the logic for managing SNAT rules, based
on the assumption that a chain contains SNAT rules for a single
router.
It also fixes another small glitch with SNAT rules not being
removed when a gateway port is destroyed (the glitch did not
affect operations)
Change-Id: Ia95e375459a1f32e93bbe912a268a8ed13859c69
Fixes bug 1191768
For the dhcp and l3 agents the first state report will be done
via a call. If this succeeds then subsequent calls will be done via
the cast method.
Change-Id: I82a1d92fc84983b7bb46758db0aee3e3eca1d3be
There is a currently a hacky way to get the dhcp-agent to hand out a
gateway route using a host route on the subnet. If you pass a route
that has 0.0.0.0/0 as its destination, dnsmasq will pass it as a static
route. Unfortunately it will also pass the router option if the subnet
has a gateway set. This is inconsistent and precludes users from options
that are available in nova-network like using an external gateway.
This patch fixes things by allowing a 0.0.0.0/0 host route to override
the router setting passed by dnsmasq. This prevents the situation
where dnsmasq hands out two default routes.
Change-Id: Ia70223070bfd437f1c2eb48fde94491d7ee61fcb
Add support from moving ip/addresss/default gateway from physical interface
which is going to be attached to bridge to bridge device itself.
Fixes: bug #1192122
Change-Id: I8a8bf5edc17a87dcb747626dd1d6817ac48cb20d
Adds a new table to the Big Switch plugin to keep track of
the nova compute node host IDs that ports reside on.
This table is then used to allow users to override
the VIF type for a compute node based on the host ID.
This allows quantum to control an environment with multiple
VIF types.
Change-Id: I63eb66d970650237aed2d5dc6676a6d097988f8d
Implements: blueprint hostid-vif-override