1734 Commits

Author SHA1 Message Date
Andrea Campanella
f9c409a3d8 [ONOS-6556] Distributed Implementation of PiPipeconfService
Change-Id: I7196ce6eee333e732c0cd5015d4d8d32ee069e27
2017-11-01 23:39:55 +00:00
Pier Luigi
f094c61341 [ONOS-7114] Meter Subsystem Refactoring
Changes:
- Moves meter counters in the store
- Uses atomic counter map for meter counters
- Implements atomic counter map adapter and test atomic counter map
- Introduces free meter id
- Changes allocate meter id
- Implements unit tests for MeterManager and MeterStore

Change-Id: I45e3debc0e43ca7edcf6e3b4065866634f76f9f7
2017-11-01 19:53:00 +00:00
Jordan Halterman
61aeb35677 Add upgrade event listener to UpgradeService on initialization of MastershipManager
Change-Id: Ic1d419d1c5908bddee633897391fa6ef11c525b3
2017-11-01 18:19:36 +00:00
Jordan Halterman
59afc6ad14 [ONOS-7176] Add DriverService dependency to GroupManager to ensure drivers are available when initial device events are received
Change-Id: Ibcc1c694ab95b68d607a76112f8f87d534e7f712
2017-10-31 23:04:29 +00:00
Deepa Vaddireddy
2740a1119b ONOS-7146
InterfaceManager fails to load interfaces from storage after ONOS 
is restarted

Change-Id: If499fa14c16e4fa511cd823306aceb3e0b10e5f3
2017-10-31 23:00:40 +00:00
Carmelo Cascone
ca94bcf5ea ONOS-7058 Refactored default pipeconfs in new pipelines directory
- Minimal refactoring of P4 programs
- Removed symlinks to BMv2 JSON/P4Info
- Bumped p4c commit (which fixes known parser bug)
- Renamed "default" pipeconf to "basic" (ONOS-6818)

Change-Id: I319f8b142ab22dba9b15457e28cd62d17f78a423
2017-10-30 16:53:37 +00:00
slowr
c4e87da2c7 Membership Service fix on getMembers function
Change-Id: Ib175f0a7ffffca913ef337464bb313bc4b563fd6
2017-10-28 00:28:26 +00:00
Yi Tseng
c29d882265 [ONOS-7161] Flows stuck on pending_add after bring the link down
Change-Id: I8281b7cf9348056687ab9e30416170739d22953e
2017-10-27 23:22:47 +00:00
Jordan Halterman
9ada34a76d Catch exception when attempting to fetch metadata at startup
Change-Id: I88be96ad4b9ee205f2ca653bfc09f04b636caf93
2017-10-24 23:25:44 +00:00
Ray Milkey
ebdd4850e5 Move meter manager implementation out of incubator
Change-Id: Ide0905c55e0584361fe37c3c5e16c697533eb9f9
2017-10-23 22:05:06 +00:00
slowr
0a44fde0fc [ONOS-7093] Add ISSU permissions
Change-Id: I9097019cf4b42d41817daafe3ce9ad8644ccb148
2017-10-23 20:25:04 +00:00
dvaddire
49add8089d ONOS-6937
Cluster metadata file is not read even after correcting invalid data

Change-Id: I92095be8c9fc7e52689d6022bd93f78539c059fc
2017-10-20 20:28:48 +00:00
Yuta HIGUCHI
0c47d5386e Deprecate joda-time
- ref:
  http://blog.joda.org/2014/11/converting-from-joda-time-to-javatime.html

Change-Id: I1115e8053f601e78cb933ccbfa664ff8787d2da1
2017-10-20 09:40:05 +00:00
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