Sam Hague [Mon, 30 Nov 2015 16:18:26 +0000 (16:18 +0000)]
Merge "Added Update and Remove commands code"
Sam Hague [Mon, 30 Nov 2015 16:18:09 +0000 (16:18 +0000)]
Merge "Changes to LogicalSwitchUpdateCommand in transact as per new yang"
Thanh Ha [Sun, 29 Nov 2015 22:28:55 +0000 (17:28 -0500)]
Use odlparent-lite as artifacts parent
We created odlparent-lite to provide a minimal pom which allows projects
to publish to the correct server. Without this ${project}-artifacts may
fail to deploy to Nexus.
Change-Id: Iec5b15f027a64ad9498fcd9c874be1b4e57e682c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Peng Zhang [Thu, 26 Nov 2015 10:47:22 +0000 (18:47 +0800)]
Create Physical Switch by listening on DS
PatchSet2:
1. fix update issue
2. update postman collection
PatchSet3:
1. change according to review comment
PatchSet4:
1. fix IP To String issue
Change-Id: I16357d027bdcd8b03e2f0a0d2bedf57bd4a4864f
Signed-off-by: Peng Zhang <pzhang@ctbri.com.cn>
Anil Vishnoi [Fri, 27 Nov 2015 21:07:57 +0000 (21:07 +0000)]
Merge "Avoid calling the String constructor explicitly"
karanrajsingh [Thu, 26 Nov 2015 11:58:53 +0000 (17:28 +0530)]
Added Update and Remove commands code
McastMacsLocalUpdate/Remove done.
UcastMacsLocalUpdate/Remove done.
LogicalSwitchRemoveCommand updated as per new yang.
Some minor fixes done in PhysicalLocatorUpdateCommand.
Redundant Blanks and comments removed.
Some comments Updated.
Change-Id: I4e19fc42e0c935da99e3330e442067b2c62be694
Signed-off-by: karanrajsingh <karan.raj.s.singh@ericsson.com>
Peng Zhang [Wed, 25 Nov 2015 08:22:06 +0000 (16:22 +0800)]
Changes to LogicalSwitchUpdateCommand in transact as per new yang
1. changes to LogicalSwitchUpdateCommand in transact
2. remove redundant code
PatchSet 2:
1. Get "extractCreated" back
PatchSet 3:
1. Change postman collection as per new yang
Patchset 4:
Fixed update issue in LogicalSwitchUpdate command
Change-Id: If2f34ed570bfa0f265c976178272dc07674766ec
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
Stephen Kitt [Thu, 26 Nov 2015 08:55:13 +0000 (09:55 +0100)]
Remove unused code and imports
Change-Id: I9f9fe46abc4feba4a0795b8380b5c9bf4e894716
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Stephen Kitt [Thu, 26 Nov 2015 08:47:20 +0000 (09:47 +0100)]
General code cleanup
Use <> where appropriate.
Remove a couple of unnecessary unboxing statements.
Reduce variable scope.
Simplify a couple of boolean expressions (Optional<T>.get() is
instanceof T if it's not null).
Fix up some documentation.
Change-Id: I6db39ad20e3245c03fff94cb96fbc8b09f4f57dc
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Stephen Kitt [Thu, 26 Nov 2015 08:44:25 +0000 (09:44 +0100)]
Simplify AbstractNeutronInterface::readMd
Use B for the parameter type to avoid masking the main T parameter
type.
Inline the optional handling.
Change-Id: I3f54589aec36b7fb378d7a0936743961946aa11b
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Stephen Kitt [Thu, 26 Nov 2015 08:43:05 +0000 (09:43 +0100)]
Drop redundant ofPort check
Because of the break in the loop, ofPort is always 0 when the if
statement is reached, so it can safely be removed.
Change-Id: Ia700962e9d5a7d8a4dd0fa1af61811694ac366fe
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Stephen Kitt [Thu, 26 Nov 2015 08:24:41 +0000 (09:24 +0100)]
Inline return values
Change-Id: Iea346d6682801f11e69a22c0330aabcef2a0dd4c
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Sam Hague [Wed, 25 Nov 2015 21:21:20 +0000 (21:21 +0000)]
Merge "Add option to use netdev datapath_type"
Sam Hague [Wed, 25 Nov 2015 20:51:46 +0000 (15:51 -0500)]
Add option to use netdev datapath_type
Change-Id: Ica37449612dc2465ddd71bfc19caa9a599354c34
Signed-off-by: Sam Hague <shague@redhat.com>
Stephen Kitt [Wed, 25 Nov 2015 16:51:09 +0000 (17:51 +0100)]
Avoid calling the String constructor explicitly
Change-Id: I3f57df03746acafe11def7cdced65822b31117a5
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Vishal Thapar [Wed, 25 Nov 2015 14:30:30 +0000 (20:00 +0530)]
yang changes, PhysicalLocator and UcastMacsRemote
1. Added PhysicalLocator and UCastMacsRemote Update code.
2. Yang: Modified logical-switch-ref to correct type based on recent
changes
3. Yang: Moved all mac attributes to Global node from PhysicalSwitch.
Change-Id: I1a51ea9a4423144892488d9de6d01e7b5271d18b
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
Sam Hague [Wed, 25 Nov 2015 14:45:57 +0000 (14:45 +0000)]
Merge "Changes to LogicalSwitchUpdate as per new yang"
Sam Hague [Wed, 25 Nov 2015 14:42:25 +0000 (14:42 +0000)]
Merge "Added UT and refactored code 1) Added UT for SecurityServicesImpl and SecurityGroupCacheManagerImpl. 2) Refactored a method in SecurityServicesManager."
Sam Hague [Wed, 25 Nov 2015 14:41:47 +0000 (14:41 +0000)]
Merge "UT for ProtocolRemovedCommand class"
Sam Hague [Wed, 25 Nov 2015 14:41:13 +0000 (14:41 +0000)]
Merge "Clean up L2ForwardingService"
Sam Hague [Wed, 25 Nov 2015 14:15:01 +0000 (14:15 +0000)]
Merge "Move NetvirtIT to use latest IT parent poms"
Sam Hague [Wed, 25 Nov 2015 13:43:46 +0000 (08:43 -0500)]
Move NetvirtIT to use latest IT parent poms
Change-Id: If59f183f08b0a98514ff1db4c6e0fb7cc1c2ed7c
Signed-off-by: Sam Hague <shague@redhat.com>
karanrajsingh [Tue, 24 Nov 2015 16:13:56 +0000 (21:43 +0530)]
Changes to LogicalSwitchUpdate as per new yang
Patchset2: review comments
Change-Id: I0bff6c4a2dbcb63fde20da8c2595061af5e8bca2
Signed-off-by: karanrajsingh <karan.raj.s.singh@ericsson.com>
Aswin Suryanarayanan [Tue, 24 Nov 2015 17:48:03 +0000 (23:18 +0530)]
Added UT and refactored code
1) Added UT for SecurityServicesImpl and SecurityGroupCacheManagerImpl.
2) Refactored a method in SecurityServicesManager.
Change-Id: I039d34869d182bc19ad89733092e0a5f35f67295
Signed-off-by: Aswin Suryanarayanan <aswin.suryanarayanan@hp.com>
Sam Hague [Tue, 24 Nov 2015 11:47:05 +0000 (11:47 +0000)]
Merge "Change hwvtep.yang and fix related code"
Peng Zhang [Tue, 24 Nov 2015 05:33:39 +0000 (13:33 +0800)]
Change hwvtep.yang and fix related code
1. Change hwvtep.yang based on https://git.opendaylight.org/gerrit/#/c/29797/.
2. Fix related code.
Change-Id: I314ddc23daebe59bd3ed241fa80803ce4845ef37
Signed-off-by: Peng Zhang <pzhang@ctbri.com.cn>
Sam Hague [Tue, 24 Nov 2015 01:34:07 +0000 (01:34 +0000)]
Merge "Test code for failing IT test 2"
Sam Hague [Tue, 24 Nov 2015 01:33:45 +0000 (20:33 -0500)]
Test code for failing IT test 2
Change-Id: Idf46604a17d5b96f3b62f29f17be1fbeb12d2b67
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Mon, 23 Nov 2015 22:51:12 +0000 (17:51 -0500)]
Test code for failing IT test
Change-Id: I250408640b46e60d0ae67bfe75b898fb077ea2ff
Signed-off-by: Sam Hague <shague@redhat.com>
Layth Al-Ani [Thu, 12 Nov 2015 20:49:16 +0000 (15:49 -0500)]
UT for ProtocolRemovedCommand class
Change-Id: Icd2b454b49b214735540c20281d6611071309947
Signed-off-by: Layth Al-Ani <lalani@inocybe.com>
Signed-off-by: adetalhouet <adetalhouet@inocybe.com>
Stephen Kitt [Fri, 20 Nov 2015 16:44:05 +0000 (17:44 +0100)]
Clean up L2ForwardingService
Avoid multiple instanciations of MatchBuilders.
Factor common code involved in FlowBuilder setup and instruction
construction, adding appropriate methods in FlowUtils and
InstructionUtils.
Use fluent-style builders.
Drop appendResubmitLocalFlood() which isn't used.
Avoid multiple creations of the same Uri in loops.
Two of the FlowBuilders don't have a setStrict() call; is that
intentional?
Change-Id: I984a735229613bd013443ff16815a1566a74b2d5
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Sam Hague [Sun, 22 Nov 2015 15:58:28 +0000 (15:58 +0000)]
Merge "L3: Add eth to br-ex"
Stephen Kitt [Thu, 19 Nov 2015 17:41:29 +0000 (18:41 +0100)]
Handle new base type provided by MD-SAL
When deserialized, OvsdbBridgeAugmentation's datapathType is now
initialized as DatapathTypeBase instead of null. This is now handled
as an absent value in SouthboundMapper instead of producing an
IllegalArgumentException.
The exception's message is clarified to trace the unknown datapath
type class, instead of the value retrieved from the map (which is
always null in this case).
Change-Id: Ie10ff09878bf182d4747d63f1580a37dfd71ac88
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Sam Hague [Thu, 19 Nov 2015 02:28:45 +0000 (02:28 +0000)]
Merge "Remove a few obsolete dependencies"
Stephen Kitt [Wed, 18 Nov 2015 13:36:12 +0000 (14:36 +0100)]
Remove a few obsolete dependencies
A security upgrade for commons-collections was released, but it turns
out ovsdb no longer uses it; this patch removes that from dependency
management along with a couple of other obsolete dependencies.
Change-Id: I7d3ba0c908e5306475f35ce9e07b0099f9c8f4cf
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Stephen Kitt [Tue, 17 Nov 2015 14:03:56 +0000 (15:03 +0100)]
Use an Autoclosable to guarantee bridge clean-up
TestBridge encapsulates a bridge created in OVSDB; with
try-with-resources this means we know we always clean the bridges up.
Change-Id: Iac00febaa8525d985bd4ba2b71393dd1d086c314
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Stephen Kitt [Tue, 17 Nov 2015 09:57:17 +0000 (10:57 +0100)]
Share a single OVSDB connection among all tests
This helps SouthboundIT greatly, and the OVSDB is clean after the
tests finish.
Change-Id: I0ee431a269468b973cc01bd07bb766950f0b5a52
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Sam Hague [Mon, 16 Nov 2015 17:49:31 +0000 (17:49 +0000)]
Merge "Maven cleanup and features-parent migration"
Sam Hague [Mon, 16 Nov 2015 17:48:02 +0000 (17:48 +0000)]
Merge "Added code for PhysicalPort, LogicalSwitch"
Sam Hague [Mon, 16 Nov 2015 17:46:17 +0000 (17:46 +0000)]
Merge "Added support to update flows for induvidual security rule add/remove , after the SG is associated with a port."
Sam Hague [Mon, 16 Nov 2015 17:32:18 +0000 (17:32 +0000)]
Merge "Use MD-SAL events to react to OVSDB changes"
Sam Hague [Mon, 16 Nov 2015 17:31:23 +0000 (17:31 +0000)]
Merge "SouthboundIT: merge the CRUD tests methods"
Stephen Kitt [Mon, 16 Nov 2015 16:56:42 +0000 (17:56 +0100)]
Maven cleanup and features-parent migration
Use features-parent {{VERSION}} to allow dropping a number of Maven
properties.
Upgrade commons-collections (1.0 -> 3.2.1) and httpcomponents (4.2.1
-> 4.4.1).
Drop a number of obsolete components from dependency management
(controller:commons.northbound, controller:containermanager,
controller:forwardingrulesmanager, controller:sal,
controller:switchmanager.
Use odlparent-provided versions of commons-lang3, most netty
components, and the equinoxSDK381 components.
Drop obsolete io.netty:netty:3.8.0 dependency (replaced by
io.netty:netty-all in versions 4+).
Remove some duplicate dependency declarations.
Use "<relativePath/>" instead of "<relativePath></relativePath>" now
that it's safe to do so (the auto-release scripts handle it).
Change-Id: I62a385ba49d79e045934ec706f69313425553ae0
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Sam Hague [Mon, 16 Nov 2015 13:43:54 +0000 (08:43 -0500)]
Bug 4641 - openstack.net-virt-sfc-features fail to find artifacts
Change-Id: Ie9110ebcfb7412015c171e0add5faa89ecd5d293
Signed-off-by: Sam Hague <shague@redhat.com>
Vishal Thapar [Fri, 13 Nov 2015 13:11:45 +0000 (18:41 +0530)]
Added code for PhysicalPort, LogicalSwitch
1. Added PhysicalPortUpdate and PhysicalPortRemove
2. Added LogicalSwitchUpdate and LogicalSwitchRemove
With these changes physical-port and logical-switch changes on device are
reflected in OperationalDS.
Patchset2:
1. Rebase
2. Add VlanBindings to OperationalDataStore
3. Use env vars for IPs in postman collection
4. Fixed a bug in postman collection
Change-Id: Ic1b3d0e15088db6d81316ad88c2db5299a9c9be0
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
Sam Hague [Mon, 16 Nov 2015 02:30:18 +0000 (02:30 +0000)]
Merge "Listen config DS then push configuration to switch"
Sam Hague [Mon, 16 Nov 2015 02:29:55 +0000 (02:29 +0000)]
Merge "Bug 4641 - openstack.net-virt-sfc-features fail to find artifacts"
Sam Hague [Mon, 16 Nov 2015 01:59:10 +0000 (20:59 -0500)]
Bug 4641 - openstack.net-virt-sfc-features fail to find artifacts
Change-Id: Iccc0c5d817db0014842f5e7023b173c67af728e2
Signed-off-by: Sam Hague <shague@redhat.com>
Peng Zhang [Thu, 12 Nov 2015 03:01:04 +0000 (11:01 +0800)]
Listen config DS then push configuration to switch
Patch Set 1:
1. Add skeletal code for command pattern to push configuration to switch, function TBD.
2. Implement LogicalSwitchUpdateCommand.
Patch Set 2:
1. Fix whiteapce issues.
2. Add 'logical-switch-managed-by' for logical-switch-attribute in hwvtep.yang.
3. Use hcm.getConnetionInstance(node) added in https://git.opendaylight.org/gerrit/#/c/29599.
Patch Set 3:
1. Fix LOG severities and delete some TODOes.
2. Use HwvtepSchemaConstats.databaseName for Hwvtep database name.
Change-Id: I0fe5dafdf9ecfa91ee8c757c4b694a50e6cbed35
Signed-off-by: Peng Zhang <pzhang@ctbri.com.cn>
Sam Hague [Sat, 14 Nov 2015 06:20:12 +0000 (06:20 +0000)]
Merge "rework sfc flows 2"
Sam Hague [Sat, 14 Nov 2015 06:06:58 +0000 (06:06 +0000)]
Merge "Patch Set 1: Add postman collection for HwvtepSouthbound"
Sam Hague [Sat, 14 Nov 2015 05:44:31 +0000 (00:44 -0500)]
rework sfc flows 2
Change-Id: I9cb93d19d54cd7bcf7d93ab82e17dbe7579cafb3
Signed-off-by: Sam Hague <shague@redhat.com>
Anil Vishnoi [Fri, 13 Nov 2015 17:11:12 +0000 (17:11 +0000)]
Merge "Security Groups: Added support for ICMP, ALL ICMP and Others protocol Change-Id: Iedc3061ccaf03f21b9a39da8a4b8b27c4baea6f0 Signed-off-by: raveek <raveek@hp.com>"
Flavio Fernandes [Fri, 13 Nov 2015 10:53:05 +0000 (10:53 +0000)]
Merge "Fixed possible null point exception in node manager entries update code"
Peng Zhang [Thu, 12 Nov 2015 15:13:05 +0000 (23:13 +0800)]
Patch Set 1:
Add postman collection for HwvtepSouthbound
Patch Set 2:
Add brief introduction in README
Patch Set 3:
Change to multi-line version
Patch Set 4:
Fix whitespace issues
Patch Set 5:
Fix whitespace issues: a trailing space missed
Patch Set 6:
recheck
Change-Id: If7a764ca56ced4316aa04ff8538bf12849d60dd9
Signed-off-by: Peng Zhang <pzhang@ctbri.com.cn>
Sam Hague [Fri, 13 Nov 2015 04:22:28 +0000 (04:22 +0000)]
Merge "add rsp option"
Sam Hague [Fri, 13 Nov 2015 04:19:47 +0000 (04:19 +0000)]
Merge "added getConnectionInstance by Node"
Sam Hague [Fri, 13 Nov 2015 03:48:16 +0000 (22:48 -0500)]
add rsp option
Change-Id: Idd0410436861ccc13ad581e42e75ea793102e3ad
Signed-off-by: Sam Hague <shague@redhat.com>
Flavio Fernandes [Fri, 13 Nov 2015 01:57:50 +0000 (01:57 +0000)]
Merge "UT for remaining classes in ovsdb.southbound.ovsdb.transact"
Flavio Fernandes [Fri, 13 Nov 2015 01:57:00 +0000 (01:57 +0000)]
Merge "Declare expected exceptions"
Flavio Fernandes [Fri, 13 Nov 2015 01:55:59 +0000 (01:55 +0000)]
Merge "Avoid logging stacktraces for schema version mismatches"
Anil Vishnoi [Fri, 13 Nov 2015 01:47:23 +0000 (07:17 +0530)]
Fixed possible null point exception in node manager entries update code
Change-Id: Iac231117e592f23c6e1362b71e76ae13d6c98a40
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Flavio Fernandes [Thu, 12 Nov 2015 23:47:28 +0000 (23:47 +0000)]
Merge "Bug 4611: null pointer exception while processing interface event"
Anil Vishnoi [Tue, 10 Nov 2015 20:50:37 +0000 (02:20 +0530)]
For controller initiated connection, there is race condition
while disconnecting the device from controller, that does
not allow one of the non-owner southbound instance to disconnect
the device from the plugin. Race condition was occuring because
OvsdbConnectionInstance was not stored in the internal cache
at correct point in control flow.It gets added when EntityOwnershipChange
event happens, so when data change event for disconnection occured,
it requires OvsdbConnectionInstance to be in cache to disconnect
from the device, but OvsdbConnectionInstance was not in the cache
becuse EntityOwnershipService event was not recieved by that non-owner instance.
Conflicts:
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/OvsdbConnectionManager.java
southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java
Change-Id: I3861b5f2907d08709a3bd1aa4f4ecfbfd444351d
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Sam Hague [Thu, 12 Nov 2015 20:29:33 +0000 (20:29 +0000)]
Merge "rework sfc flows"
Sam Hague [Thu, 12 Nov 2015 17:30:30 +0000 (12:30 -0500)]
rework sfc flows
Change-Id: I1789ce135a8b08de4c4321fdd69cec73bc4a638c
Signed-off-by: Sam Hague <shague@redhat.com>
Vishal Thapar [Thu, 12 Nov 2015 15:13:23 +0000 (20:43 +0530)]
added getConnectionInstance by Node
This is required for https://git.opendaylight.org/gerrit/#/c/29575/
Change-Id: Iceab17399b973dab7c1fbf47d21af6989aa2f49e
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
Sam Hague [Wed, 11 Nov 2015 21:25:06 +0000 (21:25 +0000)]
Merge "workaround for sfc part 2"
Sam Hague [Wed, 11 Nov 2015 20:53:10 +0000 (15:53 -0500)]
workaround for sfc part 2
Change-Id: Ib733682492ede0985dae97bbe3add80b359add1f
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Wed, 11 Nov 2015 05:20:09 +0000 (05:20 +0000)]
Merge "add rest of sfc flows"
Sam Hague [Wed, 11 Nov 2015 04:54:04 +0000 (23:54 -0500)]
add rest of sfc flows
Change-Id: I44629e889705c4e7f6a21c3655addee9670bc8c5
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Tue, 10 Nov 2015 20:47:15 +0000 (20:47 +0000)]
Merge "workaround for sfc"
Sam Hague [Tue, 10 Nov 2015 17:11:10 +0000 (12:11 -0500)]
workaround for sfc
Change-Id: I46b22b084627f95c1e478b1cf004681d21d4595c
Signed-off-by: Sam Hague <shague@redhat.com>
Flavio Fernandes [Tue, 10 Nov 2015 16:56:35 +0000 (11:56 -0500)]
Bug 4611: null pointer exception while processing interface event
Acl service needs to handle cases when port security info is not available.
Patch set 2: add unit test
Change-Id: I788d31e4f0001fcf70caa59086d432b01178de1b
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
Stephen Kitt [Tue, 10 Nov 2015 08:47:34 +0000 (09:47 +0100)]
Avoid logging stacktraces for schema version mismatches
Change-Id: Ic3db3d3526491bb488d396be64adc9e41e09a3d6
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Stephen Kitt [Tue, 10 Nov 2015 08:46:13 +0000 (09:46 +0100)]
Declare expected exceptions
@Test supports declaring (and verifying) expected exceptions, let's
use that instead of manually detecting the exceptions.
Change-Id: Iafe26c2c566ebdfe7616a864d5e6c60d3b2b7fe2
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Rashmi Pujar [Mon, 9 Nov 2015 17:58:55 +0000 (12:58 -0500)]
UT for remaining classes in ovsdb.southbound.ovsdb.transact
Change-Id: I7dfd78209e770c28a7ced22cea9308c5c9fe7ee8
Signed-off-by: Rashmi Pujar <rpujar@inocybe.com>
Aswin Suryanarayanan [Wed, 4 Nov 2015 20:26:57 +0000 (01:56 +0530)]
Added support to update flows for induvidual security rule add/remove ,
after the SG is associated with a port.
Change-Id: I88d485bb0725909f00b1bc8d48ef17705a8fc695
Signed-off-by: Aswin Suryanarayanan <aswin.suryanarayanan@hp.com>
Stephen Kitt [Mon, 9 Nov 2015 10:28:02 +0000 (11:28 +0100)]
Use MD-SAL events to react to OVSDB changes
Instead of just waiting after creating or deleting the OVSDB MD-SAL
node, wait for the corresponding event in the operational database.
This actually saves time in most cases (since the round-trip takes
less time than the static wait), and avoids failing tests
unnecessarily when the round-trip takes longer than expected. There's
an overall timeout to make sure we don't hang the test completely.
For now this only handles connectOvsdbNode() and
disconnectOvsdbNode(), but the stage is set for other MD-SAL
manipulations to be processed in the same way.
This isn't multi-threadable as-is.
Change-Id: If1279054f38192bed007d83f9fda981dc0c466f1
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Stephen Kitt [Tue, 3 Nov 2015 14:14:46 +0000 (15:14 +0100)]
SouthboundIT: merge the CRUD tests methods
We use two variants, one for plain bridges, the other for termination
points.
Change-Id: I986d93c65cc90a37eaf0036ff93a0e4148ba030c
Signed-off-by: Stephen Kitt <skitt@redhat.com>
raveek [Tue, 3 Nov 2015 07:55:21 +0000 (13:25 +0530)]
Security Groups: Added support for ICMP, ALL ICMP and Others protocol
Change-Id: Iedc3061ccaf03f21b9a39da8a4b8b27c4baea6f0
Signed-off-by: raveek <raveek@hp.com>
Sam Hague [Mon, 9 Nov 2015 04:21:33 +0000 (04:21 +0000)]
Merge "Added command patterns to update OperDS"
Sam Hague [Mon, 9 Nov 2015 03:21:15 +0000 (22:21 -0500)]
initial framework for sfc workaround and IT tests
Change-Id: I94a4a40659fb4f0a1ecc815a7d132ffcadd991de
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Mon, 9 Nov 2015 03:19:43 +0000 (22:19 -0500)]
update exports for ServiceHelper
Change-Id: I7d7e97b5860dbaca87877d95759fe550a62855e8
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Sun, 8 Nov 2015 16:22:28 +0000 (11:22 -0500)]
Add config for selecting provider
Change-Id: I5597573fa2cafd2e7db4d444fc51030adf478f7c
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Sun, 8 Nov 2015 15:14:29 +0000 (10:14 -0500)]
Rework provider interface to allow different providers
Change-Id: Iaa36bc040e82005c3a8d419e23ad9ac8696c1215
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Sat, 7 Nov 2015 02:11:42 +0000 (21:11 -0500)]
Add SfcClassifier to pipeline
Change-Id: I7de504449435678020efc3aca290897adada42ab
Signed-off-by: Sam Hague <shague@redhat.com>
Flavio Fernandes [Fri, 6 Nov 2015 23:17:52 +0000 (23:17 +0000)]
Merge changes I4a8650ae,Ie2e119fd,Ic2acced7,Ieeb5ae5b,I2f7b6f8f
* changes:
Fixed wildcarded imports
Fixed NPE in md-sal secutiry groups to neutron security group conversion.
Removed Flow id caches that is being used to check
Populate the Node Cache at the controller start/restart.
Repopulate router, port and floating ip related caches These caches can create a problem in a cluster environment where node goes down and rejoin the cluster. All the caches will be clear on restart, and if newly join node become master instance, it can break the functionality. This patch is re-populating all the required caches
Anil Vishnoi [Fri, 6 Nov 2015 22:37:33 +0000 (04:07 +0530)]
Fixed wildcarded imports
Change-Id: I4a8650aefddd0455e55d005a2ffd017a34d64293
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Anil Vishnoi [Wed, 4 Nov 2015 18:17:46 +0000 (23:47 +0530)]
Fixed NPE in md-sal secutiry groups to neutron security group conversion.
Change-Id: Ie2e119fdc24168f2ab4df26332244586c644912f
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Anil Vishnoi [Sat, 31 Oct 2015 04:50:31 +0000 (10:20 +0530)]
Removed Flow id caches that is being used to check
if flow is already installed or deleted. Now it will
install flow irrespective of whether the flow already
installed or not. It won't really do installation of
flow again, because if you write same data again, it's
going to be no-op. These caches create issues if new node
with same ovsdb ip:port connects the controller, but the
openflow bridge is different.
Change-Id: Ic2acced7a9a006e6e04afba6fea22aaf0620f134
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Anil Vishnoi [Sat, 31 Oct 2015 00:21:08 +0000 (05:51 +0530)]
Populate the Node Cache at the controller start/restart.
This cache can be removed fully, but if we do that, we need
to make read call to the data store, where we will have to
read the whole topology tree, that can put some load on the
md-sal data store, and it might not be negligible in case of
clustered data store.
Change-Id: Ieeb5ae5ba01839b34aefe7d3916c6bdd0fb14808
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Anil Vishnoi [Sat, 31 Oct 2015 00:21:08 +0000 (05:51 +0530)]
Repopulate router, port and floating ip related caches
These caches can create a problem in a cluster environment
where node goes down and rejoin the cluster. All the caches
will be clear on restart, and if newly join node become master
instance, it can break the functionality. This patch is re-populating
all the required caches
Change-Id: I2f7b6f8f8871eb7c6fc7c96d9e4e121adbf5c950
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Sam Hague [Thu, 5 Nov 2015 21:17:09 +0000 (21:17 +0000)]
Merge "Fix the feature name of hwvtepsouthbound in ./hwvtepsouthbound-karaf/pom.xml"
Sam Hague [Thu, 5 Nov 2015 21:03:11 +0000 (21:03 +0000)]
Merge "Extend southbound-it testDpdkSwitch() to test all the OVS-DPDK interface types [dpdk,dpdkr,dpdkvhostuser..]"
Vishal Thapar [Wed, 4 Nov 2015 03:55:39 +0000 (09:25 +0530)]
Added command patterns to update OperDS
1. Command pattern for Global and PhysicalSwitch
2. Update OperDS with Global and PhysicalSwitch tables
Patchset2:
Added skeletal code more command pattern classes, functionality TBD.
Handle updation of instance iid on connect/connected
Patchset3:
Clear Operational DataStore when switch disconnects
Add PhysicalSwitchRemove command
Change-Id: I519c28a59edcd3a99ac5fadfda420b65edb85abb
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
Sam Hague [Thu, 5 Nov 2015 15:10:01 +0000 (10:10 -0500)]
More changes for SFC
Change-Id: I1e6b52b9726d6fe85ccde01a57bdb927821690ca
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Thu, 5 Nov 2015 15:09:21 +0000 (10:09 -0500)]
Fix utils exports
Change-Id: I0032fd368af59e23cecb26736b0e34723df58a0f
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Thu, 5 Nov 2015 15:08:55 +0000 (10:08 -0500)]
Modify NSH MatchUtils
Change-Id: I85057e96b399dea8d9f09d087da6014dc780ac8c
Signed-off-by: Sam Hague <shague@redhat.com>
Sam Hague [Thu, 5 Nov 2015 15:07:38 +0000 (10:07 -0500)]
Add Flow utils
Change-Id: I120391618945908c358c4da4728ad0c5243c721f
Signed-off-by: Sam Hague <shague@redhat.com>