191 Commits

Author SHA1 Message Date
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
Pier Luigi
0e35863305 Various fixes:
- Adds the support for the filter obj of AppConfigHandler;
- Fixes NPE on ICMP handler when rcving a packet from not configured ntw;

Change-Id: I44b90420429ca05927426bdf9a9ce4b78846b566
2017-02-03 00:59:51 +00:00
Charles Chan
c03782de67 Bugfix: OfdpaSetVlanVid is not disabled properly
Change-Id: Ic831a4b8ee15d444c99695de5c73711c8ee95447
2017-01-31 22:51:27 +00:00
Pier Luigi
69fd431247 Enabling default route
Change-Id: I908a55c72bda2d67d81bb7f9bffd9e70dec5b6cc
2017-01-30 21:58:03 +00:00
Charles Chan
40132b3615 [CORD-801] OFDPA pipeline for OpenvSwitch
Drops TTL_IN, TTL_OUT and MPLS_BOS instructions which are not supported by OpenvSwitch.
This will allow us to run OFDPA pipeline with OpenvSwitch >= 2.6.0

Change-Id: Icfa6f2fdaa857877a57ae4c719354483b24c5816
2017-01-26 18:34:43 +00:00
Jonathan Hart
4967fc6763 Fix for Softrouter pushing bogus flows.
Also remove the IPv4 ethtype that it inserts that wasn't in the original
filtering objective. This should let it work with IPv4 & IPv6.

Change-Id: I0813c209b816d8ea6ee3954cc40cbe7b9405cc41
2017-01-25 18:46:28 +00:00
Vinayak Tejankar
3a409c6d22 IPv6 support for vRouter
Changes:
- Adds support to CPRM;
- Updates DHM;
- Fixes SingleSwitchFibInstaller;
- Updates the driver;
- IPv6 unit tests;

Change-Id: I0d9a143fbf5ee8d77ffe3ed3e180fede200d3cdd
2017-01-24 23:01:35 +00:00
Jordi Ortiz
67546fbe50 [ONOS-5310] FullMetersAvailable
For cases in which MeterFeatures are not available but device supports Meters

Change-Id: Ie10ca85643ea35a43df1f76d92cd3931a15b32c8
2017-01-24 13:32:27 -08:00
Pier Ventre
e0ae7a3179 [CORD-630] IPv6 filtering rules
Changes:
- Udpates TMAC table in order to handle IPv6 protocol;
- Updates ACL table in order to handle ICMPv6 traffic and traffic for the router;
- Udpates UNICAST table in order to handle the traffic towards the other routers;
- Updates the router ip in the netcfg in order to handle IPv6 address;
- Substitutes IpAddress and IpPrefix in many parts;
- Updates cpqd and ofdpa drivers to handle the above cases;
- Fixes the interaction with NRM when neighbordiscovery is activated;
- Introduces the IPv6 loopback and IPv6 node sid;

Change-Id: I0a3003be6f2f4b581cabe224c47a0cfbf51e8f9c
2017-01-20 16:55:54 +00:00
Ray Milkey
287b4ae810 Starting snapshot 1.9.0-SNAPSHOT 2017-01-19 15:21:17 -08:00
Ray Milkey
2557ba3375 Tagging 1.9.0-b1b 2017-01-19 15:20:17 -08:00
Yuta HIGUCHI
a36f10b03a Remove executable bit from source files, etc.
Change-Id: Ic1a1d9390ca6790f0644504e3bf2569faac1fa11
2017-01-19 18:28:43 +00:00
Charles Chan
2df0e8af5a Use new PacketService to request ARP with duplication
Change-Id: Id005772b0a69629ad3fb532d16a398d170234d88
2017-01-11 22:23:19 +00:00
Charles Chan
a5bb4a1057 Change default OFDPA driver to ofdpa3
Change-Id: Iefdcbf3e4698cdc2e1da1c9008986afeeaa13ad6
(cherry picked from commit 936281713972b10c5dda56d5b093e5b17fe87a6f)
2017-01-09 22:24:22 +00:00
Saurav Das
9c70534412 Driver fix for OF-DPA 3.0 EA3. With this change both EA0 and EA3 are compatible
with the ofdpa3 driver. EA3 is available with fix for CORD-80.

Change-Id: Ie92d5bdec666bd702b17251cf7d0273d4cd08e5b
2017-01-06 22:18:15 +00:00
Amit Ghosh
cbaf86763f Added changes to OltPipeline to create filtering flows for DHCP packets
Change-Id: I5287f05d2a51de82ff4ac89bdb017dfd856b237f
2017-01-04 21:10:08 +00:00
sangho
fb3b501049 [ONOS-5176] Refactoring: improves SONA pipeline and OpenstackRoutingManager
Change-Id: I6e582fff781c2e69fb6ef4b34d8e41767202fc20
2017-01-03 23:03:29 +00:00
ke han
b1fbddbdb3 for our olt device's implement, the eapol flowrule priority should higher than the unicast flow
Change-Id: I9553331bdb7e1d85e1aea063f7c83d62c297398c
2016-12-22 19:47:58 +00:00
Saurav Das
d2fded0301 CORD-637 Fixing intermittent filtering objective failures by repeatedly trying
till results are consistent. Also fixed some typos and made some logs clearer.

Change-Id: If829b02ac6dc2f8ada455b5290c718d29a6d7988
2016-12-06 17:20:18 +00:00
Ray Milkey
72bcefefce Starting snapshot 1.9.0-SNAPSHOT
Change-Id: Iae30168353c72c4e2d5e395298ceca5dd7554984
2016-12-02 16:22:53 -08:00