ovsdb.git
9 years agoMerge "Bug 1806 - Null destination InetAddress in OF13Provider.handleInterfaceUpdate"
Madhu Venugopal [Wed, 24 Sep 2014 20:55:44 +0000 (20:55 +0000)]
Merge "Bug 1806 - Null destination InetAddress in OF13Provider.handleInterfaceUpdate"

9 years agoBug 1806 - Null destination InetAddress in OF13Provider.handleInterfaceUpdate 37/11537/1
Sam Hague [Wed, 24 Sep 2014 15:47:52 +0000 (11:47 -0400)]
Bug 1806 - Null destination InetAddress in OF13Provider.handleInterfaceUpdate

The error is caused when ovsdb can not find the local_ip address from the open_vSwitch table other_config row. this address is used to get the src or dst ip address to be used for tunnels.

Added null chcks around the src and dst ip addresses. Log a warning if either is missing.

Change-Id: I57e0c69d699552d5ed07262210e25c8a4555ca66
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "Bug 2013 Vlan flows needs merging from traditional rules to a single L2Fwding...
Madhu Venugopal [Wed, 24 Sep 2014 09:44:18 +0000 (09:44 +0000)]
Merge "Bug 2013 Vlan flows needs merging from traditional rules to a single L2Fwding Service"

9 years agoBug 2013 Vlan flows needs merging from traditional rules to a single L2Fwding Service 12/11512/1
Sam Hague [Wed, 24 Sep 2014 07:14:05 +0000 (03:14 -0400)]
Bug 2013 Vlan flows needs merging from traditional rules to a single L2Fwding Service

Add fixes for the interface delete cases:
- include the latest rules that needed to be removed
- rework the bcast rule in the piece where a port is removed from the output list. The existing method assumed that the only actions in the apply actions case are all output actions, but the vlan bcast rule has an output to ethPort, followed by popVlan and then the output to flood ports. Also the md-sal does not maintain the order that rules were entered so that cannot be relied upon. This required creating anew method to handle the cases and ensure the proper actions are recreated.

Change-Id: Ie3438a0ecc73d0853ca1fdc01ba250bdd2794596
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoSwap segmentation Id when routing between subnets 94/11494/6
Dave Tucker [Tue, 23 Sep 2014 15:34:18 +0000 (16:34 +0100)]
Swap segmentation Id when routing between subnets

Fixes bug 2052
https://gist.github.com/803a61717fdc153fde5a

Change-Id: I4f61531d5e58cf7969e8a26f80cc2c015338da54
Signed-off-by: Flavio Fernandes <ffernandes@redhat.com>
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoMerge "Bug 2013 - Vlan flows needs merging from traditional rules to a single L2Fwdin...
Dave Tucker [Tue, 23 Sep 2014 21:43:20 +0000 (21:43 +0000)]
Merge "Bug 2013 - Vlan flows needs merging from traditional rules to a single L2Fwding Service"

9 years agoBug 2013 - Vlan flows needs merging from traditional rules to a single L2Fwding Service 03/11503/2
Sam Hague [Tue, 23 Sep 2014 20:23:32 +0000 (16:23 -0400)]
Bug 2013 - Vlan flows needs merging from traditional rules to a single L2Fwding Service

Patch set 2: Remove loogger in handleInterfaceUpdate.

Patch set 1:
Main problem is the vlan flows required two l2 tables, one for ingress and the other for egress. The existing flows made assumptions that those two tables existed. The pipeline changes reduced the l2 forwarding to a single table.

The classifier table has:
- unicast rules to take traffic from the local ports and tag them withthe tenant id
- ingress vlan rules to forward vlan tagged packets from the network
- drop everything else coming from the local ports

The l2 forwarding tables has:
- drop everything not matching the other rules
- unicast rules to forward traffic to the local port after stripping the tag
- broadcast rules to forward tagged packets to the network with the tag and to strip the tag and forward to the local ports
- catch all, forward vlan tagged packets to the network

The old rules looked like this:
Old rules:
1. table=0, in_port=2,dl_vlan=101 actions=goto_table:20
2. table=0, in_port=1,dl_src=fa:16:3e:9d:2e:27 actions=push_vlan:0x8100,set_field:101->vlan_vid,goto_table:10
3. table=0, priority=8192,in_port=1 actions=drop
4. table=0, dl_type=0x88cc actions=CONTROLLER:65535

5. table=10, priority=8192,dl_vlan=101 actions=output:2
6. table=10, priority=16384,dl_vlan=101,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,goto_table:20
7. table=10, dl_vlan=101,dl_dst=fa:16:3e:9d:2e:27 actions=goto_table:20

8. table=20, priority=8192,dl_vlan=101 actions=drop
9. table=20, priority=16384,dl_vlan=101,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=strip_vlan,output:1
10. table=20, dl_vlan=101,dl_dst=fa:16:3e:9d:2e:27 actions=strip_vlan,output:1

The new rules look like this.
1. table=0,in_port=1,vlan_tci=0x0000/0x1fff,dl_src=fa:16:3e:85:80:97 actions=push_vlan:0x8100,set_field:6097->vlan_vid,goto_table:20
2. table=0,in_port=2,dl_vlan=2001 actions=goto_table:20
3. table=0,priority=8192,in_port=1 actions=drop
4. table=0,dl_type=0x88cc actions=CONTROLLER:65535

5. table=110,priority=0 actions=drop
6. table=110,dl_vlan=2001,dl_dst=fa:16:3e:85:80:97 actions=pop_vlan,output:1
7. table=110,priority=16384,dl_vlan=2001,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,pop_vlan,output:1,output:3,output:4
8. table=110,priority=8192,dl_vlan=2001 actions=output:2

In this example there is a router port and two vms on an openstack control node and a second compute node with two vms.

Compute + network node with two vlans and a vm in each vlan:
[odl@fedora41 devstack]$ sudo ovs-ofctl --protocol=OpenFlow13  dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=1594.264s, table=0, n_packets=29, n_bytes=2490, send_flow_rem in_port=4,vlan_tci=0x0000/0x1fff,dl_src=fa:16:3e:7a:12:25 actions=push_vlan:0x8100,set_field:6097->vlan_vid,goto_table:20
cookie=0x0, duration=1678.603s, table=0, n_packets=20, n_bytes=1376, send_flow_rem in_port=1,vlan_tci=0x0000/0x1fff,dl_src=fa:16:3e:85:80:97 actions=push_vlan:0x8100,set_field:6097->vlan_vid,goto_table:20
cookie=0x0, duration=1597.280s, table=0, n_packets=26, n_bytes=3220, send_flow_rem in_port=3,vlan_tci=0x0000/0x1fff,dl_src=fa:16:3e:6e:d8:df actions=push_vlan:0x8100,set_field:6097->vlan_vid,goto_table:20
cookie=0x0, duration=95.810s, table=0, n_packets=21, n_bytes=2042, send_flow_rem in_port=7,vlan_tci=0x0000/0x1fff,dl_src=fa:16:3e:13:e8:9b actions=push_vlan:0x8100,set_field:6098->vlan_vid,goto_table:20
cookie=0x0, duration=104.865s, table=0, n_packets=17, n_bytes=1138, send_flow_rem in_port=5,vlan_tci=0x0000/0x1fff,dl_src=fa:16:3e:6e:fd:9b actions=push_vlan:0x8100,set_field:6098->vlan_vid,goto_table:20
cookie=0x0, duration=101.849s, table=0, n_packets=26, n_bytes=3220, send_flow_rem in_port=6,vlan_tci=0x0000/0x1fff,dl_src=fa:16:3e:25:4a:26 actions=push_vlan:0x8100,set_field:6098->vlan_vid,goto_table:20
cookie=0x0, duration=102.857s, table=0, n_packets=19, n_bytes=1926, send_flow_rem in_port=2,dl_vlan=2002 actions=goto_table:20
cookie=0x0, duration=1676.601s, table=0, n_packets=26, n_bytes=2332, send_flow_rem in_port=2,dl_vlan=2001 actions=goto_table:20
cookie=0x0, duration=95.310s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=7 actions=drop
cookie=0x0, duration=1596.706s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=3 actions=drop
cookie=0x0, duration=101.339s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=6 actions=drop
cookie=0x0, duration=104.364s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=5 actions=drop
cookie=0x0, duration=1678.113s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=1 actions=drop
cookie=0x0, duration=1593.762s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=4 actions=drop
cookie=0x0, duration=1763.032s, table=0, n_packets=881, n_bytes=45681, send_flow_rem priority=0 actions=goto_table:20
cookie=0x0, duration=1763.868s, table=0, n_packets=0, n_bytes=0, send_flow_rem dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=1762.531s, table=20, n_packets=1065, n_bytes=63425, send_flow_rem priority=0 actions=goto_table:30
cookie=0x0, duration=1762.026s, table=30, n_packets=1065, n_bytes=63425, send_flow_rem priority=0 actions=goto_table:40
cookie=0x0, duration=1761.523s, table=40, n_packets=1065, n_bytes=63425, send_flow_rem priority=0 actions=goto_table:50
cookie=0x0, duration=1761.019s, table=50, n_packets=1065, n_bytes=63425, send_flow_rem priority=0 actions=goto_table:60
cookie=0x0, duration=1760.515s, table=60, n_packets=1065, n_bytes=63425, send_flow_rem priority=0 actions=goto_table:70
cookie=0x0, duration=1760.011s, table=70, n_packets=1065, n_bytes=63425, send_flow_rem priority=0 actions=goto_table:80
cookie=0x0, duration=1759.507s, table=80, n_packets=1065, n_bytes=63425, send_flow_rem priority=0 actions=goto_table:90
cookie=0x0, duration=1759.003s, table=90, n_packets=1065, n_bytes=63425, send_flow_rem priority=0 actions=goto_table:100
cookie=0x0, duration=1758.496s, table=100, n_packets=1065, n_bytes=63425, send_flow_rem priority=0 actions=goto_table:110
cookie=0x0, duration=1757.988s, table=110, n_packets=889, n_bytes=46261, send_flow_rem priority=0 actions=drop
cookie=0x0, duration=1593.258s, table=110, n_packets=22, n_bytes=2084, send_flow_rem dl_vlan=2001,dl_dst=fa:16:3e:7a:12:25 actions=pop_vlan,output:4
cookie=0x0, duration=1677.600s, table=110, n_packets=7, n_bytes=526, send_flow_rem dl_vlan=2001,dl_dst=fa:16:3e:85:80:97 actions=pop_vlan,output:1
cookie=0x0, duration=100.836s, table=110, n_packets=12, n_bytes=1024, send_flow_rem dl_vlan=2002,dl_dst=fa:16:3e:25:4a:26 actions=pop_vlan,output:6
cookie=0x0, duration=103.861s, table=110, n_packets=4, n_bytes=288, send_flow_rem dl_vlan=2002,dl_dst=fa:16:3e:6e:fd:9b actions=pop_vlan,output:5
cookie=0x0, duration=94.808s, table=110, n_packets=14, n_bytes=1616, send_flow_rem dl_vlan=2002,dl_dst=fa:16:3e:13:e8:9b actions=pop_vlan,output:7
cookie=0x0, duration=1596.275s, table=110, n_packets=12, n_bytes=1024, send_flow_rem dl_vlan=2001,dl_dst=fa:16:3e:6e:d8:df actions=pop_vlan,output:3
cookie=0x0, duration=102.354s, table=110, n_packets=30, n_bytes=3156, send_flow_rem priority=16384,dl_vlan=2002,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,pop_vlan,output:5,output:6,output:7
cookie=0x0, duration=1676.095s, table=110, n_packets=32, n_bytes=3332, send_flow_rem priority=16384,dl_vlan=2001,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,pop_vlan,output:1,output:3,output:4
cookie=0x0, duration=1677.102s, table=110, n_packets=24, n_bytes=2172, send_flow_rem priority=8192,dl_vlan=2001 actions=output:2
cookie=0x0, duration=103.359s, table=110, n_packets=19, n_bytes=1942, send_flow_rem priority=8192,dl_vlan=2002 actions=output:2

Compute node with two vlans and a vm in each vlan:
[odl@fedora42 devstack]$ sudo ovs-ofctl --protocol=OpenFlow13 dump-flows br-int
OFPST_FLOW reply (OF1.3) (xid=0x2):
cookie=0x0, duration=1406.878s, table=0, n_packets=21, n_bytes=2042, send_flow_rem in_port=1,vlan_tci=0x0000/0x1fff,dl_src=fa:16:3e:6e:46:15 actions=push_vlan:0x8100,set_field:6097->vlan_vid,goto_table:20
cookie=0x0, duration=151.628s, table=0, n_packets=22, n_bytes=2365, send_flow_rem in_port=3,vlan_tci=0x0000/0x1fff,dl_src=fa:16:3e:d6:cc:a8 actions=push_vlan:0x8100,set_field:6098->vlan_vid,goto_table:20
cookie=0x0, duration=149.620s, table=0, n_packets=18, n_bytes=1924, send_flow_rem in_port=2,dl_vlan=2002 actions=goto_table:20
cookie=0x0, duration=1404.872s, table=0, n_packets=15, n_bytes=1682, send_flow_rem in_port=2,dl_vlan=2001 actions=goto_table:20
cookie=0x0, duration=151.128s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=3 actions=drop
cookie=0x0, duration=1406.379s, table=0, n_packets=0, n_bytes=0, send_flow_rem priority=8192,in_port=1 actions=drop
cookie=0x0, duration=1473.298s, table=0, n_packets=733, n_bytes=39306, send_flow_rem priority=0 actions=goto_table:20
cookie=0x0, duration=1474.295s, table=0, n_packets=0, n_bytes=0, send_flow_rem dl_type=0x88cc actions=CONTROLLER:65535
cookie=0x0, duration=1472.797s, table=20, n_packets=809, n_bytes=47319, send_flow_rem priority=0 actions=goto_table:30
cookie=0x0, duration=1472.286s, table=30, n_packets=809, n_bytes=47319, send_flow_rem priority=0 actions=goto_table:40
cookie=0x0, duration=1471.792s, table=40, n_packets=809, n_bytes=47319, send_flow_rem priority=0 actions=goto_table:50
cookie=0x0, duration=1471.291s, table=50, n_packets=809, n_bytes=47319, send_flow_rem priority=0 actions=goto_table:60
cookie=0x0, duration=1470.788s, table=60, n_packets=809, n_bytes=47319, send_flow_rem priority=0 actions=goto_table:70
cookie=0x0, duration=1470.286s, table=70, n_packets=809, n_bytes=47319, send_flow_rem priority=0 actions=goto_table:80
cookie=0x0, duration=1469.784s, table=80, n_packets=809, n_bytes=47319, send_flow_rem priority=0 actions=goto_table:90
cookie=0x0, duration=1469.282s, table=90, n_packets=809, n_bytes=47319, send_flow_rem priority=0 actions=goto_table:100
cookie=0x0, duration=1468.780s, table=100, n_packets=809, n_bytes=47319, send_flow_rem priority=0 actions=goto_table:110
cookie=0x0, duration=1468.278s, table=110, n_packets=736, n_bytes=39797, send_flow_rem priority=0 actions=drop
cookie=0x0, duration=1405.876s, table=110, n_packets=15, n_bytes=1682, send_flow_rem dl_vlan=2001,dl_dst=fa:16:3e:6e:46:15 actions=pop_vlan,output:1
cookie=0x0, duration=150.626s, table=110, n_packets=15, n_bytes=1682, send_flow_rem dl_vlan=2002,dl_dst=fa:16:3e:d6:cc:a8 actions=pop_vlan,output:3
cookie=0x0, duration=149.115s, table=110, n_packets=11, n_bytes=1256, send_flow_rem priority=16384,dl_vlan=2002,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,pop_vlan,output:3
cookie=0x0, duration=1404.370s, table=110, n_packets=11, n_bytes=1252, send_flow_rem priority=16384,dl_vlan=2001,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=output:2,pop_vlan,output:1
cookie=0x0, duration=1405.374s, table=110, n_packets=10, n_bytes=790, send_flow_rem priority=8192,dl_vlan=2001 actions=output:2
cookie=0x0, duration=150.122s, table=110, n_packets=11, n_bytes=860, send_flow_rem priority=8192,dl_vlan=2002 actions=output:2

Change-Id: I68d051d2b56a7dfc054ceb39996b013c8ae4fd74
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoMerge "Bug 2041 - Fixing bug where the tunnel-id is not set in the LBaaS pipeline...
Madhu Venugopal [Tue, 23 Sep 2014 17:42:16 +0000 (17:42 +0000)]
Merge "Bug 2041 - Fixing bug where the tunnel-id is not set in the LBaaS pipeline rules"

9 years agoMerge "Bug 1859 - Remove the fake limitation that LBaaS only works with HTTP and...
Madhu Venugopal [Tue, 23 Sep 2014 17:39:49 +0000 (17:39 +0000)]
Merge "Bug 1859 - Remove the fake limitation that LBaaS only works with HTTP and HTTPS."

9 years agoMerge "Bug 2036 - Adding code to parse dummy neutron port assigned for the VIP"
Madhu Venugopal [Tue, 23 Sep 2014 17:38:41 +0000 (17:38 +0000)]
Merge "Bug 2036 - Adding code to parse dummy neutron port assigned for the VIP"

9 years agoBug 2045 - Egress / Ingress ACL swap broke the pipeline 92/11492/1
Madhu Venugopal [Tue, 23 Sep 2014 14:12:36 +0000 (07:12 -0700)]
Bug 2045 - Egress / Ingress ACL swap broke the pipeline

Introduced by the fix for Bug 1752

Change-Id: Ibb4b23561871a6b076fe440b622842738076a930
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoBug 2041 - Fixing bug where the tunnel-id is not set in the LBaaS pipeline rules 68/11468/1
Srini Seetharaman [Tue, 23 Sep 2014 01:38:32 +0000 (18:38 -0700)]
Bug 2041 - Fixing bug where the tunnel-id is not set in the LBaaS pipeline rules

Change-Id: I552ed7823d06851677fe133f2a750dc590ab52c8
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoBug 1859 - Remove the fake limitation that LBaaS only works with 67/11467/2
Srini Seetharaman [Mon, 22 Sep 2014 23:40:36 +0000 (16:40 -0700)]
Bug 1859 - Remove the fake limitation that LBaaS only works with
HTTP and HTTPS.

Now it allows all TCP ports. The user needs to take
caution not to lock themselves out by letting LBaaS take over
critical ports for direct access. The user also needs to ensure
that the members are all using same TCP ports.

Change-Id: I8bec4bf893446cf9478480d9cc9e76a8cb3ca9c9
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoBug 2036 - Adding code to parse dummy neutron port assigned for the VIP 64/11464/2
Srini Seetharaman [Mon, 22 Sep 2014 23:10:35 +0000 (16:10 -0700)]
Bug 2036 - Adding code to parse dummy neutron port assigned for the VIP

In case you wish to use the LB instance within a subnet without assigning
a floating IP, then you need to add a dummy neutron port to the subnet and
use the IP assigned to that as the VIP. The patch will pick that up and use
it in the reverse traffic rules.

Change-Id: I3e973cfe747c5c1dcb0e639734cdb291ac23210b
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoMerge "Bug #1752 swap egress/ingress ACLs"
Madhu Venugopal [Tue, 23 Sep 2014 00:02:12 +0000 (00:02 +0000)]
Merge "Bug #1752 swap egress/ingress ACLs"

9 years agoMerge "Add L3 Forwarding Table to Pipeline"
Madhu Venugopal [Mon, 22 Sep 2014 20:56:00 +0000 (20:56 +0000)]
Merge "Add L3 Forwarding Table to Pipeline"

9 years agoBug #1752 swap egress/ingress ACLs 94/11294/2
Brent Salisbury [Wed, 17 Sep 2014 19:03:33 +0000 (15:03 -0400)]
Bug #1752 swap egress/ingress ACLs

Patch#2: updated comments

Change-Id: I6d0bb1c3f0e3245f128ad084df1a19cb3122af4f
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
9 years agoMerge "Only use single Apply Actions instruction"
Madhu Venugopal [Mon, 22 Sep 2014 20:26:00 +0000 (20:26 +0000)]
Merge "Only use single Apply Actions instruction"

9 years agoAdd L3 Forwarding Table to Pipeline 51/11451/3
Dave Tucker [Mon, 22 Sep 2014 19:05:10 +0000 (20:05 +0100)]
Add L3 Forwarding Table to Pipeline

Fixes bug 2033

Change-Id: Id1fdb87ea617d83d3d8c035993aa3b9abcbfb258
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoOnly use single Apply Actions instruction 48/11448/2
Dave Tucker [Mon, 22 Sep 2014 16:37:36 +0000 (17:37 +0100)]
Only use single Apply Actions instruction

There should only be one Apply Actions instruction in an Instruction Set
Fixes bug 2029

Change-Id: I415a00c36e951b4b228cde60633b6361df23f77d
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoBug 1705: Expect default gateways mac to be provided 81/11381/5
Flavio Fernandes [Fri, 19 Sep 2014 18:57:05 +0000 (14:57 -0400)]
Bug 1705: Expect default gateways mac to be provided

Patch 4: Move check to caller of RoutingService::programDefaultRouteEntry()
Patch 5: noop

Change-Id: I115febb115134fb7c7af0d0264700c769c4e95ad
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "Bug 1915 : Configuration knob for enabling L3 fwd in OVSDB"
Dave Tucker [Mon, 22 Sep 2014 12:38:52 +0000 (12:38 +0000)]
Merge "Bug 1915 : Configuration knob for enabling L3 fwd in OVSDB"

9 years agoBug 1695 - ignoring pipeline rules for any non-forwarding bridge 32/11432/2
Madhu Venugopal [Mon, 22 Sep 2014 06:07:55 +0000 (23:07 -0700)]
Bug 1695 - ignoring pipeline rules for any non-forwarding bridge

By design, the AbstractServiceInstance kept the isBridgeInPipeline as an abstract method for its child concrete Services
to determine the behaviour.

But, the most important and basic case of allowing the pipeline flows on br-int and ignoring on all other Bridge seems
reasonable default in AbstractServiceInstance. This can be overriden by child Services if need be.

In addition to this fix, have also introduced a minor delay in PipelineOrchestrator as soon as a Node event is observed.
This should workaround one of the basic bugs (1997) on the pipeline management case at the minimum.

Change-Id: I34f1d24d3f72695851bda4379483c8ea2b292308
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoBug 2004 - Fixing issue where local ports are not receivers for flood originating... 33/11433/1
Srini Seetharaman [Mon, 22 Sep 2014 06:22:52 +0000 (23:22 -0700)]
Bug 2004 - Fixing issue where local ports are not receivers for flood originating from another local port

The fix was to update classifier to track whether a flood is coming from local or
remote, and then matching on it to apply the enumerated flood action. The fix also
required OF13Provider to register local ports with the flood rule creation logic.

Reg0 is used by Classifier and LBaaS is moved to Reg1 + Reg2.

Change-Id: I619247349631f909dcc77177bd4cfe733afe7d50
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoMerge "Fixing files in resources that are for debugging help."
Madhu Venugopal [Mon, 22 Sep 2014 06:13:31 +0000 (06:13 +0000)]
Merge "Fixing files in resources that are for debugging help."

9 years agoBug 1915 : Configuration knob for enabling L3 fwd in OVSDB 26/11326/4
Flavio Fernandes [Thu, 18 Sep 2014 15:07:12 +0000 (11:07 -0400)]
Bug 1915 : Configuration knob for enabling L3 fwd in OVSDB

OVSDB L3 fwd code will check for system property 'ovsdb.l3.fwd.enabled'
to determine whether it should be enabled upon OVSDB init.

To enable it, all that is needed is something like:
   echo 'ovsdb.l3.fwd.enabled=yes' >> ./configuration/config.ini

To disable, all that is needed is something like:
   sed -i -e 's/ovsdb\.l3\.fwd\.enabled\=.*$/ovsdb\.l3\.fwd\.enabled=no/'  ./configuration/config.ini

Change-Id: Ia00bcc0058b94d23b8497077241c5208ebae2081
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoBug 2008 - Local Instance rules are failed to get programmed in L2FwdService table... 21/11421/1
Madhu Venugopal [Sun, 21 Sep 2014 17:12:33 +0000 (10:12 -0700)]
Bug 2008 - Local Instance rules are failed to get programmed in L2FwdService table in presence of security groups

Change-Id: I0f628ba0099e3acfbbf06dfb381d35317647970d
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoFixing files in resources that are for debugging help. 18/11418/1
Srini Seetharaman [Sun, 21 Sep 2014 15:08:46 +0000 (08:08 -0700)]
Fixing files in resources that are for debugging help.

1. Fixing puppet bootstrap for vagrant initialization. Currently,
it references to puppetlabs-release-saucy.deb that doesn't exist.
2. Adding postman collection for the LBaaS

Change-Id: I915d9a73e9865fb16d910b0971907acee63fc65c
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoBug 1981: NumberFormatException in ArpResponderService while programming Static ARP... 80/11380/3
Flavio Fernandes [Fri, 19 Sep 2014 18:59:40 +0000 (14:59 -0400)]
Bug 1981: NumberFormatException in ArpResponderService while programming Static ARP entries

The function ActionUtils.nxLoadArpShaAction() can now take a BitInteger or MacAddress.

Change-Id: Ia53a1e32d33b69f2ec0453d5c816d5f8c404814d
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMerge "Add missing Order and Key to InstructionBuilders"
Madhu Venugopal [Sun, 21 Sep 2014 04:45:24 +0000 (04:45 +0000)]
Merge "Add missing Order and Key to InstructionBuilders"

9 years agoMerge "Bug 1885: VM ingress rule is not installed for vlan networking"
Madhu Venugopal [Sun, 21 Sep 2014 04:11:56 +0000 (04:11 +0000)]
Merge "Bug 1885: VM ingress rule is not installed for vlan networking"

9 years agoMerge "Fix ARP Responder Actions"
Madhu Venugopal [Sun, 21 Sep 2014 04:05:30 +0000 (04:05 +0000)]
Merge "Fix ARP Responder Actions"

9 years agoMerge "Bug 1998 - Fixing Bridge Set-Controller operation failure"
Brent Salisbury [Sat, 20 Sep 2014 19:12:40 +0000 (19:12 +0000)]
Merge "Bug 1998 - Fixing Bridge Set-Controller operation failure"

9 years agoBug 2001 - Removing code that deletes flow state when a node is removed. 03/11403/1
Srini Seetharaman [Sat, 20 Sep 2014 17:14:44 +0000 (10:14 -0700)]
Bug 2001 - Removing code that deletes flow state when a node is removed.

This patch ensures the TransactionCommitFailedException is not being caused.
We let the MD-SAL deal with clearing state and bringing it back when the node
is removed and added back.

Change-Id: Id743b9bfb83e4424f239e05dc0e731fc818f6468
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoBug 1998 - Fixing Bridge Set-Controller operation failure 99/11399/1
Madhu Venugopal [Sat, 20 Sep 2014 12:36:17 +0000 (05:36 -0700)]
Bug 1998 - Fixing Bridge Set-Controller operation failure

If Controller-Target already exist in the Controller table, the existing logic in setOFController
fails badly due to a very basic bug of updating a wrong table.

If the Target exist in the Controller table, the updateRow must happen only on the Bridge Table
and Not on Controller Table. That is the root-cause of the issue seen recently.

While reviewing this bug, I felt that the logic sorrounding this is unncessarily complex and I took
this opportunity to clean it a bit as well.

Change-Id: I14cd38759c16f8b444d2d14bd0b83d1df5a3b45d
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoAdd missing Order and Key to InstructionBuilders 72/11372/1
Dave Tucker [Fri, 19 Sep 2014 15:36:36 +0000 (16:36 +0100)]
Add missing Order and Key to InstructionBuilders

Fixes bug 1982

Change-Id: Iea2a4ed1db2d9099e2dd81fc99685db505cdc521
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoBug 1979 - Karaf : odl-adsal-compatibility feature needs to be pulled in automaticall... 68/11368/1
Madhu Venugopal [Fri, 19 Sep 2014 14:11:36 +0000 (07:11 -0700)]
Bug 1979 - Karaf : odl-adsal-compatibility feature needs to be pulled in automatically for odl-adsal-openstack

Change-Id: Ic395e8b4dd36cf96ebcd81daa8441ef6295a06c8
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoFix ARP Responder Actions 69/11369/1
Dave Tucker [Fri, 19 Sep 2014 14:06:03 +0000 (15:06 +0100)]
Fix ARP Responder Actions

Fixes bug 1980

Change-Id: Iac673f7022b4059399b93e21ed4d1ce73d4ff99d
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoBug 1972 - Flows failed to get programmed in a very random fashion. 53/11353/1
Madhu Venugopal [Fri, 19 Sep 2014 05:50:27 +0000 (22:50 -0700)]
Bug 1972 - Flows failed to get programmed in a very random fashion.

Fixing it by introducing a little bit of a delay in writeFlow. This solves the pipeline flow programming woes.
Also eventdispatcher quits if there is atleast 1 exception. This can result in event queue backing up completely.

Change-Id: Ifc8a5d16e4ae332281b6f2ea8e99788dc8c42a49
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoBug 1897 - Implementing NeutronLoadBalancerPoolAware interface 55/11255/1
Srini Seetharaman [Tue, 16 Sep 2014 21:16:36 +0000 (14:16 -0700)]
Bug 1897 - Implementing NeutronLoadBalancerPoolAware interface

1. Adding LBaaSPoolHandler class and changes to Activator
2. Allowing any order of VIP and Pool creation, instead of Pool
   and members first as it was implemented earlier.
3. Removing hack in LBaaSPoolMemberHandler member deletion and
   recomputing indices inline without enqueuing another event.

Note: With current implementation:
- It is possible to have more than 1 VIP per pool
- Create pool and VIP in any order
- There can only be 1 VIP per subnet.
- Two pools cannot share the same VIP.

Change-Id: I38d2adf07b70393a51d5ceaa467022426f3146fc
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoFixing Bug 1900 and 1908 51/11251/5
Srini Seetharaman [Tue, 16 Sep 2014 17:07:08 +0000 (10:07 -0700)]
Fixing Bug 1900 and 1908

Updating LBaaSPoolMemberHandler to process member add/delete correctly.
Previously the rules were not pushed or deletede properly.

Also committing the index subtraction in LoadBalancerService that was
not merged properly in the earlier commit.

Change-Id: If367895407a284333a0438ae76312063fe3d8ded
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoFixing Bug 1858 and Bug 1673 with changes in net-virt package 10/11210/6
Srini Seetharaman [Mon, 15 Sep 2014 20:36:02 +0000 (13:36 -0700)]
Fixing Bug 1858 and Bug 1673 with changes in net-virt package

1. Adding support for pool-id based on fix that went into the controller/
northbound/networkconfig/neutron for fixing Bug 1673

2. Fixing issue where LB pool member creation / deletion fails when VIP
isn't created yet

3. Incorrect handling of the events (missing "break" in switch statement)

4. Adding missing Activator .setInterface for LBaaS handlers

Change-Id: Ied854fe4f44c839a1e46036e625b7fb3cf3111cc
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoBug 1890 - Fixing NX-Multipath action plugin 08/11208/6
Srini Seetharaman [Mon, 15 Sep 2014 20:11:00 +0000 (13:11 -0700)]
Bug 1890 - Fixing NX-Multipath action plugin

1. Setting right type for Dst as DstChoice
2. Updating convertor class to do right translation between OFJava and SAL
3. Updating ActionUtil call that uses the NX-Multipath action

Change-Id: Id226bab612cd3fa0c1243a00955e5a187fd7706a
Signed-off-by: Srini Seetharaman <srini.seetharaman@gmail.com>
9 years agoMerge "Bug 1896: L3 router interface not being installed"
Dave Tucker [Tue, 16 Sep 2014 19:19:07 +0000 (19:19 +0000)]
Merge "Bug 1896: L3 router interface not being installed"

9 years agoBug 1909: fix maven-bundle-plugin version 47/11247/1
Ed Warnicke [Tue, 16 Sep 2014 16:55:25 +0000 (11:55 -0500)]
Bug 1909: fix maven-bundle-plugin version

Change-Id: I962960f9180065080d3c32a3a14614eb0bbea452
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoBug 1896: L3 router interface not being installed 16/11216/2
Flavio Fernandes [Tue, 16 Sep 2014 00:00:15 +0000 (20:00 -0400)]
Bug 1896: L3 router interface not being installed

Fix code path where tenant instance is added to node after router interface
is created.

Patch 2: code review. Thanks Mr. T!  :)

Change-Id: I466f1c45cde8f3002b20cfb0f43b9e791a0031bf
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoBug 1889 - Adding the missing odl-openflowplugin-flow-services feature to odl-ovsdb... 03/11203/1
Madhu Venugopal [Mon, 15 Sep 2014 18:32:50 +0000 (11:32 -0700)]
Bug 1889 - Adding the missing odl-openflowplugin-flow-services feature to odl-ovsdb-openstack feature

Change-Id: I4ab2ff86deae6c82a0d39f28169e1f31fddbc9b0
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoReording bundle dependencies in features.xml to solve Bug 1887 00/11200/1
Madhu Venugopal [Mon, 15 Sep 2014 17:44:15 +0000 (10:44 -0700)]
Reording bundle dependencies in features.xml to solve Bug 1887

Change-Id: I475b9c486056d4eb8b80a8fd3be6406ad9f868e6
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoBug 1885: VM ingress rule is not installed for vlan networking 98/11198/2
Sam Hague [Mon, 15 Sep 2014 17:12:30 +0000 (13:12 -0400)]
Bug 1885: VM ingress rule is not installed for vlan networking

Related to Bug 1421 in openflowplugin where changes were made to how the vlan related match and actions are implemented. The current openflowplugin requires that the vlan match with present = false be added as a match before the mod_vlan_vid action will work. The patch adds the match condition.

There was an existing method to add the vlan vid and present flag. The method was enahanced to allow setting the present flag to true or false.

Change-Id: Ib69149649a946098ffd988de14663b71e958a551
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoBug 1825 - L2Fwding service should not inherit actions from the AbstractServiceInstance 72/11172/1
Madhu Venugopal [Sun, 14 Sep 2014 21:07:02 +0000 (14:07 -0700)]
Bug 1825 - L2Fwding service should not inherit actions from the AbstractServiceInstance

Due to the Write-Actions vs Apply-Actions issue, L2Fwd service is moved to the end of the pipeline.
When it is moved, it should not inherit the Drop-flow from AbstractServiceInstance parent.

Change-Id: I14acc18ca0e9a9485d2cfcea53a4a0910f9db35e
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoBug 1864 - Use unique flow-id for AbstractService pipeline flows 67/11167/1
Madhu Venugopal [Sun, 14 Sep 2014 19:02:48 +0000 (12:02 -0700)]
Bug 1864 - Use unique flow-id for AbstractService pipeline flows

Change-Id: I537436bdaad7bbea44ebe49b999d2dfd45f71ce5
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoCreate 3 new bundles for config files 30/11130/1
Dave Tucker [Fri, 12 Sep 2014 23:47:30 +0000 (00:47 +0100)]
Create 3 new bundles for config files

Fixes bug 1823

Change-Id: I24d206838e07c3b8f5529d9daecc0e6112f0bfc8
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoAdd config file for nicira-extension to karaf distribution 73/11073/5
Dave Tucker [Thu, 11 Sep 2014 23:51:31 +0000 (00:51 +0100)]
Add config file for nicira-extension to karaf distribution

Partially fixes bug 1823

Change-Id: I55ac45e2c3d4c6fa187260d839d3824f513c5705
Signed-off-by: Dave Tucker <djt@redhat.com>
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoBug 1844 : Callback from neutron's router interface to be handled via neutron port... 07/11107/1
Flavio Fernandes [Fri, 12 Sep 2014 12:38:52 +0000 (08:38 -0400)]
Bug 1844 : Callback from neutron's router interface to be handled via neutron port events

In the absence of explicit router interface add/remove callback, check the interface
owner of the neutron port and determine if that represents a router interface. From there,
simply map the event as the expected router interface event.

Change-Id: Ib5a58ad166e632b89cc97a23b2c8545f6462ca66
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "Bug 1823 : Added karaf bundle for 43-openflowjava-nx-api-config.xml"
Madhu Venugopal [Fri, 12 Sep 2014 12:49:45 +0000 (12:49 +0000)]
Merge "Bug 1823 : Added karaf bundle for 43-openflowjava-nx-api-config.xml"

9 years agoMerge "Bug 1823 : Adding Karaf openflowjava-nx-config bundle"
Madhu Venugopal [Fri, 12 Sep 2014 12:49:31 +0000 (12:49 +0000)]
Merge "Bug 1823 : Adding Karaf openflowjava-nx-config bundle"

9 years agoBug 1823 : Added karaf bundle for 43-openflowjava-nx-api-config.xml 85/11085/4
Madhu Venugopal [Fri, 12 Sep 2014 08:44:01 +0000 (01:44 -0700)]
Bug 1823 : Added karaf bundle for 43-openflowjava-nx-api-config.xml

Change-Id: I982a281640112f5e6ac023a0763024664189b66c
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoBug 1823 : Adding Karaf openflowjava-nx-config bundle 74/11074/5
Brent Salisbury [Thu, 11 Sep 2014 23:56:51 +0000 (19:56 -0400)]
Bug 1823 : Adding Karaf openflowjava-nx-config bundle

Patch#4: Fixed a few more missing items that makes it integration-friendly
Patch#3: forgot I had dskiptests aliased from long build times.
This builds :0
Patch2: Deleting a config file a config file from before
we realized it needed to be new bundles.

Change-Id: I9cb6fe69eadc8df9bcffebfc3e15639e491db662
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoBug 1824 : OpenFlow13 Protocol plugin is made the default. Also Karaf edition doesnt... 84/11084/1
Madhu Venugopal [Fri, 12 Sep 2014 03:08:48 +0000 (20:08 -0700)]
Bug 1824 : OpenFlow13 Protocol plugin is made the default. Also Karaf edition doesnt support the legacy openflow protocol plugin.

Change-Id: I7ae3ea575f0c92a9da13176f3291a4f920d8cb34
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoBug 1822 - Adding the missing karaf distribution 72/11072/1
Madhu Venugopal [Thu, 11 Sep 2014 21:50:55 +0000 (14:50 -0700)]
Bug 1822 -  Adding the missing karaf distribution

Change-Id: I5c46bc70eb28f21420c6d441672fcec9cf23b503
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoBug 960 : Avoid adding redundant Openflow Controller entries 06/9606/8
Flavio Fernandes [Sat, 2 Aug 2014 04:20:58 +0000 (00:20 -0400)]
Bug 960 : Avoid adding redundant Openflow Controller entries

* Added IT for reproducing the problem;
* Enhanced ConfigurationService.setOFController() to detect duplicate
  targets and update rows instead of adding new ones.

Log: https://gist.github.com/anonymous/4ce9b2abdecda3c5e7fa

Change-Id: Ifedc351e849a18feb66b6025189495cb991c38f2
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "Bug 1799: Fixed broken Vagrantfile URL"
Dave Tucker [Thu, 11 Sep 2014 16:36:20 +0000 (16:36 +0000)]
Merge "Bug 1799: Fixed broken Vagrantfile URL"

9 years agoMerge "Bug 1811 Fixed the pipeline by moving L2Fwd to the end."
Dave Tucker [Thu, 11 Sep 2014 14:32:04 +0000 (14:32 +0000)]
Merge "Bug 1811 Fixed the pipeline by moving L2Fwd to the end."

9 years agoBug 1811 Fixed the pipeline by moving L2Fwd to the end. 49/11049/2
Madhu Venugopal [Thu, 11 Sep 2014 13:06:36 +0000 (06:06 -0700)]
Bug 1811 Fixed the pipeline by moving L2Fwd to the end.

Change-Id: I4192003c7b24d7bfb39abbfbcaf0772bb473a2a3
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoFix Devstack Vagrant VMs to use a later OS 47/11047/1
Dave Tucker [Thu, 11 Sep 2014 13:06:57 +0000 (14:06 +0100)]
Fix Devstack Vagrant VMs to use a later OS

Fixes bug 1798

Change-Id: Ibcd179e082c90e9933d822e190d9968a13e95bf4
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoBug 1799: Fixed broken Vagrantfile URL 15/11015/1
Daniel Farrell [Wed, 10 Sep 2014 21:25:31 +0000 (17:25 -0400)]
Bug 1799: Fixed broken Vagrantfile URL

Change-Id: Ibaad92043980d2be7ff0d7be10126df510367895
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
9 years agoMerge "Bug 1760 - Removing redudant call to writeFlow in L3ForwardingService"
Dave Tucker [Tue, 9 Sep 2014 12:43:33 +0000 (12:43 +0000)]
Merge "Bug 1760 - Removing redudant call to writeFlow in L3ForwardingService"

9 years agoBug 1760 - Removing redudant call to writeFlow in L3ForwardingService 30/10930/1
Madhu Venugopal [Tue, 9 Sep 2014 03:41:57 +0000 (20:41 -0700)]
Bug 1760 - Removing redudant call to writeFlow in L3ForwardingService

Change-Id: I5e95352ab5990e442b967fcd9845ea22b770afaf
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoCheck that a value is present before calling Optional.get() 26/10926/1
Dave Tucker [Mon, 8 Sep 2014 23:33:40 +0000 (00:33 +0100)]
Check that a value is present before calling Optional.get()

Fixes bug 1655

Change-Id: I6fdf8d5a0abab7af8bd95a2ebaaf68658c60d24e
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoBug 1461 - precondition in getProvider failing 21/10921/1
Madhu Venugopal [Mon, 8 Sep 2014 19:15:28 +0000 (12:15 -0700)]
Bug 1461 - precondition in getProvider failing

Since most of the Services that we support uses OpenFlow13 and also we are deprecating the use of Openflow10 plugin,
use the Openflow13 provider directly.

Change-Id: Ibecae733b0c735303908dacfce18e6f1d382e8f1
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoBug 1729: Make BlockingQueue events in EventDispatcherImpl volatile 63/10863/3
Flavio Fernandes [Fri, 5 Sep 2014 20:09:08 +0000 (16:09 -0400)]
Bug 1729: Make BlockingQueue events in EventDispatcherImpl volatile

Just like queue in PipelineOrchestratorImpl, events in EventDispatcherImpl
should be volatile since it is expected to be modified by different threads.

Ref gerrit in which Madhu fixes a similar issue in PipelineOrchestratorImpl:
https://git.opendaylight.org/gerrit/#/c/10843/

Change-Id: I923cb974788b0425e28af7823bf6cd23aeeb0f5f
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "Bug 1730: L3: Trigger processing of neutron port updates based on events from...
Madhu Venugopal [Sat, 6 Sep 2014 22:03:28 +0000 (22:03 +0000)]
Merge "Bug 1730: L3: Trigger processing of neutron port updates based on events from southbound"

9 years agoBug 1730: L3: Trigger processing of neutron port updates based on events from southbound 62/10862/2
Flavio Fernandes [Fri, 5 Sep 2014 19:56:12 +0000 (15:56 -0400)]
Bug 1730: L3: Trigger processing of neutron port updates based on events from southbound

When interface events originate from the southbound side of ovsdb, the L3 forwarding
feature in ovsdb expects to be notified. W/out this code, flows needed to program L3
functionality will get skipped.

Due to my mistake, the logic for connecting the southbound event to the
already implemented neutron port handler is missing. This bug is created
to account for the the small code missing in L3 handler; past the code
freeze.

Change-Id: I7d124a66425352dd4690ab830cc29d0b94a87e67
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "Adding SFC feature dependencies to ovs-sfc module"
Brent Salisbury [Fri, 5 Sep 2014 14:57:08 +0000 (14:57 +0000)]
Merge "Adding SFC feature dependencies to ovs-sfc module"

9 years agoAdding SFC feature dependencies to ovs-sfc module 55/10855/1
Madhu Venugopal [Fri, 5 Sep 2014 14:44:27 +0000 (07:44 -0700)]
Adding SFC feature dependencies to ovs-sfc module

Change-Id: I5067febf5d1d3a006abc6d5caf19df31102bc99a
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMerge "With the unrelated karaf dependency issues not seen (for now) reenabling karaf...
Dave Tucker [Fri, 5 Sep 2014 12:30:34 +0000 (12:30 +0000)]
Merge "With the unrelated karaf dependency issues not seen (for now) reenabling karaf builds in jenkins"

9 years agoMerge "Moving the InventoryListener out of AbstractServiceInstance and into a common...
Dave Tucker [Fri, 5 Sep 2014 12:30:16 +0000 (12:30 +0000)]
Merge "Moving the InventoryListener out of AbstractServiceInstance and into a common place PipelineOrchestratorImpl"

9 years agoMoving the InventoryListener out of AbstractServiceInstance and into a common place... 43/10843/3
Madhu Venugopal [Fri, 5 Sep 2014 10:27:11 +0000 (03:27 -0700)]
Moving the InventoryListener out of AbstractServiceInstance and into a common place PipelineOrchestratorImpl

Change-Id: Ic443bfcb160122f9e5e943aa64c36a73034a6c88
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoWith the unrelated karaf dependency issues not seen (for now) reenabling karaf builds... 44/10844/1
Madhu Venugopal [Fri, 5 Sep 2014 11:07:14 +0000 (04:07 -0700)]
With the unrelated karaf dependency issues not seen (for now) reenabling karaf builds in jenkins

Change-Id: Ib1389b03a530fe7250246c0405b0cd010496e124
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMerge "Combine ovssfc patches."
Madhu Venugopal [Fri, 5 Sep 2014 09:48:22 +0000 (09:48 +0000)]
Merge "Combine ovssfc patches."

9 years agoInMemoryDOMDataStore$DOMStoreTransactionChainImpl isnt happy if there are mulitple... 16/10816/1
Madhu Venugopal [Thu, 4 Sep 2014 23:13:10 +0000 (16:13 -0700)]
InMemoryDOMDataStore$DOMStoreTransactionChainImpl isnt happy if there are mulitple transactions queued in quick succession.

And it throws
java.lang.IllegalStateException: Previous transaction in chain must be ready.
at com.google.common.base.Preconditions.checkState(Preconditions.java:149) ~[na:na]
at org.opendaylight.controller.md.sal.dom.store.impl.InMemoryDOMDataStore$DOMStoreTransactionChainImpl.newReadWriteTransaction

when we reuse the txchain. Fixing it temporarily. Better solution is to get away from this and use DataChangeListener.

Change-Id: Id20abdefc21574dce9ff078f4ce96aa91c390edb
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMerge "Added LoadBalancerProvider as the service provided by LoadBalancerService"
Brent Salisbury [Thu, 4 Sep 2014 21:45:40 +0000 (21:45 +0000)]
Merge "Added LoadBalancerProvider as the service provided by LoadBalancerService"

9 years agoMerge "Splitting OF13Provider's native L2 Forwarding code into Classifier and L2Forwa...
Brent Salisbury [Thu, 4 Sep 2014 21:43:10 +0000 (21:43 +0000)]
Merge "Splitting OF13Provider's native L2 Forwarding code into Classifier and L2Forwarding Table in the pipeline"

9 years agoMerge "L3: Use system config to get the mac address of the default gateway in the...
Madhu Venugopal [Thu, 4 Sep 2014 21:38:34 +0000 (21:38 +0000)]
Merge "L3: Use system config to get the mac address of the default gateway in the external network."

9 years agoAdded LoadBalancerProvider as the service provided by LoadBalancerService 12/10812/1
Madhu Venugopal [Thu, 4 Sep 2014 19:12:40 +0000 (12:12 -0700)]
Added LoadBalancerProvider as the service provided by LoadBalancerService

Change-Id: I8168f0490d8b9cf5b477d177cfa5197f41deb3b6
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoL3: Remove redundant line added in commit e38b7ff6 01/10801/1
Flavio Fernandes [Thu, 4 Sep 2014 18:31:01 +0000 (14:31 -0400)]
L3: Remove redundant line added in commit e38b7ff6

Change-Id: If90b95464dd1c022fd1ed74868c01de050fb89b0
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoL3: Use system config to get the mac address of the default gateway in the external... 92/10792/1
Flavio Fernandes [Thu, 4 Sep 2014 16:53:57 +0000 (12:53 -0400)]
L3: Use system config to get the mac address of the default gateway in the external network.

Change-Id: Iab1d50af3c42a0b2552aa378d8c5f59dc9e3914a
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
9 years agoMerge "L3: Add support for distributed arp responder and l3 forwarding"
Dave Tucker [Thu, 4 Sep 2014 12:53:20 +0000 (12:53 +0000)]
Merge "L3: Add support for distributed arp responder and l3 forwarding"

9 years agoCombine ovssfc patches. 72/10772/1
Sam Hague [Thu, 4 Sep 2014 12:37:21 +0000 (08:37 -0400)]
Combine ovssfc patches.

Change-Id: I9d0e6f29c8ea837ceccec1073fea549ad77a2b3f
Signed-off-by: Sam Hague <shague@redhat.com>
9 years agoSplitting OF13Provider's native L2 Forwarding code into Classifier and L2Forwarding... 71/10771/1
Madhu Venugopal [Thu, 4 Sep 2014 12:38:31 +0000 (05:38 -0700)]
Splitting OF13Provider's native L2 Forwarding code into Classifier and L2Forwarding Table in the pipeline

There are a few issues with the Flooding rules wherein Tunnel vs VM port Flooding / Broadcast flows step
on each-other instead of work together. Will file bugs to get them resolved.

Change-Id: I47706ce0bd7482eb76e48a28bedad31f434aa5af
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoSplit Ingress and Egress ACL Programming 56/10756/1
Dave Tucker [Thu, 4 Sep 2014 09:18:05 +0000 (10:18 +0100)]
Split Ingress and Egress ACL Programming

Change-Id: I7ccb0f7cfced6410efa95cc82dd6e51e8739fbe9
Signed-off-by: Dave Tucker <djt@redhat.com>
9 years agoAdd ovssfc as it's own karafe feature within ovsdb 44/10744/2
Sam Hague [Thu, 4 Sep 2014 01:43:04 +0000 (21:43 -0400)]
Add ovssfc as it's own karafe feature within ovsdb

Change-Id: Ib1f2b26c255f9d86e876d2ada0f875f73ce16a5e
Signed-off-by: Sam Hague <shague@redhat.com>
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoMerge "ACL services for OS/OVS"
Madhu Venugopal [Thu, 4 Sep 2014 01:31:31 +0000 (01:31 +0000)]
Merge "ACL services for OS/OVS"

9 years agoACL services for OS/OVS 65/10565/7
Brent Salisbury [Mon, 1 Sep 2014 01:41:31 +0000 (21:41 -0400)]
ACL services for OS/OVS

Patch #1:Ingress ACLs
Patch #2:Egress ACLs
Patch #3:Rebase and typos
Patch #4:Service exports patching
Patch #5:Added IngressACL Interface and verified flowmods
Patch #6:Deleted random .diff file in last commit

TODO:
-Break egress out of the IngressACLService into EgressACLService
Easier to tshoot colapsed.
-CRUD updates and deletes.
-Refactor GOTO instructs w/the pipeline mutator fromt the abstract
services parent for Egress ACL (completed for Ingress)

Change-Id: I2a7bea87e7d75b6b02c8ff6a43b60f881c4ade02
Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
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 agoL3: Add support for distributed arp responder and l3 forwarding 31/10731/1
Flavio Fernandes [Wed, 3 Sep 2014 20:56:46 +0000 (16:56 -0400)]
L3: Add support for distributed arp responder and l3 forwarding

Test log: https://gist.github.com/f3795b3163b778860048

Change-Id: Id00d64d9e62e97d0da082589f37a9470847b395d
Signed-off-by: Flavio Fernandes <ffernand@redhat.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>