Commit Graph

7839 Commits (0c3177235e1ff8023d82ff87140aa0eba434f58f)

Author SHA1 Message Date
Gary Kotton 0c3177235e VMware-NSX: update documentation to reference VMware-NSX
Change files copied from Neutron to have the VMware NSX references.

Change-Id: I3cf8b3d37e045cb8efb0cac31efa30b93cc88d09
2014-12-29 03:15:44 -08:00
Gary Kotton b2c391c2c3 VMware-NSX: clean up requirements file
Purge the requirements file of unnecesary imports

Change-Id: I9794c356a66da8914d7e8bd3afde94af54094526
2014-12-29 01:19:21 -08:00
Jenkins 0886ba66b7 Merge "VMware: initial NSXv developments" 2014-12-28 14:37:46 +00:00
Gary Kotton 9254b0aeda VMware: initial NSXv developments
Add the NSXv code to the repo.

Co-Authored-By: Kobi Samoray <>

Change-Id: Iefc76e0d6bfab8136bd2e3300a8b3d4a3fdb3a46
2014-12-28 06:22:43 -08:00
Salvatore eb52e853c4 VMware: fix security group check on port create
The code did not consider an empty list among the cases
in which security groups are not supplied on port create.

Change-Id: I6e4ac3dee0d02c6c26977f8e2fee717587b8bfc5
Closes-Bug: #1405311
2014-12-24 01:24:46 +01:00
Gary Kotton 3a96a43c53 VMware: fix gitreview
Fix the correct repo

Change-Id: I1deed42fb003f06bc97634e3908c6d82c8620e85
2014-12-21 23:24:18 -08:00
Gary Kotton 68b46468b0 Create vmware-nsx with history
A channuka miracle!
2014-12-18 07:36:43 -08:00
Jenkins 463e6671c5 Merge "Cisco: unsupported format character in log format" 2014-12-18 13:47:26 +00:00
Jenkins 3b9bb4fa1c Merge "Updated from global requirements" 2014-12-18 12:56:28 +00:00
Jenkins 7828fbc834 Merge "Removed unused iso8601 dependency" 2014-12-18 12:39:49 +00:00
Jenkins e6aa486022 Merge "Imported Translations from Transifex" 2014-12-18 10:47:33 +00:00
OpenStack Proposal Bot 0676942239 Updated from global requirements
Change-Id: I181fc4f2b066eca08f2f23c5d2ff996aa46795ab
2014-12-18 10:15:59 +00:00
Jenkins 6ab718608e Merge "openvswitch/ofagent: Remove OVS.enable_tunneling option" 2014-12-18 09:47:24 +00:00
Jenkins 449647d75b Merge "Add OVS status and fix OVS crash" 2014-12-18 09:11:24 +00:00
Jenkins 3e3e25a157 Merge "L3 Agent restructure - observer hierarchy" 2014-12-18 04:21:53 +00:00
Jenkins 1af333e266 Merge "Simplify L3 HA unit test structure" 2014-12-18 04:12:31 +00:00
Jenkins 43019871a0 Merge "Cleanup req_format in test_api_v2_resource" 2014-12-18 03:02:35 +00:00
Jenkins c27ec3bc0d Merge "Remove locking from network and subnet delete op" 2014-12-18 00:59:02 +00:00
RobinWang 59aae976bc Add OVS status and fix OVS crash
OVS crash/restart is unpredictable, so neutron-ovs-agent should be
robust enough under that situation. But currently ovs-agent doesn't
figure out this error status(only check ovs restart/normal status)
and still continue to apply subsequent operations(set br/add patch
port/...) till causing exceptions/crash. Add flag to fully represent
ovs status. Base on that, we can add proper fail-over code in method
rpc_loop, to treat ovs dead/restart gracefully to prevent agent
crashes while it is running.
Closes-bug: #1296202

Change-Id: Id058b7ddef2ed337627dc692d0418786ad14f4b4
2014-12-17 23:23:03 +08:00
Jenkins 438fef4503 Merge "Correct arguments to logging function" 2014-12-17 11:27:58 +00:00
Elena Ezhova f0b3283591 Cleanup req_format in test_api_v2_resource
Since XML support has been removed test cases in test_api_v2_resource
no longer need to specify req_format.

Change-Id: Ic6572abc3121535e19d21e9a34d70bb42b9782de
Related-Bug: #1380787
2014-12-17 13:02:54 +03:00
OpenStack Proposal Bot 40b662c240 Imported Translations from Transifex
For more information about this automatic import see:

Change-Id: Ia7bcef7a0efacc79c467b18863cb8180b6a89a28
2014-12-17 06:05:36 +00:00
Angus Lees 99331b97ea Cisco: unsupported format character in log format
CiscoCfgAgent.hosting_devices_removed() contains an error in the
format string used to log errors:

    LOG.error(_LE("Invalid payload format for received RPC message "
		"`hosting_devices_removed`. Error is %{error}s. "
		"Payload is %(payload)s"),
	      {'error': e, 'payload': payload})

"%{error}s" should be "%(error)s"

The existing version raises "ValueError: unsupported format character
'{' (0x7b)" when invoked.

(found via pylint)

Change-Id: Ic5e9db2a19aa7652cbbd1ee04d7e02914e8d0093
Closes-Bug: #1403304
2014-12-17 15:44:12 +11:00
Angus Lees 0c91e9c58b Correct arguments to logging function
ofctl_arg_supported contains a bad call to LOG.debug in an exception

    LOG.debug("...%s. Exception: %s", (full_args, e))

This throws "TypeError: not enough arguments for format string" and
should be:

    LOG.debug("...%s. Exception: %s", full_args, e)

(Found via pylint)

Change-Id: Ib14666f60b16584f225b1e0c4fed82ef7e941aac
Closes-Bug: #1403296
2014-12-17 15:07:28 +11:00
Jenkins f7e897cda2 Merge "Add functional test for l3-agent metadata proxy" 2014-12-16 22:46:07 +00:00
Jenkins d7ced48491 Merge "Replace non-ovs_lib calls of run_vsctl with libary functions" 2014-12-16 22:09:09 +00:00
Jenkins b8c359a4fd Merge "Remove mlnx plugin" 2014-12-16 21:17:06 +00:00
Jenkins 72d843dc44 Merge "Update rpc_api docs with example version update" 2014-12-16 14:38:06 +00:00
rossella 89c24012d0 Remove locking from network and subnet delete op
delete_subnet in Ml2 plugin instead of using SELECT FOR
UPDATE deletes the IPAllocations that can be auto-deleted
straight away.
An exception is raised if there are ports that cannot be

delete_network in ML2 plugin tries to delete all ports
and subnets before performing the network deletion.
No lock is needed here - if some other process modifies
the Port or Subnet table, adding new items, the network
deletion will fail because of a violation of a foreign
key contraint.
In that case the operation will be retried.

Change-Id: Ib4e9441a95d6c80b92a43d55fdeb18d7b51a1cf3
Closes-bug: #1332917
2014-12-16 13:51:02 +00:00
Ihar Hrachyshka 93a6202067 Removed unused iso8601 dependency
It should have been removed when migrating to oslo.utils when we dropped
timeutils module from our tree.

Change-Id: I4093a3c8faf3da5790ee31fdebec0b8ed70f84f3
2014-12-16 11:52:46 +01:00
Jenkins 99534786ab Merge "Enable test_migration" 2014-12-16 10:27:17 +00:00
Jenkins eb6747ab3e Merge "Fixed test test_update_port_security_off_address_pairs" 2014-12-16 09:55:04 +00:00
Jenkins 8d2045f094 Merge "tests: initialize admin context after super().setUp call" 2014-12-16 06:27:42 +00:00
Jenkins fd4d55c910 Merge "ofa_test_base: Fix NoSuchOptError in UT" 2014-12-16 06:27:31 +00:00
Jenkins 8acface007 Merge "Set timeout for functional job" 2014-12-16 06:01:03 +00:00
Jenkins c3e19729ee Merge "Auto allocate gateway_ip even for SLAAC subnets" 2014-12-15 18:23:58 +00:00
Jenkins 924c8a5ef9 Merge "Have L3 agent catch the correct exception" 2014-12-15 16:25:12 +00:00
Cedric Brandily a0b37e489b Add functional test for l3-agent metadata proxy
This change add a functional test for l3-agent metadata proxy to

 * iptables redirection from
 * headers added by the neutron-ns-metadata-proxy
 * proxy to the metadata_socket by the neutron-ns-metadata-proxy

Change-Id: I16f1269644a56d932426daa3a89dd5a8f747b314
2014-12-15 15:53:59 +00:00
Moshe Levi 6099eb6970 Remove mlnx plugin
Mellanox plugin was marked deprecated in Juno.
This commit actually removes the code for Kilo.

Mellanox recommends users to use mlnx or SR-IOV MD

Closes-Bug: #1386539

Change-Id: I7d109bf62f71b2996aef4e0002f447ca3439a5cf
Signed-off-by: Moshe Levi <>
2014-12-15 16:04:23 +02:00
Jakub Libosvar 081c684584 Set timeout for functional job
As functional jobs take more time to finish than unit tests and also
there is a chance that test will hang due to system interaction, this
patch sets maximum execution time to 90 seconds per test.

Change-Id: Ib58a1b53ace178e1bf99150628fa5576b079e8bc
2014-12-15 13:30:53 +00:00
AKamyshnikova 6809848f4b Enable test_migration
After splitting in neutron database was left a number of tables
that don't have any models. Test should be improved to skip these
tables from checking.

Closes-bug: #1401424

Partially-Implements: blueprint services-split

Change-Id: I201b4a310eb26a86765c8541fba6e2d42431cf2a
2014-12-15 12:19:26 +00:00
Ihar Hrachyshka cd43fcfc87 tests: initialize admin context after super().setUp call
New policy code requires that CONF is already initialized when policy
checks are invoked. It means that no Neutron context objects should be
created before BaseTestCase.setUp() is called that will set
configuration, among other things.

Ideally, we would just make sure that all test cases invoke
super().setUp() as the very first line of any subclass setUp() methods.
But since some of test cases require prior setup (like mocking extension
manager) before proceeding to base class, we end up with magically
shuffling context instantiations to occur below super() calls.

Change-Id: Ib1039ea1ff9480ca57f9cb0c917469d0d2ad28b8
Closes-Bug: #1400301
2014-12-15 12:09:55 +01:00
Roey Chen 6094f31b56 Fixed test test_update_port_security_off_address_pairs
This test checks that port-update fails with 409 return code when
port-security is turned off on a port which contains address-pairs.
The test had a typo ('security-groups' -> 'security-group') which would
have cause it to produce false-positive.
This change rewrites the test and eliminates the possibility of this
false-positive to occurs.

Change-Id: Ib54ad089872f28eb28a3d4d050ba0ee8fdc2bfe2
Closes-Bug: #1400725
Signed-off-by: Roey Chen <>
2014-12-15 00:13:01 -08:00
Jenkins e6aada633f Merge "Migrate to oslo.context" 2014-12-15 06:10:55 +00:00
Jenkins 6748e77ee2 Merge "Remove broad exception catch from periodic_sync_routers_task" 2014-12-15 06:10:42 +00:00
Jenkins c2fff3c73a Merge "Strip square brackets from IPv6 addresses" 2014-12-15 06:10:29 +00:00
Jenkins 85f2370a7d Merge "Switch to using subunit-trace from tempest-lib" 2014-12-15 06:10:15 +00:00
Jenkins b545cff2ce Merge " OS X script fixes" 2014-12-15 06:02:38 +00:00
Jenkins 23079637be Merge "Don't restore stopped mock that is initialized in setUp()" 2014-12-15 06:02:24 +00:00
YAMAMOTO Takashi c063de82d7 openvswitch/ofagent: Remove OVS.enable_tunneling option
The option has been marked deprecated in IceHouse.
Please use AGENT.tunnel_types=gre instead.

Related-Bug: #1195374
Change-Id: Iea6159c5949a63a0b680818a3fd0928d470115bd
2014-12-15 05:15:16 +00:00