4295 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
7b7644f702 [ONOS-7117] Support configuring LeaderElector primitive session timeouts for faster leader elections
Change-Id: I81aa71cbb08ee31c145addbf00a6446ff4a5f9ed
2017-10-18 23:08:15 +00:00
Jordan Halterman
f1c602d15c [ONOS-7124] Use atomic role request when removing devices to avoid race conditions
Change-Id: I8f951b068b70b45b77ecbd96c050c6486bcdb908
2017-10-18 22:13:11 +00:00
Yuta HIGUCHI
4fda700be4 Bugfix: DocumentTreeBuilder was not preserving ordering
- fixes ONOS-7106

Change-Id: I246afb3b6053cf5248f545f924f7bf37548efd93
2017-10-18 18:08:25 +00:00
Laszlo Papp
8cd61fb0a8 Support power config ports retrieval
Change-Id: If0535eb713ca76bffdf43891d28e6357402246ac
2017-10-17 20:29:32 +00:00
Jordan Halterman
713830def0 [ONOS-7098] Rebalance masters on upgrade completion event
Change-Id: I03e8590f8df57563a3919365e3b382082439e869
2017-10-14 06:19:17 +00:00
Pier Luigi
09220c20d7 [ONOS-7003] Policer implementation
Changes:
- Introduce trafficcontrol package
- Add policer
- Add policer id
- Add policing resource
- Add token bucket
- Add unit tests

Change-Id: I70065d58d3df7033e67a81943ebf60187c33c3e2
2017-10-13 18:41:09 +00:00
fahadnaeemkhan
ffc917f9c8 ONOS-7080 and ONOS-7070:
- added support for user-defined signal in add-optical-intent CLI
	- implemented LambdaQuery behavior for restCiena driver
	- added port based filtering of paths in OpticalIntentCompiler

Change-Id: Ibb61cc3722d5b3a52859d5585decf82a50ef5be0
2017-10-11 23:22:12 +00:00
Thomas Vachuska
528ea95fa1 Adding option to show no host labels in the GUI.
Change-Id: I80072b14f15e344fa8a55f40a446085c1538337c
2017-10-09 17:02:51 +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
Thomas Vachuska
62ba45f70c Fixed an issue with out-of-order app activation in distributed context.
Change-Id: Ibaad5cec977f69c8ba077634ad9ff6f9a41ae2d7
2017-10-03 16:26:54 +00:00
Carmelo Cascone
9f1594738d Fixed toString of PiInstruction when using groups
Change-Id: I3817914b3a204bf3e9a1ac885cc5505600c1972a
2017-10-03 15:51:34 +00:00
Carmelo Cascone
cb0a49c993 ONOS-7078 Fixed inconsistencies when encoding/decoding P4Runtime msgs
Now P4InfoBrowser permits looking up entities by name only, not alias.
Applications should use names as defined in the P4Info when
creating PI IDs (e.g. PiCounterId). However, to avoid breaking support
with BMv2-based pipeline models, when referring to header fields in
tables, i.e. match fields, application should drop any scope identifier
from field names, e.g. "hdr.ethernet.src_addr" should be referred by
applications as "ethernet.src_addr". Such inconsistency will be fixed
with ONOS-7066.

Change-Id: I4d6dceadd233a293b845dba84e62a49680ac930b
2017-10-03 16:40:27 +02: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
fahadnaeemkhan
7182724e11 ONOS-7043:
- Added FlowRuleProgramable behavior for restCiena driver
	- Added CienaRestDevice which provides cleaner implementation
	  of behaviors

Change-Id: I94ab7afdc5a2cda82cc5d5ed794af512cb80adc6
2017-09-29 21:54:24 +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
Ray Milkey
0c484a7072 Constructor is needed by the serializer
Change-Id: I090c082ded1a7f9f2c9d877866b252939d6283ad
2017-09-28 17:10:33 +00: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
201f04b05c Improve core API coverage with new unit tests
- DefaultMirroringDescription
- MirroringName
- MirroringStatistics
- QosId
- made classes immutable

Change-Id: I1d1bf983b181ca87afc35565c5e614f4c54fe0fc
2017-09-27 16:17:35 +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
Ray Milkey
3f038c421e Use Optional matcher
Change-Id: I55c4b12971b1a10f9248a5d2dce8686bf8d4177c
2017-09-26 11:31:54 -07:00
Ray Milkey
ec253f8c87 Improve coverage for some classes
- DefaultPatchDescription
- BridgeName
- DefaultQosDescription
- AbstractPathService

Change-Id: Ic2fad1d94578555701c1c1d1fc2e9a8cb167de84
2017-09-25 21:29:55 +00:00
Jordan Halterman
85f560db43 Fix blocked thread preventing applications from being downloaded on ApplicationStore startup
Change-Id: I40b80d7d0429d057fd8cda15109a1ae1fe006f74
2017-09-20 23:55:00 +00:00
Yi Tseng
a87b40c468 [ONOS-6964][ONOS-6966] Add pipeconf codec and pipeconf view
Change-Id: Ie60a5451bcc24a27ede655c8230d82998ea4f3be
2017-09-20 22:54:28 +00: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
Yi Tseng
18177a5faf [ONOS-7026] Show table name if the table id of a flow is PiTableId
Change-Id: Icd2f69dad4604b30e7d1ea871f15a2df842af9e0
2017-09-19 11:50:11 +09:00
Carmelo Cascone
770507f808 ONOS-7000 P4 tutorial application and P4 program
Change-Id: Ia0a6befa6374a1950485c1fba0cfacb5ff4ce52c
2017-09-16 14:48:34 +00:00
Pier Luigi
02778b1dbd Add DomainConstraint to kryo namespaces
Change-Id: Ib94283a665a228e266c7e3e0adf1ce1f444174ce
2017-09-15 15:46:39 +00:00
Jordan Halterman
5fba41c8e4 Remove maximum entry limitation on Raft log segments
Change-Id: Id0eb4127157b9f374bb7627c148791fc369901eb
2017-09-15 15:15:30 +00:00
Yuta HIGUCHI
ff9af3e5eb ONOS-7007 fix parent test using wrong path
Change-Id: I666d038e3d2e33686941a99cd04a61496726f5da
2017-09-15 15:14:25 +00:00
Yuta HIGUCHI
30161e7abe null tolerant DocumentPath hasher
- DocumentPath parent can be null

Change-Id: If0daf8f05db47f532e406c9879ff94ce72693791
2017-09-15 15:14:25 +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
Charles Chan
bb86b78a34 Resolve false probing timeout by delaying the proble a little bit
Change-Id: Ib087f72fa742c614e8b6916a9ea0be4ee08ab064
(cherry picked from commit 17a200e0c12fefe03978c2a595905a7e3bf87171)
2017-09-14 03:18:40 +00:00
Charles Chan
8e786b5ed9 Use pair link before the 2nd location of a dual-homed host is not discovered
In addition,
    - Improve host added log message
    - Improve false cache eviction log message

Change-Id: Iece05d4a2ba76a3da4ad736c4e072ced43fecacc
(cherry picked from commit 9ff637e3089ae2160f53eab52e9cec2ec6ef4c46)
2017-09-14 02:56:08 +00:00
Jordan Halterman
e6c80cd290 Set minimum Netty response timeout to 250 milliseconds to account for differences in response times based on consistency in the Raft protocol
Change-Id: I1a9a6e004a1fddb307d3d5ef27b428c233e2062f
2017-09-13 21:57:29 +00:00
Jordan Halterman
f5295f6d11 Handle IllegalDocumentModification and retry purging rules in DistributedFlowRuleStore
Change-Id: I4373656616433194f2b716b0348f13a2b7267271
2017-09-13 21:52:11 +00:00
Jordan Halterman
192012391e Upgrade Atomix dependency version to 2.0.2
Change-Id: I6559beff9cc49768aa07d7e08e84eabd96ecb862
2017-09-13 21:21:36 +00:00
Yuta HIGUCHI
52e047f944 refactor DocumentPath comparator
Change-Id: I7b0a8a741d21aff61581e207bfe34e6ce2070955
2017-09-13 17:28:13 +00:00
Andrea Campanella
1ea151053b [ONOS-6986] Implement getGroups in GroupProgrammable
Change-Id: I9f25bddb6a8baad74e8e74abd44187a9c3f6520a
2017-09-13 16:56:15 +00:00
Andrea Campanella
d7c9336160 Moving clipping of BitRate to 100 Gbps
Change-Id: I9b5dd93ccc0a31614cd48adcf3e227cc498c4f2a
2017-09-13 16:03:44 +02: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
Yuta HIGUCHI
153d3589a5 minor fix in DocumentPath, DCS
Change-Id: I13f332bc3897e7fc047744c36be4f208cf820d4f
2017-09-10 23:00:12 +00:00