1521 Commits

Author SHA1 Message Date
Jordan Halterman
28183eea1d Replace Unified* services with MembershipService for subgroup membership
Change-Id: Iabff173ce3501d1ed300513cac445bb712614bd9
2017-10-19 23:45:32 +00:00
Cem Türker
3baff6785f ONOS-7077 Openflow 1.5 OXS and stat trigger support
Change-Id: I006bcd3d8eac451a780c7e5c69a12298ead14281
2017-10-19 00:09:28 +00:00
Jordan Halterman
5ca0793506 [ONOS-7086] Detect failures in upgraded nodes and roll back upgrades
Change-Id: Ie804b5cd8cae0a1f0bbbe233dc34ae819c41673c
2017-10-18 23:08:49 +00:00
Jordan Halterman
713830def0 [ONOS-7098] Rebalance masters on upgrade completion event
Change-Id: I03e8590f8df57563a3919365e3b382082439e869
2017-10-14 06:19:17 +00:00
Jordan Halterman
980a8c1566 [ONOS-7054] Implement prototype of ISSU protocol
Change-Id: Id543c0de9c97b68f977c824cbc987b35d81beb2d
2017-10-06 21:14:56 +00:00
Thomas Vachuska
4267681176 Changing PacketManager topology event processing logic to avoid
processing irrelevant events.

Change-Id: I82fdd5d492dfd1e04cd05564053c3ab05f0d10fb
2017-10-03 23:49:18 +00:00
Ray Milkey
f0c47617e8 Remove deprecated deserialize() mthods from packet classes
Change-Id: I4e52ab368390d30f5f5f24d443a5021916d0c6a3
2017-10-03 18:03:33 +00:00
jaegonkim
a9ff68bb8d [ONOS-6944] Restarted dispatch loop become stopped when event sink exceeded execution time limit in CoreEventDispatcher
Change-Id: I85d12b0472f4349124d1e2afead59becce52c976
2017-10-03 16:41:10 +00:00
Carmelo Cascone
87b9b398fa Various improvements to PI group handling
- Moved group translation logic to core service
- Removed dependency on KRYO
- Fixed bug where tratments with PI instructions where not supported if
	an interpreter was present
- Fixed bug where action profile name was not found during protobuf
	encoding (always perform P4Info lookup by name and alias)
- Improved reading of members by issuing one big request for all
	groups

Change-Id: Ifcf8380b09293e70be15cf4999bd2845caf5d01e
2017-10-03 12:41:46 +00:00
Ray Milkey
7bf273cecf Move deprecated flow batch APIs to a less obvious place
Change-Id: I8078aadbafad1e5a339d74859bed94e25c9c6e8c
2017-09-28 10:35:20 -07:00
Yi Tseng
82512da397 [ONOS-6935] ActionProfile supports in P4RuntimeClient
Change-Id: I9f0ac307985c03b7ed93e14e41ba468c481a4e4f
2017-09-28 01:45:23 +08:00
Ray Milkey
47c954141d Refactor construction of application objects
- Use a builder and make the constructors private for DefaultApplication
- Make DefaultApplication immutable
- Use a builder and make the constructors private for DefaultApplicationDescription
- Make DefaultApplicationDescription immutable

Change-Id: I9499981bd2c0f48aede40682260d51eeae2cab98
2017-09-27 17:23:10 +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
Jordan Halterman
da2683786f Catch, log, and retry on IOException for HTTP cluster metadata URLs
Change-Id: Id43c41c4d2f6f9b29012db308db301bca0b99668
2017-09-19 22:08:45 +00:00
Charles Chan
d0c147aaf7 Allow host provider to remove a learnt host provided by others
Before, a host provider is allowed to remove
O learnt hosts provided by itself
O configured hosts provided by itself
X learnt hosts provided by other
X configured hosts provided by other

After, a host provider is allowed to remove
O learnt hosts provided by itself
O configured hosts provided by itself
O learnt hosts provided by other
X configured hosts provided by other

Also, fix tests in HostManagerTest

Change-Id: Ibce4567017a74cdec1dd77bd82de5b9de2559b5f
2017-09-15 01:34:44 +00:00
Andrea Campanella
1ea151053b [ONOS-6986] Implement getGroups in GroupProgrammable
Change-Id: I9f25bddb6a8baad74e8e74abd44187a9c3f6520a
2017-09-13 16:56:15 +00:00
Carmelo Cascone
7f75be413e ONOS-7001 Support for direct counters
Currently Bmv2 returns UNKNOWN error when reading direct counters.

Change-Id: I834d7b5a8627181c6888500545e1bdbfe9af8dc1
2017-09-13 08:28:38 +00:00
Charles Chan
82fac583c8 CORD-1888 Use DAD to probe if interface MAC is not configured
Change-Id: I67bfdbc355e331903b4b7310e4fa9a79f962aa5c
2017-09-12 23:12:57 +00:00
Thomas Vachuska
08b4decc39 ONOS-6980 Adding support for download of application bits.
Change-Id: I742950690b50038cac0bb2ad2da4eaac5781da85
2017-09-06 17:37:43 +00:00
Carmelo Cascone
eb01812052 Updated P4_16 sample programs to reflect HW testbed
Change-Id: I9d76c9bc7632760cd9af1a3a431856291903eaf9
2017-09-06 16:27:06 +00:00
Jordan Halterman
46c7690439 Allow HTTP metadata URLs to return 404 until available
- Use exponential backoff to wait for HTTP URLs

Change-Id: Iefae1bdbaa4179974d356c27a223c0ab09803c4e
2017-08-31 15:38:15 -07:00
Carmelo Cascone
a62ac3da2a Reusable implementation of default P4 interpreter
That can be shared among many targets running a program equivalent to
default.p4.

Change-Id: Ic13fc4e416f4ad77f71fbd3202277aac9088b3b1
2017-08-31 18:23:24 +00:00
Thomas Vachuska
cfeff19117 Adding means to invalidate the pipeliner cache of FlowObjectiveManager.
This will be triggered by:
 - changes in the driver configuration
 - changes in the driver name configured for the device

Change-Id: I9896960cdb4ed988db2cced8ae0e24e53ffb01fb
2017-08-24 18:27:43 +00:00
Thomas Vachuska
e6a5741ce5 Enhancing driver subsystem to support asynchronous event notifications.
Change-Id: I6850aae4f660b8328378da98460529eb58531732
2017-08-24 16:54:26 +00:00
Carmelo Cascone
b10194cd64 Fixed fit method of ImmutableByteSequence
Also added unit tests.

Change-Id: I9ce7ef25ae25afb35b3315d38aeca4c19c55882c
2017-08-24 11:19:52 +00:00
Yi Tseng
809b5d71fe [ONOS-6933] Support packet request for different device scheme
Change-Id: If9658838c35b4d425f414c6d5c275c364e15e1a6
2017-08-23 23:13:04 +00:00
Carmelo Cascone
a3d811c23d Fixed priority mapping in PiFlowRuleTranslotor
Change-Id: Ib68a133eec46a65b7a8f035c607b158116ac0a4a
2017-08-22 17:15:08 +00:00
Ray Milkey
446f446a4f Refactor buck external dependencies
Change-Id: Ia4b99493407eb7d4e893804cba6b944f758f085e
2017-08-21 17:41:36 +00:00
Yi Tseng
088f4ce0f8 [ONOS-6916] Fix bmv2 flow programmable and PiCriterionTranslator
ONOS can't add flows to the bmv2 switch

Change-Id: I66ec90d0e1ed097afeffd0498e65c239b628efa4
2017-08-20 23:14:10 +00:00
Ray Milkey
aa279c014e Starting snapshot 1.12.0-SNAPSHOT
Change-Id: I92269af3b1103fc6622614a77681bd841438d050
2017-08-16 13:27:00 -07:00
Ray Milkey
6c013740c9 Move interface config classes out of incubator to core net
Change-Id: I4cbc384e9bbfda00850b98541e63c4dd70f3627b
2017-08-15 22:07:54 +00:00
ke han
31dd5b4362 bug fix : if register same config factory twice (igmp and olt app will do that), and remove one, will make another factory unavailable. add a referance counter to fix it
Change-Id: I00a98f228791138fa13705bd3547a1340f4772d8
2017-08-15 21:08:05 +00:00
Charles Chan
35a323233b CORD-1416 Implement multi-homing probing in HostLocationProvider
Also include following refactoring
    - Refactor the way we generate ARP probe
    - Remove some unused code

Change-Id: I96b1c47bd5731b7b38ef4d19a941d231b5d0054c
2017-08-15 17:08:47 +00:00
Charles Chan
ee993b1188 Directly use config provided by the event to prevent race condition
Change-Id: I1732b5a1095cdd04fbe1be0619e19cefac07a118
2017-08-15 16:51:18 +00:00
Yuta HIGUCHI
09ae368c08 Maven test related fixes
- Workaround for usage of symlink in P4 code.
  Should probably avoid using symlink and load as resource
  for benefit of buck also
  https://buckbuild.com/concept/buckconfig.html#project.allow_symlinks

- Netconf Active client test dependency fix

- NetconfControllerImpl has mutable static variable,
  clean up after tests which potentiallu touches them

Change-Id: If7a70357a04ccc7e36377301de080385190d2776
2017-08-15 16:00:35 +00:00
Sivachidambaram Subramanian
605104e536 ONOS-6084 Statistics were absent for the flows posted when device master was null. The issue is fixed with this code change
Change-Id: I15be1c65955e9ede797fa3438f70426db0c078a6
2017-08-14 21:32:38 +00:00
Tian Jian
379647649f ONOS-6864 Fix a DispatchLoop restart bug.
Change-Id: I7d789400daa51aad805565f65e9f2aa37a5cb9b3
2017-08-14 17:56:36 +00:00
Pier Luigi
0b4222e4b0 [ONOS-6865] enforcing same label and [ONOS-6895] minimize label swapping
- Re design label allocator to allow several opt. behavior
- Implements NO Swap algorithm in label allocator
- Implements MIN Swap algorithm in label allocator
- Improve unit tests

Change-Id: I39eb8570cb83734b9c2b106f9c48bf50a4e69499
2017-08-14 05:39:07 +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
Jon Hall
274cecbb09 Clarify and add more details to some log messages
Change-Id: I3b9df11748e41e857ed0bc3e166d1434743902de
2017-08-11 11:38:46 -07:00
Yuta HIGUCHI
1d4b3aa8c1 Bugfix: do not assume all Config is about DeviceId
- fix for ONOS-6900

Change-Id: I5d69a252900fefaab4512433b849d5c4333d37f8
2017-08-09 22:58:09 +00: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
Jordan Halterman
f73b18c0ec Fix Javadoc warning due to incorrect package.
Change-Id: I626c8b81b20cdbbe1b8f292db9c21b32aacc24e8
2017-08-09 21:07:25 +00:00
Ray Milkey
a9ae0d41f1 ONOS-6889 Move mcast from incubator to core
Change-Id: Icfc7294e7017b640321dd9343778cd11c2cd0cb8
2017-08-09 15:15:32 +00:00
Ray Milkey
b65d7844e2 ONOS-6887 Move neighbour classes from incubator to core
Change-Id: I5fa70253b833838566a3527d8938e04be4274210
2017-08-06 19:46:25 -07:00
Ray Milkey
facf286f9c ONOS-6886 Move interface classes from incubator to core
Change-Id: Iaae4d98279e4b77fc3f0b5a63d547921f93aeb46
2017-08-06 16:38:19 -07:00
Jonghwan Hyun
6ecf56d21c [CORD-1634] Support enable/disable ports on STANDBY nodes.
Change-Id: I6e519acad1f0a425126961c6e88bd64c90574939
2017-08-04 12:57:56 -07:00
Brian O'Connor
a09fe5b0b7 Updating Copyright line to Open Networking Foundation
Change-Id: Icba96d7f39a065b53f34a6aeb71afd1f7d51f774
2017-08-03 21:12:30 -07:00