250 Commits

Author SHA1 Message Date
Charles Chan
d9e47c680f Replace L4 dst port matching on QMX switches
Change-Id: I51c299bec8de3851a0f44cd4a8904013134f2da4
2017-10-06 23:29:46 +00:00
Kalhee Kim
3d26bf0e5e [CORD-1984] Multicast flows get into wrong table in hardware switches
Change-Id: I06ec1d75fdef5bfdf28f1cc70f002f70a943ba4f
2017-10-04 15:15:14 +00:00
Ray Milkey
dc48fb2c3b Starting snapshot 1.12.0-SNAPSHOT 2017-09-26 14:42:24 -07:00
Ray Milkey
eb3f6ef786 Tagging 1.12.0-b1 2017-09-26 14:40:44 -07:00
dvaddire
8e6b89af58 ONOS-6985 - Fix for NPE at Oltpipeline
Change-Id: I6a7afa36e49ff7c4c3e0e8bc9fa0c1e974cbe5e6
2017-09-06 15:49:01 +00:00
Julia Ferguson
65428c39e6 CORD-1622 CORD-1624 Add IPv6 mutlicast in McastHandler and OFDPA2.0 Drivers
Change-Id: Ibbb402b62999b39f8aea2cd236b959fc61fb94ac
2017-09-06 02:43:02 +00:00
Lewis Kang
6568741cac support both ofdpa 3.0 and ofdpa premium for Accton's platforms
Change-Id: Ibe03cdce9eb4e11a71f387b6f310a0c5f8a0c833
Signed-off-by: Lewis Kang <kang@accton.com>
2017-09-06 02:42:20 +00:00
Charles Chan
0ed16712a9 Remove pipeline limitations to OFDPA 3 QMX driver
These features should be supported in OFDPA 3.0 EA5

Change-Id: I4cc720d102dd694b47f2dbd6cb78e3b242af9945
2017-09-05 18:02:43 -07:00
Saurav Das
9df5b7c1f7 CORD-1583 More bug fixes in dual-ToR scenarios
- reentrant lock was not being used correctly
 - fixHashGroup in group handler was not updating global store correctly
 - linkUp was not being noted in seenLinks if configuration came after switches connected
 - serialization error in global objective store due to missing kryo for Sets
 - damaged routepath computation was not taking pair-devs into account
 - switch failures were leading to improper ecmpSpg graph updates, and missed hash-group changes
 - implemented more next-objective verification as group sub-system can go out-of-sync with objective-store

Change-Id: If3cfdd715e9b69820894b49def31f75ceb748863
2017-08-31 21:18:13 +00:00
Yuta HIGUCHI
71ee08f0d5 sync artifactId with buck artifact
- onos-drivers-default

Change-Id: I06be6891960eb809b78c35ae33cd962154d9295f
2017-08-28 14:38:27 -07:00
Frank Wang
d8ab0961cc Fixs some misspellings
Change-Id: I03d23d8acca8789b430f74fdac80d287f0fa59df
2017-08-25 16:34:57 +08:00
Thomas Vachuska
b002968a83 Cleaning up application titles, descriptions and categories.
Change-Id: I80f9770697cbf29b6bde2b20778c341b0f403d9f
2017-08-24 10:19:33 -07:00
Yi Tseng
809b5d71fe [ONOS-6933] Support packet request for different device scheme
Change-Id: If9658838c35b4d425f414c6d5c275c364e15e1a6
2017-08-23 23:13:04 +00:00
Ray Milkey
446f446a4f Refactor buck external dependencies
Change-Id: Ia4b99493407eb7d4e893804cba6b944f758f085e
2017-08-21 17:41:36 +00:00
Ray Milkey
aa279c014e Starting snapshot 1.12.0-SNAPSHOT
Change-Id: I92269af3b1103fc6622614a77681bd841438d050
2017-08-16 13:27:00 -07:00
Jonghwan Hyun
360b02f24c [CORD-1675]Bug fix and encode, decode implementation for Ofdpa3 extensions
Change-Id: Idbace6d58fdcff5573b250319f02fe31d09b8467
2017-08-16 19:05:31 +00:00
fra
b0bf056fea Disable CentecV350 demo-specific driver
Change-Id: I42c30764e400703f23a4076b06f1fead96f9c1cd
2017-08-16 00:26:59 +00:00
Ray Milkey
5082e9daa5 Cosmetic fixes to debug statements
Change-Id: I5ae5d1c6cc3b29ccc8f809a7a16e480ae5f0f0f3
2017-08-15 21:53:59 +00:00
sangho
5967e5ceb1 [SONA] Remove OpenstackPipeline.
- OpenstackNetworking app constructs its multi-table pipeline at the application layer now.

Change-Id: Icc0578c42c770339e0e32130b2af0e95404e9ccb
2017-08-15 21:15:23 +00:00
Saurav Das
ceccf24adc CORD-1583 Bug fixes for dual ToRs
Two things:
  - In dual (paired) ToR scenarios it is possible to have the same outport
    in multiple buckets in a hash group, as long as they have different labels.
    When adding buckets this was taken into account. But when removing buckets,
    only outport was being checked. This bug fix ensures that labels are checked
    as well when removing buckets.
  - In dual ToR scenarios, getting the right set of hash buckets proved difficult
    with existing 'retryHash' mechanism. Repealed and replaced with a bucket corrector
    mechanism that periodically corrects the hash group buckets when the topology
    has been stable for the last 10 secs. Required the introduction of a VERIFY
    operation in Next Objectives. Also added a cli command to trigger this
    operation manually.

Change-Id: Ib0d2734060fadc6e7a4bd0d75f3409e194413a97
2017-08-15 20:25:47 +00:00
HelloONOS
af3b428d61 [ONOS-6765] Juniper pipelines should filter the clear deferred action
Change-Id: I971ae22298ca635b052ce78fd2cc4f62ea4949f0
2017-08-15 18:26:25 +00:00
Ray Milkey
d4ac0edb2f Starting snapshot 1.11.0-SNAPSHOT 2017-08-11 17:04:16 -07:00
Ray Milkey
6ecde1ff86 Tagging 1.11.0-b4 2017-08-11 17:02:33 -07:00
Sivachidambaram Subramanian
a0efdcc803 ONOS-6516 - Fix for NullPointer Exceptions found during OFDPA testing
Change-Id: I2fa20194ab6e47334c4a882ddf929597259946f8
2017-08-09 21:27:13 +00:00
Saurav Das
7bcbe7038c CORD-1419 CORD-1425 CORD-1496 CORD-639 Changes for dual-ToRs
Introduces the concept of edge-pairs (or paired-ToRs) which
can have some subnets/prefixes reachable by both ToRs.
   - Each ToR can also have prefixes reachable only by itself,
     even though it is part of an edge-pair.
   - The paired link between ToRs in an edge-pair is ignored
     for ECMP calculations.
   - Required a change in how destinations and next-hops are stored.
     The neighborSet is now a destinationSet, and no longer carries
     next-hop info, which is now stored in NextNeighbors. As a result,
     the DestinationSetNextObjectiveStoreKey and ECMP group id do not
     change as next-hops come and go.
   - It is now possible to have buckets in hash groups with the same
     outport but different labels.
   - DefaultRoutingHandler has been rearraged to be more readable, and
     clearly highlight the three major ways that routing changes can
     happen in the network.

Also fixes the case where config is added after switches connect to the controller.

Change-Id: I7ce93ab201f6ef2c01cbe07a51ee78cd6a0a112e
2017-08-04 13:49:40 -07:00
Brian O'Connor
a09fe5b0b7 Updating Copyright line to Open Networking Foundation
Change-Id: Icba96d7f39a065b53f34a6aeb71afd1f7d51f774
2017-08-03 21:12:30 -07:00
Charles Chan
a59f9b76c8 Introduce driver property to suppress meter feature
Piggybacked in this commit:
- Fix CLI output of driver properties
- Fix mfr matching pattern in onos-drivers.xml
- Add driver support for Accton OFDPA 3

Change-Id: Ia350bd52f4e88e53565ff491d68bce5e4894bbb9
2017-08-03 11:29:40 -07:00
Ray Milkey
64677e99d9 Starting snapshot 1.11.0-SNAPSHOT 2017-08-01 10:48:08 -07:00
Ray Milkey
17463db855 Tagging 1.11.0-b3 2017-08-01 10:46:24 -07:00
Charles Chan
d3072dc737 CORD-1625 Mark CpqD drivers as deprecated
Change-Id: I0137c390e1a623f206d495083834bea5003bc41b
2017-08-01 02:32:31 +00:00
Ray Milkey
64313cbc83 Starting snapshot 1.11.0-SNAPSHOT 2017-07-20 15:46:52 -07:00
Ray Milkey
7e28519e5f Tagging 1.11.0-b2 2017-07-20 15:45:28 -07:00
Andrea Campanella
2cfe8ef782 Moving Extensions codecs to net/flow to avoid circular dependencies
Change-Id: I93dc5580ff46f57afe93dd4d1f0217359d5c89c2
2017-07-13 20:23:03 +00:00
sangho
1ef0e54a6e [SONA] Fixes the OpenStack pipeline bug of inserting table miss entry in table 1
Change-Id: I7e246b42810c1c08edc65c10b5b27bb5a31c60a5
2017-06-29 23:43:11 +00:00
Ray Milkey
f14cc6d3c2 Fix SNAPSHOT version string
Change-Id: I090c1998e5a117c10263b7a6abbffc624beb4074
2017-06-28 16:36:27 +00:00
Sivachidambaram Subramanian
c598d061f5 ONOS-6489 - Code submitted to facilitate installation of flow rules (via FlowObjective and ofdpa drivers) per port in case of IN_PORT "ALL"
Change-Id: I5fd001220c16cabb3a853f1fd8297f9e0a7decab
2017-06-27 20:55:38 +00:00
Ray Milkey
7463193198 Starting snapshot 1.11-SNAPSHOT 2017-06-23 16:46:27 -07:00
Yi Tseng
e935a644a4 [ONOS-6475] Supports BROADCAST by DefaultSingleTablePipeline
Change-Id: I66c9f9961763b057005bdf6f7a3b6fde1b5970cd
2017-06-21 19:29:57 +00:00
Saurav Das
c88d46642c CORD-1304 Set of changes for fabric routing to optimize use of ECMP groups
Also removing some old demo code in the SR app
Adding a couple of CLI commands for debugging
Bug fix in the DistributedGroupStore for group_exists error message
Bug fixes for ofdpa driver:
    - synchronized update of flowObjectiveStore when buckets are added to or removed from groups
      to avoid one thread from overwriting an update from another thread doing an update at the same time
    - addBucketToL2FloodGroup now updates flowObjectiveStore after accounting for changes
    - addBucketToHashGroup accounts for all added buckets, not just the first one

Change-Id: I6207c1c3c1b4379986805d73a73bc460fea8fe3f
2017-06-13 04:22:10 +00:00
Yuta HIGUCHI
6ee6b8ccd2 netty4 OpenFlow southbound
- separate I/O thread and message dispatch threads

Change-Id: I11a10a47de451a9e3063b62f9450be19c3a9dae7
2017-06-12 20:28:12 +00:00
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