210 Commits

Author SHA1 Message Date
Yuta HIGUCHI
498fa1d321 Bump Guava to 21.0
Change-Id: Id81705773d191db6a18153d8b2dd4abd2bfd0e60
2017-05-19 15:40:12 +00:00
Jimmy Jin
e9b7a02ff9 OpenFlow message processing for new loxi
Depends-On: Id69c8597eb4564653c56cdc90f2dcec50afbdd25

Change-Id: Ib14fbadd3debf98ce1d56343179f8e7929f8ade8
2017-05-19 15:40:12 +00:00
Yi Tseng
32c053c826 [ONOS-6462] Intent stuck in WITHDRAWING state with FlowObjective intent compiler
Reasons makes Intent stuck in WITHDRAWING state:
1. The patch for CORD-1180 caused next objective queued in the objective
system if there is no next group for that next objective.

2. Default single table pipeline removes next group from flow objective
store when removing forwarding objective.

3. The flow objective Intent installer will remove forwarding objective
first, then remove next objective.

4. The flow objective Intent install will wait until all objective context
completed, however, according to reason 1, 2 and 3, the next objective
will be queued forever since there will be no next group in the store. So
the Intent state will stuck in WITHDRAWING until the Intent manager retry.

To fix this issue, we need to modify default single table pipeline, make it
not remove next group when removing forwarding objective.

Change-Id: Ia51a3361f19b60332ca1a276583cdfc036d93343
2017-05-16 20:42:20 +00:00
Ray Milkey
08b03a9ec8 Starting snapshot 1.11.0-SNAPSHOT
Change-Id: I5aa84e241545dace6192243c0079924ddf899404
2017-05-15 18:40:20 +00:00
Frank Wang
5733c387cc [ONOS-6208]Implemention of onos and loxi for OVS NAT and connection tracking support
Change-Id: I782422d41fdacc805b523b57c3bd0b6e67e483a2
2017-05-15 16:31:15 +00:00
Saurav Das
1547b3ffd8 CORD-1180 Collection of fixes for hash-group buckets. Required the following changes:
Next-objectives that edited groups are now queued in the FlowObjectiveManager instead of the driver.
	  During linkup immediately checking for previous portups that should be added to a hash group.
	  A final retry 30 secs later to catch all ports that should be part of the same hash group.

Change-Id: I7ef450149d685890ca47932b8e559a0c11dc5ab4
2017-05-12 21:37:00 +00:00
Yi Tseng
ef19de1e84 [CORD-1108] Refactoring OFDPA Group Handler
Create package "ofdpa" under pipeline package
Move helper functions and classes to OfdpaGroupHandlerUtility

Change-Id: I47e42f2c8afc9088ed684cd6a087233a82c452f6
2017-05-04 20:59:28 +00:00
Ray Milkey
8fd28c7b80 Starting snapshot 1.10.0-SNAPSHOT 2017-05-02 14:37:34 -07:00
Ray Milkey
f0099022d2 Tagging 1.10.0-rc1 2017-05-02 14:35:27 -07:00
Saurav Das
86d13e8ef4 Adding a driver for OF-DPA in Qumran based switches.
Change-Id: I0dae54488e02dbd86c9bb81c556efba2f3f3f0dd
2017-05-02 01:53:30 +00:00
Yi Tseng
0fdc07e7bf Remove IP criterion from OF-DPA pipeline filter
Change-Id: I79700f31009265519e0f9297fc018385c6e30483
2017-05-01 20:58:24 +00:00
daniel park
ac34890cac Fix to support vlan id criterion in openstack pipeline
Change-Id: I4403620ffe2aa0b5c56ed15514e6273da8ee0f5a
2017-04-26 20:56:08 +00:00
Yuta HIGUCHI
2dce08a7eb StringBuffer -> StringBuilder
Change-Id: Ibacf9357619712909544ddeb901bbef04c822bfe
2017-04-21 19:18:05 +00:00
sangho
6a9ff0d879 [ONOS-6137] Refactoring SecurityGroup features for stateful SONA
- Caches the security group information
- Supports seucrity group & rules update

Change-Id: Id7cdfb84e53e00aab49fbe736fb39e37492eeb61
2017-04-14 15:21:50 +00:00
Yi Tseng
91cf2d4416 [CORD-1107] Fix NPE when remove buckets
Change-Id: I4ed64bac50353c0e19c4213bbb2cacc1086e80bc
2017-04-11 19:45:58 +00:00
Jian Li
f97f2bc12a Further simplify if-else statement for OF default extensions
Change-Id: I0fd3f81ef8aa355f3bf6ff79b798ec5b8449a0f4
2017-04-10 23:50:14 +00:00
Saurav Das
961beb2c1b Bug fix: Do not create groups as a side effect when revoking routes
Also changing pendingGroups to a cache that will automatically purge failed groups
Improving log messagesin several places

Change-Id: I6843a66d58e623259c7fd20ffe64d56a46d963f0
2017-04-07 21:39:59 +00:00
Andrea Campanella
5953a4f3db Removing useless dependecy on driver utils from default drivers
Change-Id: I649230d630bd0bcb40f4267934ea7e5ae2efdd70
2017-04-06 12:54:07 +02:00
Charles Chan
053b1cbd3f Refactoring OFDPA pipeline
Remove redundant code and improve log message

Change-Id: I1b8da70abf0c12b71428da0e7e76fe7be793449b
2017-03-31 21:23:35 +00:00
ke han
9649cdd515 nokia pipeline: block eapol flow rules in fwd primitive because it already sent in filter primitive
Change-Id: I6e6b30e749a4e90f2d1dc6f58bc81a6db7df5c15
2017-03-28 14:12:50 +00:00
Saurav Das
b28d5dd544 Bug fix - Do not create new next-objective if there are no
non-duplicate buckets to add.

Change-Id: I5bbf3f22225ae91efeed7f5987e771de209f725c
2017-03-27 22:34:52 +00:00
Yi Tseng
47f82dcb09 Support multiple pending add buckets
Change-Id: Ia528a9b52ad9cb935b4a5d0bc41263baabbdb3d3
2017-03-24 23:19:06 +00:00
Yi Tseng
117952ddab Using static l2 flood group key
Change-Id: I1a61403fb80ec2f8b6d346d74c5a673fae2a22c5
2017-03-24 21:38:23 +00:00
Yi Tseng
fa394defdc Fix for ONOS-5175. GroupId refactoring.
Science DefaultGroupId was deprecated, remove it from ONOS

Change-Id: I82394e58ec1ba10c37492ed77546e233de9f934f
2017-03-24 21:13:57 +00:00
Yi Tseng
eeb3dc10d3 [CORD-1051] Fix bug when remove multiple bucket
Change-Id: Iefe343278d561c6d60b842cbecc85e9328a64169
2017-03-24 21:00:50 +00:00
Charles Chan
d1172636d1 CORD-810 Remove VLAN extension selector from OFDPA 3
Change-Id: I973c5c3cb468998782e3b79ca1105a3f57dc265f
2017-03-22 20:55:07 +00:00
Thomas Vachuska
43de6ee303 Refactoring abstract driver loader to assure that default drivers get loaded first by default.
Change-Id: I2fd213d8f49b6390ec8f005795bb95661aaee793
2017-03-16 16:02:37 +00:00
Saurav Das
b0ae6ee49e CORD-999 changes to support vlans
Major changes to the DhcpRelay app
   Bug fix to not depend on global variables that can be overwritten
   App is now vlan aware i.e. client and server can be in different vlans
   Added probing of dhcpServer to get mac/vlan instead of configuring these values
   Added optional gateway IP for cases where dhcpServer is "behind" external router
Added support in host monitor for trunk vlan configurations
Javadoc fix in Interface.java
Commented out unused log message in HostLocationProvider
Bug fix to make ALL group editing vlan aware.

Change-Id: Ib04ed6c1ef45055f771983db29724cfde24ac54b
2017-03-07 23:38:27 +00:00
Charles Chan
0f43e4714a CORD-908 Remove VLAN MPLS workaround in OVS
* No longer pop VLAN before entering Unicast Routing and MPLS table.
* In MPLS label group, pop vlan first, push MPLS label and push back an arbitrary vlan.
  The vlan will get overwritten in MPLS interface group.
* Deprecate OVS VLAN pipeline since this one will now support both scenario
* Introduce punt table
  - Correctly determine whether vlan should be popped before sending to controller.
  - The pop and punt will not affect deferred group since
    it is done by group instead of apply action
  - Prepare for upcoming trunk port support

Change-Id: I8a28821fdab28647f6871bc8ff2f006f6ac2b763
2017-03-06 23:20:00 +00:00
Charles Chan
f6ec153756 Refactor SR and OFDPA pipeliner
populateRouterMacVlanFilters -> populateVlanMacFilters
hostFwdObjBuilder -> bridgingFwdObjBuilder
getForwardingObjectiveBuilder -> routingFwdObjBuilder
refactor pipeline initialization

Change-Id: I94932cde5155706571085ff41cb4ef63e2a39844
2017-03-06 23:18:05 +00:00
Yi Tseng
78f51f4e4f [CORD-555][CORD-966] Support add/remove multiple buckets for group
Change-Id: I496838e4ba6387c7c43264d3077bc7a760b3b372
2017-03-01 19:55:02 +00:00
Saurav Das
018605fb4e In this commit: CORD-799
Bug fix for host-update to not remove and add the same IP addr
   NPE fix in ofdpa3pipeline
   Removing unused code in ofdpa2pipeline
   Ability to add or revoke port filters for port-updates
   Retry filters retry for a longer time
   Bug fix for suppress ports to not suppress filters
   Filters now sent only by master instance
   Removing the MPLS BOS=0 rules for now until inconsitent hardware behavior is fixed

Change-Id: I8b4ee4af6de263531e0696af86e65f1c502f5f85
2017-02-23 00:25:41 +00:00
Andrea Campanella
e6e2b7672a ONOS-6031 Fixing class loading problem when adding FullMeatersAvailable to corsa-v39 driver
Change-Id: I7c89f8bb85942f4a6e04034be010416752e2924e
2017-02-22 23:59:02 +00:00
Jon Hall
8c7b06ad07 Remove unnessasry semicolons
Change-Id: I8363e54ecaf80ad0a755d997ca1b9bbae2f1fa6e
2017-02-22 23:05:51 +00:00
Hyunsun Moon
4e252f2bef Removed SONA security group table for now
Change-Id: I347274bee9eaf49b48d97b1e6212f8edea94be78
2017-02-22 10:06:16 +00:00
Charles Chan
3bb117017c Fix NPE when treatment is not present in versatile fwd obj
Change-Id: Iea6e97ae02457555817fe51d97d2126be2ef321a
2017-02-21 17:53:58 +00:00
Charles Chan
b750439e6d Add table miss entry for VLAN table
According to OFDPA spec, the VLAN table miss behavior should be
clear_action and goto ACL table

Also improve the log messages

Change-Id: I24842175cf5ca257ae1bc6e17b2fa546a88129d8
2017-02-13 23:08:43 +00:00
Charles Chan
d05f54b9dc Process broadcast mac address in ofdpa-cpqd pipeline
A missing part of gerrit #12663

Change-Id: Ie8e9351d29d53c13417eaf906285045e22bc4d87
2017-02-13 23:07:01 +00:00
Ray Milkey
54a78514d2 Starting snapshot 1.10.0-SNAPSHOT
Change-Id: Icd6983be6a52293fb8a846a02d5e314c2c7aeaf0
2017-02-13 11:13:52 -08:00
Ray Milkey
57b510152e Starting snapshot 1.10-SNAPSHOT
Change-Id: I800d5d9e7f23793f5288457bca449ca382896723
2017-02-13 11:06:55 -08:00
Ray Milkey
de84cdde9a Starting snapshot 1.9.0-SNAPSHOT 2017-02-13 10:54:12 -08:00
Ray Milkey
8588c48114 Tagging 1.9.0-b3 2017-02-13 10:52:31 -08:00
Pier Luigi
3bfe32ced0 [CORD-640] PW clean up.
Changes:
- Re-enable the pop mpls action for PW;
- OFDPA 3.0 has some changes in the pipeline
which don't allow the VLAN pop in the PW termination;

Change-Id: I42b5a3fe4b703d9c9af083768fb6b2decd6f54d7
2017-02-10 18:09:15 +00:00
Pier Ventre
70d53ba510 Implements [CORD-587] and [CORD-588]
Changes:
- Add termination in SR app;
- Add termination in the drivers

Change-Id: Ia9bb31c2c2e20acab8d6bfe27113f7421a8b83da
2017-02-10 18:03:33 +00:00
Pier Ventre
42287df667 Implements [CORD-96] and [CORD-410]
Changes:
- Introduces L2TunnelHandler for managing the pws;
- Supports pws initiation and pws policy for olt<->vsg communication;
- Supports teardown and update;

Change-Id: If51272c91445f618727434606edd2491f93cc4dd
2017-02-10 17:58:03 +00:00
Pier Ventre
140a894b8e [CORD-576] Implements VPWS transport in OFDPA pipelines
Changes:
- Introduces the emulation of the MPLS-ECMP groups for CPQD;
- Adds a couple of check to avoid the creation of MPLS-ECMP for OFDPA;
- Implements the VPWS transport for OFDPA3;
- Implements the VPWS tranposrt for CPQD-OFDPA2;

Change-Id: I8181fceffa35f73f549e3df07fa353642c9d6872
2017-02-10 17:46:03 +00:00
Yi Tseng
3a77b4f8eb Process broadcast mac address in ofdpa pipeline
ofdpa pipeline should ignore broadcast address before it add entry
to bridging table.

Change-Id: Ic92ce0c2bdc38944a9c189e30ccca6544fcec2a9
2017-02-08 18:24:16 -08:00
sangho
c6ae1eb8e8 [ONOS-0951] SONA : bypasses security group table until security group feature is completely refactored.
We will provide the security group feature with high performance very soon.

Change-Id: If2ec5aec169a03d6cff7113e0143f26b6e1b5938
2017-02-09 00:32:29 +00:00
Charles Chan
372b63e0ff Protect L2I group id generation
According to the spec, L2I group id should be <0><12-bit vid><16-bit portnum>

Change-Id: Ib0aab4880bfa7493395d9c633d865fee6e417e79
2017-02-08 01:39:36 +00:00
Pier Luigi
b69b6ccdf7 Fix for [ONOS-5824]
Changes:
- Redesigns DefaultSingleTablePipeline;
- Changes the timeout of test to reduce the false-negatives;

Change-Id: I15fa20fd8a15908e70bc22de7913367b9ef113c7
2017-02-07 18:30:36 +00:00