ovsdb.git
9 years agoNorthboundV3 APIs for RowResource 35/10735/1
Madhu Venugopal [Wed, 3 Sep 2014 19:58:12 +0000 (12:58 -0700)]
NorthboundV3 APIs for RowResource

Change-Id: I9242e655c88424896ded0b8c5a171cdc6df22705
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoNorthboundV3 APIs for TableResource 23/10723/2
Madhu Venugopal [Wed, 3 Sep 2014 18:34:42 +0000 (11:34 -0700)]
NorthboundV3 APIs for TableResource

Change-Id: I59187c4eb737523f15f47402f1bb3d757223f894
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoNorthboundV3 APIs for DatabaseResource. 22/10722/2
Madhu Venugopal [Wed, 3 Sep 2014 18:31:29 +0000 (11:31 -0700)]
NorthboundV3 APIs for DatabaseResource.

Change-Id: I8d3cb65ac101b8f9898c621c8a7b897f17e58d3b
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoNorthboundV3 APIs for NodeResource. Supporting just the GET APIs. 21/10721/2
Madhu Venugopal [Wed, 3 Sep 2014 18:27:52 +0000 (11:27 -0700)]
NorthboundV3 APIs for NodeResource. Supporting just the GET APIs.

Change-Id: I5f3cd6b8b578ad975d0b2d941af99a34ce86ad63
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoNorthboundV3 insert Row using the newly added insertTree plugin functionality 20/10720/2
Madhu Venugopal [Wed, 3 Sep 2014 12:41:32 +0000 (05:41 -0700)]
NorthboundV3 insert Row using the newly added insertTree plugin functionality

Change-Id: I7a32798510b0f835ff9aed8e8a0da301188f7895
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoImplemented Schema independent Plugin Read, Update and Delete APIs 11/10611/3
Madhu Venugopal [Tue, 2 Sep 2014 01:44:09 +0000 (18:44 -0700)]
Implemented Schema independent Plugin Read, Update and Delete APIs

Change-Id: I92f2178df30c2fe5fc69166a98aa08d2da86663f
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMerge "Updating the LB pool member DELETE and UPDATE processing."
Madhu Venugopal [Wed, 3 Sep 2014 11:01:30 +0000 (11:01 +0000)]
Merge "Updating the LB pool member DELETE and UPDATE processing."

9 years agoMerge "Adding support for programming newly added nodes."
Madhu Venugopal [Wed, 3 Sep 2014 11:01:18 +0000 (11:01 +0000)]
Merge "Adding support for programming newly added nodes."

9 years agoMerge "In LoadBalancerProvider interface, rename method programLoadBalancerMemberRule...
Madhu Venugopal [Wed, 3 Sep 2014 10:48:49 +0000 (10:48 +0000)]
Merge "In LoadBalancerProvider interface, rename method programLoadBalancerMemberRules to programLoadBalancerPoolMemberRules, for consistency sakes."

9 years agoMerge "Net-Virt LBaaS module updates for neutron event handling"
Madhu Venugopal [Wed, 3 Sep 2014 10:48:31 +0000 (10:48 +0000)]
Merge "Net-Virt LBaaS module updates for neutron event handling"

9 years agoMerge "Restructing the LBaaSHandler code, and adding calls to the LoadBalancerProvide...
Madhu Venugopal [Wed, 3 Sep 2014 10:44:02 +0000 (10:44 +0000)]
Merge "Restructing the LBaaSHandler code, and adding calls to the LoadBalancerProvider for the ADD and DELETE operations."

9 years agoMerge "L3: Break exclusions and rewrites into inbound and outbound conterparts."
Dave Tucker [Wed, 3 Sep 2014 09:55:20 +0000 (09:55 +0000)]
Merge "L3: Break exclusions and rewrites into inbound and outbound conterparts."

9 years agoUpdating the LB pool member DELETE and UPDATE processing. 74/10674/1
Srini Seetharaman [Wed, 3 Sep 2014 08:05:28 +0000 (01:05 -0700)]
Updating the LB pool member DELETE and UPDATE processing.

- DELETE will lead to enqueuing an UPDATE LB instance event
- UPDATE will be ignored because weight update is not supported.

Change-Id: I05d192956bc16bb124fa4cc5a7dcf035f63bc9a1
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoAdding support for programming newly added nodes. 72/10672/1
Srini Seetharaman [Wed, 3 Sep 2014 07:49:04 +0000 (00:49 -0700)]
Adding support for programming newly added nodes.

LBaaSHandler now implements IInventoryListener, and
programs all existing LB instances on the newly added node.

Change-Id: I0544f7d30f422464440582e98da138157fc8ffd6
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoIn LoadBalancerProvider interface, rename method programLoadBalancerMemberRules 71/10671/1
Srini Seetharaman [Wed, 3 Sep 2014 07:24:30 +0000 (00:24 -0700)]
In LoadBalancerProvider interface, rename method programLoadBalancerMemberRules
to programLoadBalancerPoolMemberRules, for consistency sakes.

Change-Id: Id10296362b186a1b76bbbacd6fa4ff9b65bc2bed
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoNet-Virt LBaaS module updates for neutron event handling 70/10670/1
Srini Seetharaman [Wed, 3 Sep 2014 07:18:05 +0000 (00:18 -0700)]
Net-Virt LBaaS module updates for neutron event handling

- Adding LBaaSPoolMemberHandler for handling pool member ADD/DELETE operations.
- Moving out cache processing utility to NeutronCacheUtils
- Updating variable names in LBaaSHandler to maintain consistency.

Change-Id: I664e7d85bd1cc6e2dbe9f0b51fd486eb115d0bd9
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoRestructing the LBaaSHandler code, and adding calls to the 66/10666/2
Srini Seetharaman [Wed, 3 Sep 2014 05:03:46 +0000 (22:03 -0700)]
Restructing the LBaaSHandler code, and adding calls to the
LoadBalancerProvider for the ADD and DELETE operations.

Change-Id: I2b7991abe8c2d5a1abad74cc510a576d67a98219
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoAdding logic and code for pushing FlowMods in the LoadBalancerService. 64/10664/1
Srini Seetharaman [Wed, 3 Sep 2014 04:00:37 +0000 (21:00 -0700)]
Adding logic and code for pushing FlowMods in the LoadBalancerService.

The current implementation supports ADD for LB instance and also ADD
for LB member. DELETE for LB member is unsupported because of need to
refresh the multipath indices. TODO: FlowMods for DELETE LB instance.

Change-Id: Ifcd2f95a67168c89d398abb9f43a3a76e0609589
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoMerge "Making changes to LBaaSHandler and Activator to add logic for LB Neutron calls."
Madhu Venugopal [Wed, 3 Sep 2014 03:55:02 +0000 (03:55 +0000)]
Merge "Making changes to LBaaSHandler and Activator to add logic for LB Neutron calls."

9 years agoMerge "Splitting the LBaaS northbound events into three individual event types (speci...
Madhu Venugopal [Wed, 3 Sep 2014 03:49:17 +0000 (03:49 +0000)]
Merge "Splitting the LBaaS northbound events into three individual event types (specifically, LB, LB-Pool, LB-Pool-Member)"

9 years agoL3: Break exclusions and rewrites into inbound and outbound conterparts. 43/10643/3
Flavio Fernandes [Tue, 2 Sep 2014 16:49:12 +0000 (12:49 -0400)]
L3: Break exclusions and rewrites into inbound and outbound conterparts.

patch 2: remove todo

Change-Id: I57a26bf5f8b40daa19939beecc27f55d8ae3d70c
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoAdd Flow Programming for L3 Services 56/10656/2
Dave Tucker [Tue, 2 Sep 2014 21:51:35 +0000 (22:51 +0100)]
Add Flow Programming for L3 Services

This commit adds programming of L3 services.
In addition, we add a deleteFlow method to the AbstractServiceInstance
class

Change-Id: I4d9fe8c93e6a93732660f3895df7885cda015b7e
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoMaking changes to LBaaSHandler and Activator to add logic for LB Neutron calls. 52/10652/3
Srini Seetharaman [Tue, 2 Sep 2014 19:32:55 +0000 (12:32 -0700)]
Making changes to LBaaSHandler and Activator to add logic for LB Neutron calls.

- Cleaning up LBaaSHandler class to only handle the NEUTRON_LOAD_BALANCER event
- Cleaning up LBaaSHandler to only be INeutronLoadBalancerAware
- Adding the service LoadBalancerProvider and adding dependency in Activator
- Adding logic to handle the neutron LB instance creation call. After the call,
  the information will be stored in a Map <UUID, LoadBalancerConfiguration>
  object. Still TODO: FlowMods through the LoadBalancerService.

Change-Id: Ic20d10ea680730de59bbe60a12c47fc6684a6bab
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoSplitting the LBaaS northbound events into three individual event types 51/10651/3
Srini Seetharaman [Tue, 2 Sep 2014 19:27:56 +0000 (12:27 -0700)]
Splitting the LBaaS northbound events into three individual event types
(specifically, LB, LB-Pool, LB-Pool-Member)

Change-Id: I3a9604ecdfeff018a720514adecec1ffd5824c39
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoSkip Karaf Tests By Default 05/10405/3
Dave Tucker [Wed, 27 Aug 2014 23:48:04 +0000 (00:48 +0100)]
Skip Karaf Tests By Default

Karaf tests take far too long to run therefore we will skip by default.
OVSDB will create a daily job to check Karaf stability

Change-Id: I8bdb6b6f870956a78e45fa3973085a50f882126f
Signed-off-by: Dave Tucker <djt@redhat.com>
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoSkeleton implementation of L3 using PipelineOrchestration 78/10578/5
Dave Tucker [Mon, 1 Sep 2014 14:42:43 +0000 (15:42 +0100)]
Skeleton implementation of L3 using PipelineOrchestration

This refactors the L3 interface to fit the static pipeline model

L3 logic stays in net-virt and the service tables in net-virt-providers
implement the new interfaces. The logic in net-virt can resolve the
implementation of these interfaces through the OSGi SR.

Ideally service lookup should not be handled in the net-virt Activator,
instead we should allow the OFXProvider classes to handle this by
watching for implementations of AbstractServiceInstance with a service
property that matches their name.

Change-Id: I0e41d992e0ff1d8de2d25b02ce8e5a36e27e6ae7
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoMerge "L3 Neutron events hookup to MultiTenantRouterForwardingProvider"
Dave Tucker [Tue, 2 Sep 2014 10:51:39 +0000 (10:51 +0000)]
Merge "L3 Neutron events hookup to MultiTenantRouterForwardingProvider"

9 years agoIn AbstractServiceInstance, changing return value of getTable() 10/10610/1
Srini Seetharaman [Tue, 2 Sep 2014 02:06:38 +0000 (19:06 -0700)]
In AbstractServiceInstance, changing return value of getTable()
to short, and making writeFlow() protected.

Change-Id: I28ba2899c77bf188be6a25f3d590f90b7ce7de9a
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoMaking changes to nxMultipathAction with MD-SAL 09/10609/1
Srini Seetharaman [Tue, 2 Sep 2014 02:04:42 +0000 (19:04 -0700)]
Making changes to nxMultipathAction with MD-SAL

- Adding missing "dst" field in Yang nx-action-multipath-grouping
- Adding missing field to the ActionUtils.nxMultipathAction
- Adding setNwSrcAction and setNwDstAction to ActionUtils

Change-Id: Ie0aab975b17620a2a2b74b7a69acfd9251ddc6e4
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoEnhanced Schema indepenent plugin APIs by supporting optional parent_table and parent... 99/10599/1
Madhu Venugopal [Mon, 1 Sep 2014 18:54:42 +0000 (11:54 -0700)]
Enhanced Schema indepenent plugin APIs by supporting optional parent_table and parent_column for insertRow / insertTree

Change-Id: Id0f0fb6183c5f39e2b524dc9a7ef8cf699d9ef76
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMerge "Added Template classes for all the static services."
Brent Salisbury [Sun, 31 Aug 2014 21:52:34 +0000 (21:52 +0000)]
Merge "Added Template classes for all the static services."

9 years agoMerge "AbstractServiceInstance is fully self-suffient to program the default flow...
Brent Salisbury [Sun, 31 Aug 2014 21:52:15 +0000 (21:52 +0000)]
Merge "AbstractServiceInstance is fully self-suffient to program the default flow-rules for any Service in the pipeline."

9 years agoMerge "Static Pipeline is constructed with the help of AbstractServiceInstance and...
Brent Salisbury [Sun, 31 Aug 2014 21:51:56 +0000 (21:51 +0000)]
Merge "Static Pipeline is constructed with the help of AbstractServiceInstance and PipelineOrchestrator."

9 years agoMerge "Changed the current WIP Pipeline Orchestrator to a more simplified Static...
Brent Salisbury [Sun, 31 Aug 2014 21:51:23 +0000 (21:51 +0000)]
Merge "Changed the current WIP Pipeline Orchestrator to a more simplified Static Pipeline that is easy to understand and debug than the dynamic pipeline management."

9 years agoMerge "Moved OF10Provider and OF13Provider to its own Package to accomodate the upcom...
Brent Salisbury [Sun, 31 Aug 2014 21:50:58 +0000 (21:50 +0000)]
Merge "Moved OF10Provider and OF13Provider to its own Package to accomodate the upcoming Pipeline changes"

9 years agoMerge "WIP: Initial Commit of Pipeline Orchestrator"
Madhu Venugopal [Sun, 31 Aug 2014 21:32:41 +0000 (21:32 +0000)]
Merge "WIP: Initial Commit of Pipeline Orchestrator"

9 years agoAdded Template classes for all the static services. 54/10554/2
Madhu Venugopal [Sun, 31 Aug 2014 19:30:54 +0000 (12:30 -0700)]
Added Template classes for all the static services.

Though these are just Template classes, Since it inherits from AbstractServiceInstance parent, the default catch-all flow-rules
(that is required for an operational pipeline) are automatically installed. All the service specific code can be written in these
classes with the guarantee that the parent AbstractServiceInstance took care of the flows to keep the pipeline happy.

Also, please note that, all of these services must use the getMutablePipelineInstructionBuilder() method for all the non-drop
matched flows to make sure the pipeline is not messed up for the cases where a service performs some operations.

Sample output of the pipeline when none of the services are operational :

[mininet@opendaylight ~]\>sudo ovs-ofctl dump-flows -O OpenFlow13 br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=136.403s, table=0, n_packets=0, n_bytes=0, send_flow_rem dl_type=0x88cc actions=CONTROLLER:65535
 cookie=0x0, duration=136.418s, table=0, n_packets=3, n_bytes=230, send_flow_rem priority=0 actions=goto_table:20
 cookie=0x0, duration=136.436s, table=20, n_packets=3, n_bytes=230, send_flow_rem priority=0 actions=goto_table:30
 cookie=0x0, duration=136.427s, table=30, n_packets=3, n_bytes=230, send_flow_rem priority=0 actions=goto_table:40
 cookie=0x0, duration=136.429s, table=40, n_packets=3, n_bytes=230, send_flow_rem priority=0 actions=goto_table:50
 cookie=0x0, duration=136.421s, table=50, n_packets=3, n_bytes=230, send_flow_rem priority=0 actions=goto_table:60
 cookie=0x0, duration=136.424s, table=60, n_packets=3, n_bytes=230, send_flow_rem priority=0 actions=goto_table:70
 cookie=0x0, duration=138.24s, table=70, n_packets=3, n_bytes=230, send_flow_rem priority=0 actions=goto_table:80
 cookie=0x0, duration=136.4s, table=80, n_packets=3, n_bytes=230, send_flow_rem priority=0 actions=goto_table:90
 cookie=0x0, duration=136.433s, table=90, n_packets=3, n_bytes=230, send_flow_rem priority=0 actions=goto_table:100
 cookie=0x0, duration=136.441s, table=100, n_packets=3, n_bytes=230, send_flow_rem priority=0 actions=drop

Please note that, since we have moved to a static pipeline approach, there is no need for metadata, nor there is a
need to have a dedicated Director table. The AbstractServiceInstance takes care of cooking the pipeline based on the
static pipeline requirements.

Change-Id: Icf712991df3c7fbedf81872c04fdad168619b910
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoAbstractServiceInstance is fully self-suffient to program the default flow-rules... 51/10551/2
Madhu Venugopal [Sun, 31 Aug 2014 18:10:50 +0000 (11:10 -0700)]
AbstractServiceInstance is fully self-suffient to program the default flow-rules for any Service in the pipeline.

Changes includes :
- Register as Notification listener with the MD-SAL data-store.
- Process the NodeUpdate and identify openflow nodes before submitting for further processing
- Process Notifications in its own Thread
- Program the default catch-all rule

Change-Id: I302dbcd95de29cc2d7ff55791305f36a8f07456b
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoStatic Pipeline is constructed with the help of AbstractServiceInstance and PipelineO... 46/10546/1
Madhu Venugopal [Sun, 31 Aug 2014 14:04:05 +0000 (07:04 -0700)]
Static Pipeline is constructed with the help of AbstractServiceInstance and PipelineOrchestrator.

- Since we decided to implement the Static pipeline, there is no datapath requirement to keep a Director.
  Since the pipeline is static, the PipelineOrchestrator coordinages with the AbstractServiceInstance to program the direct path between the Tables
  without any involvement from the Concrete Service that is implemented on top of AbstractServiceInstance.
  Hence, this change removes Director table from the pipeline. But, the software design remains intact wherein the logic of pipeline datapath management
  still resides in AbstractServiceInstance, which the Concrete Service class need not be worried about.
- Implemented a sample L2RewriteService that extends from AbstractServiceInstance and registers itself with PipelineOrchestratorImpl through regular OSGi Service Registry

Change-Id: Ib27a795ebd428fc0a3b97aa3d18d825fe8427246
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoChanged the current WIP Pipeline Orchestrator to a more simplified Static Pipeline... 35/10535/1
Madhu Venugopal [Sun, 31 Aug 2014 03:52:14 +0000 (20:52 -0700)]
Changed the current WIP Pipeline Orchestrator to a more simplified Static Pipeline that is easy to understand and debug than the dynamic pipeline management.

Change-Id: Id53b7a814a433c450fd9780c0025f0f3e9ec9473
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMoved OF10Provider and OF13Provider to its own Package to accomodate the upcoming... 34/10534/1
Madhu Venugopal [Sun, 31 Aug 2014 02:00:21 +0000 (19:00 -0700)]
Moved OF10Provider and OF13Provider to its own Package to accomodate the upcoming Pipeline changes

Change-Id: Ia998c272372ed559bcab561e21d7864de03533b0
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMerge "Fixed a minor bug that causes the deprecated CSIT Integration Bridge Domain...
Brent Salisbury [Sun, 31 Aug 2014 00:53:43 +0000 (00:53 +0000)]
Merge "Fixed a minor bug that causes the deprecated CSIT Integration Bridge Domain addPort tests to fail for a long time."

9 years agoFixed a minor bug that causes the deprecated CSIT Integration Bridge Domain addPort... 19/10519/2
Madhu Venugopal [Sat, 30 Aug 2014 16:40:25 +0000 (09:40 -0700)]
Fixed a minor bug that causes the deprecated CSIT Integration Bridge Domain addPort tests to fail for a long time.

Change-Id: If17a4de8d0832c31de4fb8d5ee38cfe353c0d326
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoL3 Neutron events hookup to MultiTenantRouterForwardingProvider 00/10500/2
Flavio Fernandes [Fri, 29 Aug 2014 02:20:30 +0000 (22:20 -0400)]
L3 Neutron events hookup to MultiTenantRouterForwardingProvider

Neutron Router interface and floating ips will now trigger calls into MultiTenantRouterForwardingProvider.

Added implementations:
 * programStaticArpEntry (router interface)
 * programIpRewriteExclusion
 * programRouterInterface
 * programDefaultRouteEntry
 * programStaticArpEntry (tenant vms)
 * programIpRewriteRule

        Script for creating coke tenants in devstack:
        https://gist.github.com/1ba897e7cde8dbd87fe8

        Starting odl command:
        ./run.sh -virt ovsdb -Xms40m -Xmx1024m -XX:MaxPermSize=1024m

        LogLevel:
        setLogLevel org.opendaylight.ovsdb.openstack.netvirt.impl.NeutronL3Adapter trace

        Log of test:
        createTenants: https://gist.github.com/40364d727c40570fb4ff
        osgi: https://gist.github.com/105938470c9a19bebc4a

Change-Id: Ie4b30b2581c469064ca29a443d9ced4c2be4d3a9
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoWIP: Initial Commit of Pipeline Orchestrator 88/10388/2
Dave Tucker [Wed, 27 Aug 2014 13:27:41 +0000 (14:27 +0100)]
WIP: Initial Commit of Pipeline Orchestrator

Change-Id: Iee82bf6fc14dbffcea1af44a06cbb44f4bbd1706
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoMinor tweaks to interface used by Openstack L3 forwarding 83/10483/1
Flavio Fernandes [Fri, 29 Aug 2014 13:44:05 +0000 (09:44 -0400)]
Minor tweaks to interface used by Openstack L3 forwarding

Change-Id: Ie2c3e833027cee5e2d89c5323890c09f1969d42a
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "L3 Neutron plumbing"
Dave Tucker [Fri, 29 Aug 2014 13:04:19 +0000 (13:04 +0000)]
Merge "L3 Neutron plumbing"

9 years agoFixed dependencies for features-ovsdb. 75/10475/1
Hideyuki Tai [Fri, 29 Aug 2014 02:43:28 +0000 (22:43 -0400)]
Fixed dependencies for features-ovsdb.

Change-Id: I02ec0c02b66bc53e1463b73c81f6844054ac883f
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
9 years agoL3 Neutron plumbing 63/10463/1
Flavio Fernandes [Thu, 28 Aug 2014 06:51:48 +0000 (02:51 -0400)]
L3 Neutron plumbing

Converge neutron events needed to support l3 into an adapter class.
With this change all plumbing needed for northbound l3 support is completed.
Next is the 'brains' to turn the l3 related events into rules that can be used
by the multi-tenant router forwarding provider.

    Script for creating coke tenants in devstack:
    https://gist.github.com/1ba897e7cde8dbd87fe8

    Starting odl command:
    ./run.sh -virt ovsdb -Xms40m -Xmx1024m -XX:MaxPermSize=1024m

    LogLevel:
    setLogLevel org.opendaylight.ovsdb.openstack.netvirt.providers.OF13Provider trace
    setLogLevel org.opendaylight.ovsdb.openstack.netvirt.api.EventDispatcher trace
    setLogLevel org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler debug
    setLogLevel org.opendaylight.ovsdb.openstack.netvirt.PortHandler debug
    setLogLevel org.opendaylight.ovsdb.openstack.netvirt.NeutronL3Adapter debug

    Log of test:
    createTenants: https://gist.github.com/7dadd30bde5d07bb0ba1
    osgi: https://gist.github.com/4ec66a6e76908eeffcbc

Change-Id: I1570d536728ea29c2615ddca422379ad8fe70d45
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "Add node and dpid information to L3 Forwarding API"
Madhu Venugopal [Thu, 28 Aug 2014 15:31:42 +0000 (15:31 +0000)]
Merge "Add node and dpid information to L3 Forwarding API"

9 years agoAdd node and dpid information to L3 Forwarding API 56/10456/1
Dave Tucker [Thu, 28 Aug 2014 14:56:59 +0000 (15:56 +0100)]
Add node and dpid information to L3 Forwarding API

Change-Id: I06186d17b3a26e262caee612d9221994adc8ca1c
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoAdd ovssfc to osdvb distribution 07/10407/3
Sam Hague [Wed, 27 Aug 2014 23:49:26 +0000 (19:49 -0400)]
Add ovssfc to osdvb distribution

Change-Id: Ibcbf2783d1125fbf08314feb210ef7177165b96a
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "Karaf Feature support for OVS based Openstack Network Virtualization"
Brent Salisbury [Thu, 28 Aug 2014 07:33:52 +0000 (07:33 +0000)]
Merge "Karaf Feature support for OVS based Openstack Network Virtualization"

9 years agoKaraf Feature support for OVS based Openstack Network Virtualization 27/10427/1
Madhu Venugopal [Thu, 28 Aug 2014 07:24:17 +0000 (00:24 -0700)]
Karaf Feature support for OVS based Openstack Network Virtualization

Change-Id: I3becfbdd0141bf61be4296785568efdcccfc8f2b
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years ago- Adding LBaaS handler skeleton to net-virt bundle, appropriate entries 26/10426/1
Srini Seetharaman [Thu, 28 Aug 2014 06:59:33 +0000 (23:59 -0700)]
- Adding LBaaS handler skeleton to net-virt bundle, appropriate entries
in AbstractEvent and Activator.

- Fixing Postman examples for LBaaS.

Change-Id: Id878ffe5bf1e8b1819a18f103b5ee9c4fe74e05e
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoMerge "Adding Karaf feature for openflow Nicira Extensions support"
Brent Salisbury [Thu, 28 Aug 2014 06:16:10 +0000 (06:16 +0000)]
Merge "Adding Karaf feature for openflow Nicira Extensions support"

9 years agoMerge "Moved ovsdb features into a sub-directory to accomodate related features to...
Brent Salisbury [Thu, 28 Aug 2014 06:15:53 +0000 (06:15 +0000)]
Merge "Moved ovsdb features into a sub-directory to accomodate related features to come"

9 years agoAdding Karaf feature for openflow Nicira Extensions support 24/10424/1
Madhu Venugopal [Thu, 28 Aug 2014 05:59:20 +0000 (22:59 -0700)]
Adding Karaf feature for openflow Nicira Extensions support

Change-Id: I871c4c1d242770dd9b2f8a21b50f874388eeeb45
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMoved ovsdb features into a sub-directory to accomodate related features to come 23/10423/1
Madhu Venugopal [Thu, 28 Aug 2014 03:46:11 +0000 (20:46 -0700)]
Moved ovsdb features into a sub-directory to accomodate related features to come

Change-Id: I1ba0294faef385bbd94e180e102be5542e36afd9
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoFWaaS handler/callbacks for the Neutron service 50/10050/3
Brent Salisbury [Tue, 19 Aug 2014 06:24:17 +0000 (02:24 -0400)]
FWaaS handler/callbacks for the Neutron service

Patch #3: Activator tweek

Patch #2: Rebased and applied Flavio's patch. Thanks.

Patch #1: Plumbing the Controller OS FWaaS API into
the ovsdb net-virt bundle.

Change-Id: If037b03e2d954192e9721d67f45f31eb5d9fe66e
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
9 years agoAdding Nicira action NXAST_MULTIPATH, appropriate SAL connectors, 54/10354/2
Srini Seetharaman [Wed, 27 Aug 2014 06:46:46 +0000 (23:46 -0700)]
Adding Nicira action NXAST_MULTIPATH, appropriate SAL connectors,
and utils.

Change-Id: Ia241fe5a728cf8f55449628a36a5bd2b160c7f61
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoAdding plugin.shell to make OVSDB Karaf feature happy in integration branch 06/10406/1
Madhu Venugopal [Wed, 27 Aug 2014 23:55:20 +0000 (16:55 -0700)]
Adding plugin.shell to make OVSDB Karaf feature happy in integration branch

Change-Id: Id583df6317e56f5377aa51dbc32c7aed79b3905f
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMerge "Adjusted OVSDB features to enable the Pax-exam tests"
Dave Tucker [Wed, 27 Aug 2014 23:32:35 +0000 (23:32 +0000)]
Merge "Adjusted OVSDB features to enable the Pax-exam tests"

9 years agoAdjusted OVSDB features to enable the Pax-exam tests 93/10393/2
Madhu Venugopal [Wed, 27 Aug 2014 19:31:09 +0000 (12:31 -0700)]
Adjusted OVSDB features to enable the Pax-exam tests

Change-Id: Ifdc6a60ac54e2dfae9e65376527778dec70de669
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMerge "Don't build OVSDB Distribution in Jenkins"
Madhu Venugopal [Wed, 27 Aug 2014 18:28:10 +0000 (18:28 +0000)]
Merge "Don't build OVSDB Distribution in Jenkins"

9 years agoMerge "Add Interfaces for Openstack L3 forwarding"
Madhu Venugopal [Wed, 27 Aug 2014 15:59:05 +0000 (15:59 +0000)]
Merge "Add Interfaces for Openstack L3 forwarding"

9 years agoDon't build OVSDB Distribution in Jenkins 87/10387/1
Dave Tucker [Wed, 27 Aug 2014 15:57:16 +0000 (16:57 +0100)]
Don't build OVSDB Distribution in Jenkins

Change-Id: Ic45c74c7b3de5066ab34588062172fc366bb9372
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoMerge "l3 support (partial): move event dispatch from southBoundHandler"
Dave Tucker [Wed, 27 Aug 2014 14:29:02 +0000 (14:29 +0000)]
Merge "l3 support (partial): move event dispatch from southBoundHandler"

9 years agoAdd Interfaces for Openstack L3 forwarding 79/10379/1
Dave Tucker [Wed, 27 Aug 2014 14:24:12 +0000 (15:24 +0100)]
Add Interfaces for Openstack L3 forwarding

Change-Id: I59c9b7f2d91edd5e9427cc1587ae8e4fc741b5c8
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agol3 support (partial): move event dispatch from southBoundHandler 54/10154/8
Flavio Fernandes [Fri, 22 Aug 2014 05:27:55 +0000 (01:27 -0400)]
l3 support (partial): move event dispatch from southBoundHandler

The event handling in southbound needs to move to a common location, so
neutron callbacks can also be enqueued. With these changes, we can now
create a nothBoundHandler, which will take neutron events and enqueue
envents to a shared dispatcher.

Patch set 3: Added copyright headers for the newly added files.
Patch set 4: Make neutron port handler use event dispatcher.
Patch set 5: Fix link to test log
Patch set 6: Use OSGI whiteboard pattern to register event handlers with the dispatcher.
Patch set 7: Code review changes.

Script for creating coke tenants in devstack:
https://gist.github.com/1ba897e7cde8dbd87fe8

Starting odl command:
./run.sh -virt ovsdb -Xms40m -Xmx1024m -XX:MaxPermSize=1024m

LogLevel:
setLogLevel org.opendaylight.ovsdb.openstack.netvirt.providers.OF13Provider trace
setLogLevel org.opendaylight.ovsdb.openstack.netvirt.api.EventDispatcher trace
setLogLevel org.opendaylight.ovsdb.openstack.netvirt.SouthboundHandler debug
setLogLevel org.opendaylight.ovsdb.openstack.netvirt.PortHandler debug

Log of test:
createTenants: https://gist.github.com/44b4ec87f3c89fe5683e
osgi: https://gist.github.com/47627762ed9d9b474b29

Change-Id: Ieaf8a91e65f82c37ac5fddd2ec824311cd1d5771
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "Schema independent plugin insert operation for a traditional single Row &...
Brent Salisbury [Wed, 27 Aug 2014 02:21:37 +0000 (02:21 +0000)]
Merge "Schema independent plugin insert operation for a traditional single Row & more advanced insertTree for multi level Row insertion in a single operation."

9 years agoMerge changes Iec115491,I5b6f87c7,I6c05abf0
Brent Salisbury [Wed, 27 Aug 2014 02:15:07 +0000 (02:15 +0000)]
Merge changes Iec115491,I5b6f87c7,I6c05abf0

* changes:
  Added a few convenience methods in plugin that can be used with or without passing the Parent Table and Column info for inserting and deleting rows.
  Removed unused ObjectMapper which is potentially confusing
  GET API uses @Consumes annotation incorrectly, while it should be @Produces.

9 years agoSchema independent plugin insert operation for a traditional single Row & more advanc... 51/10351/1
Madhu Venugopal [Wed, 27 Aug 2014 01:20:46 +0000 (18:20 -0700)]
Schema independent plugin insert operation for a traditional single Row & more advanced insertTree for multi level Row insertion in a single operation.

This commit brings in the plugin support which will be used by northboundv3 APIs & more advanced applications that make use of the plugin.

Change-Id: If57d82da9234cc1d5a40ffd9b789ec3a81092383
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoAdded a few convenience methods in plugin that can be used with or without passing... 78/10278/2
Madhu Venugopal [Mon, 25 Aug 2014 01:31:47 +0000 (18:31 -0700)]
Added a few convenience methods in plugin that can be used with or without passing the Parent Table and Column info for inserting and deleting rows.

Change-Id: Iec11549178236efe5b1e5fa5d47b8de7e9b5f4e7
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoRemoved unused ObjectMapper which is potentially confusing 77/10277/2
Madhu Venugopal [Thu, 21 Aug 2014 01:54:18 +0000 (18:54 -0700)]
Removed unused ObjectMapper which is potentially confusing

Change-Id: I5b6f87c79e19c8b9ea7f2f7a30adc3ce4961c29a
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoAdded a method to return a list of augmented Nicira Instructions 91/10291/1
Brent Salisbury [Tue, 26 Aug 2014 09:42:45 +0000 (05:42 -0400)]
Added a method to return a list of augmented Nicira Instructions

-Example output of a needed flow using an NX action
and an OXM set_field metadata:
actions=resubmit(10,0),write_metadata:0xc/0xc

-This is indeed odd. Returned List<Instruction>
rather then InstructionBuilder since the first
param was variable etc. Made a new method to
avoid breaking SFC or anyone using the current
NX augmentation. Will knock out match next.

This is indeed odd :s
rev131026.instruction.list.Instruction
rev131026.instruction.Instruction

Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
9 years agoMerge "Changed the tcp_flag match builder param in /util/md/match" topic/lbaas
Madhu Venugopal [Sun, 24 Aug 2014 12:31:41 +0000 (12:31 +0000)]
Merge "Changed the tcp_flag match builder param in /util/md/match"

9 years agoMerge "Added metadata match/instructions to md openflow utils"
Madhu Venugopal [Sun, 24 Aug 2014 12:28:49 +0000 (12:28 +0000)]
Merge "Added metadata match/instructions to md openflow utils"

9 years agoMerge "Fixing a couple of Integration distribution issues due to the legacy vs MD...
Brent Salisbury [Fri, 22 Aug 2014 21:08:24 +0000 (21:08 +0000)]
Merge "Fixing a couple of Integration distribution issues due to the legacy vs MD-SAL openflowplugin conflicts. After the introduction of NX-Extension support, the OVSDB project has moved from a soft-dependancy (via MD-SAL Apis) to a more hard-depedency with Openflowplugin/Openflowjava projects. Due to that reason, the filtering done during the [-of10|-of13] switch for legacy vs MD-SAL plugin selection needs some improvement and that is taken care in the integration project using https://git.opendaylight.org/gerrit/#/c/10003/."

9 years agoChanged the tcp_flag match builder param in /util/md/match 91/10191/2
Brent Salisbury [Fri, 22 Aug 2014 20:10:46 +0000 (16:10 -0400)]
Changed the tcp_flag match builder param in /util/md/match

Patch#2 -Did the same for the TCP port num.

Patch#1 -Changed the tcp builder to use the instance variable
passed in the match tcpflag util method rather then
hardcoded to 0x002(tcp_syn)

Change-Id: I29d54c87af24678a6e99692b986ae5a84d60ced2
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
9 years agoAdded metadata match/instructions to md openflow utils 90/10190/1
Brent Salisbury [Fri, 22 Aug 2014 19:58:30 +0000 (15:58 -0400)]
Added metadata match/instructions to md openflow utils

-Flowmod produced as follows:
metadata=0x14,dl_type=0x88cc actions=CONTROLLER:65535,write_metadata:0xc/0xc

- Added a missing instrucionbuilder.build() for a few of
the instructions to add after action builders to the
instruction being returned for the ARP related methods.

The mask on the instruction I beleive is optional but
I am seeing null pointers w/o it. It is marked with a
todo to investigate further but this should satisfy
what we need short term.

Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
9 years agoMake it easier to run the IT 47/10147/1
Dave Tucker [Thu, 21 Aug 2014 17:55:33 +0000 (18:55 +0100)]
Make it easier to run the IT

The IT can now be run locally using Docker and Fig

 fig start
 mvn verify -Pintegrationtest <options here>
 fig stop

On OSX this requires the use of boot2docker, but this is much easier and
lighterweight than cloning the docker-ovs repo.

Different versions of openvswitch can be used by editing fig.yml

Change-Id: If4aea173c1ce366ce901808992d1f88e5c8e1a58
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoGET API uses @Consumes annotation incorrectly, while it should be @Produces. 76/10276/1
Madhu Venugopal [Thu, 21 Aug 2014 01:41:19 +0000 (18:41 -0700)]
GET API uses @Consumes annotation incorrectly, while it should be @Produces.

Change-Id: I6c05abf0af436db0bdaceb9a94db17345e980353
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMerge "Adding Javadocs comments to the different tests for OVSDB library and plugins."
Madhu Venugopal [Wed, 20 Aug 2014 03:41:31 +0000 (03:41 +0000)]
Merge "Adding Javadocs comments to the different tests for OVSDB library and plugins."

9 years agoMerge "Bug 1396 : Change from deprecated DataBrokerService to DataBroker"
Madhu Venugopal [Tue, 19 Aug 2014 20:44:37 +0000 (20:44 +0000)]
Merge "Bug 1396 : Change from deprecated DataBrokerService to DataBroker"

9 years agoAdding Javadocs comments to the different tests for OVSDB library and plugins. 52/10052/1
Srini Seetharaman [Tue, 19 Aug 2014 07:53:27 +0000 (00:53 -0700)]
Adding Javadocs comments to the different tests for OVSDB library and plugins.

Removing redundant test_schema.json, which is already available in the resources directory.

Change-Id: I914da1dcb761b60bf9bd56b33abb90d67f73a186
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoMerge " Update Mininet VagrantBox (part 2)"
Madhu Venugopal [Tue, 19 Aug 2014 00:21:07 +0000 (00:21 +0000)]
Merge "    Update Mininet VagrantBox (part 2)"

9 years agoMerge "Update Mininet VagrantBox"
Madhu Venugopal [Tue, 19 Aug 2014 00:20:33 +0000 (00:20 +0000)]
Merge "Update Mininet VagrantBox"

9 years ago Update Mininet VagrantBox (part 2) 45/10045/1
Flavio Fernandes [Mon, 18 Aug 2014 21:18:56 +0000 (17:18 -0400)]
Update Mininet VagrantBox (part 2)

    Add xauth pkg to mininet
    Add file: resources/mininet/cheatsheet.txt
    Rename topology inside topo.py to L3TestTopo (instead of MyTopo)

Change-Id: Ia5b7ffe59a29cc1fef00bf77faac63bf27669343
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoBug 1396 : Change from deprecated DataBrokerService to DataBroker 22/10022/1
Flavio Fernandes [Mon, 18 Aug 2014 13:09:41 +0000 (09:09 -0400)]
Bug 1396 : Change from deprecated DataBrokerService to DataBroker

As a follow up from my conversation with edwarnicke, it turns out that
OVSDB should be in charge of creating whatever missing parents it needs
for the flow creation configuration. An issue still remains in regards
to who/when removes the node portion of the tree once all flows are
removed. That will be tracked by another bug, and bug 1396 will be
linked with it.

For more details, see: https://gist.github.com/864043e0a96c4e704497

Change-Id: I0f28a369c55e7af3d84fc7ddbef93f0efe3f5b30
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge changes Iee05b833,I58312ab8,I170fd69f topic/netsal
Brent Salisbury [Sat, 16 Aug 2014 23:41:58 +0000 (23:41 +0000)]
Merge changes Iee05b833,I58312ab8,I170fd69f

* changes:
  Added Karaf Shell framework for OVSDB plugin and printCache command-line.
  Removed some unused files and dependencies.
  Added the missing TearDown for HardwareVtep IT.

9 years agoFixing a couple of Integration distribution issues due to the legacy vs MD-SAL openfl... 04/10004/1
Madhu Venugopal [Sat, 16 Aug 2014 08:01:53 +0000 (01:01 -0700)]
Fixing a couple of Integration distribution issues due to the legacy vs MD-SAL openflowplugin conflicts.
After the introduction of NX-Extension support, the OVSDB project has moved from a soft-dependancy (via MD-SAL Apis)
to a more hard-depedency with Openflowplugin/Openflowjava projects. Due to that reason, the filtering done during the
[-of10|-of13] switch for legacy vs MD-SAL plugin selection needs some improvement and that is taken care in the
integration project using https://git.opendaylight.org/gerrit/#/c/10003/.

Unfortunately, the net-virt-providers currently carries both OF10, OF13 providers together and hence, filtering that
bundle is not an option based on the above flag switch. Hence, added optional-dependency directive to make sure the
OSGi runtime dont scream when it finds a missing bundle for NX-Extension when running in legacy -of10 mode.

Better fix would have been to reorganize the providers to their own bundles and fitering them out using the above switch.
But since Integration project is impacted, this gives a good smooth transition to the newer model.

Change-Id: I11992a2ba872a0ac49c8a815dc7b4a5bce354b41
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoAdded Karaf Shell framework for OVSDB plugin and printCache command-line. 00/10000/2
Madhu Venugopal [Fri, 15 Aug 2014 18:34:30 +0000 (11:34 -0700)]
Added Karaf Shell framework for OVSDB plugin and printCache command-line.

More commands to follow soon.

Change-Id: Iee05b833d8d59394bf4ce09d99a9d85322e110c9
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoUpdate Mininet VagrantBox 93/9993/2
Dave Tucker [Fri, 15 Aug 2014 22:01:45 +0000 (23:01 +0100)]
Update Mininet VagrantBox

- Use Ubuntu 14.04 LTS
- Upgrade OVS to 2.1.0
- Note: Nasty hack to symlink ovs-controller to /usr/bin
- This can be reverted when it's reintroduced in the debian packages

Change-Id: I4ca320c361f8321a75c674c64bb5ddf37e4d803e
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoRemoved some unused files and dependencies. 50/9950/2
Madhu Venugopal [Thu, 14 Aug 2014 12:41:05 +0000 (05:41 -0700)]
Removed some unused files and dependencies.

Change-Id: I58312ab8f683fc7c81bdbf89811bee0a806ac0d9
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoTweak Vagrant file, so it also works for fusion provider 72/9972/3
Flavio Fernandes [Fri, 15 Aug 2014 05:54:39 +0000 (01:54 -0400)]
Tweak Vagrant file, so it also works for fusion provider

Change-Id: Ie4b9b6c0abeeda2f65dd7e23df4549eaafccc2cd
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "Moved MD-SAL openflow utility classes from net-virt-providers to its own Utili...
Dave Tucker [Thu, 14 Aug 2014 13:26:16 +0000 (13:26 +0000)]
Merge "Moved MD-SAL openflow utility classes from net-virt-providers to its own Utility library that can be embedded into various applications."

9 years agoMerge "Update ovssfc to use latest mdsal broker APIs"
Madhu Venugopal [Thu, 14 Aug 2014 13:18:11 +0000 (13:18 +0000)]
Merge "Update ovssfc to use latest mdsal broker APIs"

9 years agoAdded the missing TearDown for HardwareVtep IT. 49/9949/2
Madhu Venugopal [Thu, 14 Aug 2014 11:37:36 +0000 (04:37 -0700)]
Added the missing TearDown for HardwareVtep IT.

Change-Id: I170fd69f1a1cb1b44ae0bc4c36fef7072aec6783
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMoved MD-SAL openflow utility classes from net-virt-providers to its own Utility... 41/9941/1
Madhu Venugopal [Thu, 14 Aug 2014 02:07:31 +0000 (19:07 -0700)]
Moved MD-SAL openflow utility classes from net-virt-providers to its own Utility library that can be embedded into various applications.

Change-Id: I87ff6ae4e61e1859bf0a32d76efc98fb483899cf
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>