290 Commits

Author SHA1 Message Date
Jonathan LaCour
af42a8c5e2 Adding a README, LICENSE, and copyright notices. 2014-05-27 12:19:09 -07:00
Doug Hellmann
16d41833e2 Merge pull request #34 from rodis/fix/routers-in-error-state
Fix NVP marking all routers as Error
2014-04-18 13:15:01 -04:00
Rosario Di Somma
62894f62a1 Fix NVP marking all routers as Error
DHC-1877

The NvpSynchronizer class in Neutron runs
a synchronization thread to sync nvp objects with
neutron objects. Since we don't use nvp's routers
the sync was failing making neutron showing all
the routers like if the were in Error state.
To fix this behaviour we override the two methods
responsible for the routers synchronization in the
NvpSynchronizer class to be a noop

Change-Id: I2d3a392d352474774824bc7cec579b2c9bbae472
Signed-off-by: Rosario Di Somma <rosario.disomma@dreamhost.com>
2014-04-18 18:16:31 +02:00
Ryan Petrello
6832ca374e Merge pull request #33 from dhellmann/explicit-subnet-floating-ip
Look for floatingips on configured subnets
2014-03-28 14:35:35 -04:00
Doug Hellmann
b4b7b2cdcb pep8 fixes
Change-Id: Ie2aceecfae1cc7012898d6c164c988a9670fd393
2014-03-28 11:20:51 -07:00
Doug Hellmann
042635fdc0 Look for floatingips on configured subnets
Define a new configuration option to list the subnets where
floatingips should be allocated, and use those subnets instead
of all of the subnets on the external network.

Change-Id: Ida1dbd9e463deb36cf3249deaad24e93f49bb575
2014-03-28 10:56:32 -07:00
Doug Hellmann
d0d82ba511 Original implementation of create_floatingip
Bring in the original implementation of create_floatingip
from neutron.

Change-Id: I86561807251a338c71c4f3d39156a15fb740d14c
2014-03-28 10:56:27 -07:00
Doug Hellmann
251030a9d9 fix flake8 issues
Change-Id: I8e3a6bbb4a78418ae64383e86861a59b0a789b69
2014-03-28 10:56:22 -07:00
Doug Hellmann
24768f8e18 fix tox default env list
Change-Id: I44d79475531931a881aac79a734b3a857957b2fe
2014-03-28 10:56:07 -07:00
markmcclain
d7cefaf085 Merge pull request #31 from dhellmann/fix-ovs-router-listing
Fix router listing under OVS
2013-11-19 09:14:19 -08:00
Ryan Petrello
fe8d100587 Merge pull request #32 from rodis/feature/switch-to-flake8
Switch to flake8
2013-10-28 07:51:19 -07:00
Rosario Di Somma
68ee539e40 Switch to flake8
Change-Id: I29ad27eca617e9ca801024d598d665cf1a2728d0
Signed-off-by: Rosario Di Somma <rosario.disomma@dreamhost.com>
2013-10-25 23:33:52 +00:00
Doug Hellmann
9308de9079 simplify logic in filter handling
Change-Id: I8ee0ac867529e0b6750d97dee1576958fe4f20b4
2013-10-25 18:56:49 -04:00
Doug Hellmann
241f1a266b restore filter to router listing
Filter when given a list of router ids.

Change-Id: I68db050a0de8b26ac1fcd6a018690c0e32554677
2013-10-25 18:54:06 -04:00
Doug Hellmann
6dc4874125 simplify list_routers_on_l3_agent
Change-Id: I3574b977604faedc33699a4154d20e18ad11b963
2013-10-25 18:46:02 -04:00
Doug Hellmann
8715eafa11 fix pep8 error
Change-Id: If70982c0fa68a61d70958fd8957739226582e5f3
2013-10-25 18:40:15 -04:00
markmcclain
ec0e5767d4 Merge pull request #30 from rodis/bug/dhc-1560-fix-subnet-ownership
Fix autocreate subnet ownership problem
2013-10-25 15:38:39 -07:00
Doug Hellmann
c8cc9f3ba6 Fix router listing under OVS
Override methods related to finding routers for
particular agents to always return all of the
routers, since we don't *have* an agent.

Change-Id: I2bf08392fe291265fea21d53b27d9027dd29da48
2013-10-25 18:34:49 -04:00
Rosario Di Somma
6e3225013f Fix autocreate subnet ownership problem
DHC-1560

When a user create a network in a tenant he is not member of
passing the --tenant_id option to the net-create command, the
network is created with the right ownership, but the subnet
we are creating automatically is owned by the tenant from the
command credentials rather than the value passed explicitly
as the owner.

Change-Id: I48810b87c6603f8d511a7fd4b4e64c1f4370a56e
Signed-off-by: Rosario Di Somma <rosario.disomma@dreamhost.com>
2013-10-25 17:31:14 +00:00
markmcclain
9cc6d80a31 Merge pull request #29 from markmcclain/havana
fix error that can occur with adding subnet
2013-10-15 15:16:11 -07:00
Mark McClain
0a6dc76574 fix error that can occur with adding subnet 2013-10-15 18:09:49 -04:00
markmcclain
23d38de57b Merge pull request #28 from markmcclain/havana
more fixes for compatiblity with Havana
2013-10-14 19:33:57 -07:00
Mark McClain
f95b57423d more fixes for compatiblity with Havana 2013-10-14 22:32:56 -04:00
Doug Hellmann
9394a5d19d Merge pull request #27 from markmcclain/havana
make nvp wrapper compatible with Havana
2013-10-11 13:08:50 -07:00
Mark McClain
2714ebddbd make nvp wrapper compatible with Havana 2013-10-11 15:55:57 -04:00
Doug Hellmann
a3262561d9 Merge pull request #26 from rodis/havana
Change all the quantum references to neutron
2013-09-23 13:29:43 -07:00
Rosario Di Somma
cafe405635 Change all the quantum references to neutron
DHC-1456

In order to make the RUG working with havana, we need to change
all the references from quantum to neutron

Change-Id: I127ff788f61d55ca12d9da1f2f149c0e2e4ccff1
Signed-off-by: Rosario Di Somma <rosario.disomma@dreamhost.com>
2013-09-16 17:34:25 -04:00
Doug Hellmann
8cabbd9543 Merge pull request #24 from markmcclain/deco_pep8_fix
fix pep8 errors that slipped through
2013-06-12 10:21:16 -07:00
Mark McClain
d031dc8679 fix pep8 errors that slipped through 2013-06-12 12:54:44 -04:00
Rosario Di Somma
950426fee5 Merge pull request #23 from markmcclain/ip_conflicts
fixed bad join query and properly check for IP in use
2013-06-12 09:46:12 -07:00
Mark McClain
7383d8b45e fixed bad join query and properly check for IP in use 2013-06-12 12:34:30 -04:00
Doug Hellmann
343f1de079 Merge pull request #22 from markmcclain/ipv6_addresses
add special IPv6 rules for NVP port security
2013-05-15 08:31:02 -07:00
Mark McClain
f97554c0ca add special IPv6 rules for NVP port security
This change adds link-local and the subnet cidr to allow temp IPv6
addresses to work properly when port security is enabled.
2013-05-15 11:14:11 -04:00
Doug Hellmann
626da1ad82 Merge pull request #21 from markmcclain/nvp_fixes
Nvp fixes
2013-05-09 13:52:39 -07:00
Mark McClain
77f7cb0888 Apply hotfix to work around NVP3.0 RA filter
Fixes DHC-1152
2013-05-09 16:48:42 -04:00
Mark McClain
5f03e9d07f use l3_db disassociation impl
The Akanda NVP wrapper did not replace NVP specific version of
disassociate floating IP.  This fix replaces the NVP version with l3_db
version since the rest of Akanda uses that functionality
2013-05-09 16:48:21 -04:00
Doug Hellmann
a72b2de59f Merge pull request #19 from markmcclain/ovs_patch
add IPAM monkeypatch to OVS plugin
2013-05-02 11:28:00 -07:00
Mark McClain
b780ffbebf add IPAM monkeypatch to OVS plugin 2013-05-02 14:27:02 -04:00
markmcclain
877550f1a3 Merge pull request #18 from rodis/fix/remove_agent_scheduler
Remove the agent_scheduler from supported_extension_alias
2013-04-25 13:05:53 -07:00
Rosario Di Somma
8e02a66829 Remove the agent_scheduler from supported_extension_alias
in the OVS plugin

Change-Id: I6d0e5e241d27924289842419afa0e47e30bc8f8d
Signed-off-by: Rosario Di Somma <rosario.disomma@dreamhost.com>
2013-04-25 15:01:52 +02:00
Doug Hellmann
ef9dd492f6 Merge pull request #17 from jordant/master
Typo in 10.0.0.0/8
2013-04-22 06:46:50 -07:00
Jordan Tardif
61487f5bfe Correcting 10.0.0.0/8 in allowed subnets 2013-04-20 00:53:26 -07:00
Rosario Di Somma
237e882d8d Merge pull request #16 from markmcclain/oslo
update for oslo.cfg
2013-04-11 16:19:51 -07:00
Mark McClain
4cd89a428c update for oslo.cfg 2013-04-11 19:15:37 -04:00
Rosario Di Somma
803c2ad0d8 Merge pull request #15 from dhellmann/even-more-debug-logging
More logging in _update_internal_gateway_port_ip
2013-04-11 13:16:35 -07:00
Doug Hellmann
fd8a98c52d pep8 errors
Change-Id: I3909127d831581dbd2724d176d8532952dad444d
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-04-11 16:12:20 -04:00
Doug Hellmann
f4795a2255 More logging in _update_internal_gateway_port_ip
Change-Id: I4fdb2b97d04db78cbc40ca2e8e66ab780ccff638
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-04-11 16:05:44 -04:00
Rosario Di Somma
46732a2b78 Merge pull request #14 from dhellmann/improve-error-message
Improve logging in _update_internal_gateway_port_ip
2013-04-11 12:42:48 -07:00
Doug Hellmann
0c1cddc07f Fix bad log msg argument
Change-Id: I4bd0510385df0ba369b931979f48b29bf5c978c7
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-04-11 15:40:02 -04:00
Doug Hellmann
a54d3e6d90 Improve logging in _update_internal_gateway_port_ip
Change-Id: I820216445b31bf3e5e26e3d9345753b443c2d181
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-04-11 15:38:40 -04:00