2456 Commits

Author SHA1 Message Date
tanbangcheng
c944c2821f Add batch insert/delete queues to QoS for QosConfigBehaviour.
Change-Id: I9331f4ecbc95fc47be313f92aa07413fb2df5ed8
2017-11-14 19:36:00 +00:00
Carmelo Cascone
87892e25d1 ONOS-7066 ONOS-7067 PI abstractions refactoring and P4Info model parser
Includes changes previously reviewed in #15607, #15877, and #15955.

Change-Id: Ie2ff62e415f2099832ebfe05961a879b7b188fc3
2017-11-13 16:15:17 -08:00
Ray Milkey
cc6ec60fb2 Starting snapshot 1.12.0-SNAPSHOT 2017-11-10 16:22:59 -08:00
Ray Milkey
9f9a752bdc Tagging 1.12.0-b2 2017-11-10 16:21:23 -08:00
cansu.toprak
409289de06 Multiple meter support added and meter action added for OF1.5
MeterFeaturesFlag added for OF1.5

Change-Id: I84d2785f37ea51b08244de9c54effe5224af9531
2017-11-06 18:22:59 +00:00
Yuta HIGUCHI
6b2ec28fba improve DocumentTree related doc & log
Change-Id: I85294811d9647ace85e5cd70fbca7fce020e3ee1
2017-11-06 01:30:20 +00:00
Yuta HIGUCHI
796a78d959 Avoid conversion of DocumentPath to String
Change-Id: I7d21cc95fc948118fd42a412fce8cb8e773855f5
2017-11-06 01:30:13 +00:00
Jordan Halterman
07f052bcf3 [ONOS-7088] Distribute storage partitions evenly during upgrades
Change-Id: Id82f86ddedbe6c7de2322717338c5c341177bc9e
2017-11-04 01:27:43 +00:00
Thomas Vachuska
22c555d1fa Correcting basic driver configuration for various HP product families.
Added means to inherit mfg/hwVersion/swVersion properties from the
driver being extended.

Change-Id: I23ef891d1df7f346edc8822cee69e3d772c3171d
2017-11-02 21:17:53 +00:00
Andrea Campanella
e370878546 [ONOS-7116] Implement MeterProgrammable and MeterDriverProvider
Change-Id: I398edda11a6b77b66d79758cf3afab42976e8ff3
2017-11-02 16:52:41 +00:00
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
Yuta HIGUCHI
4bec2f3923 Add Optional version of projecting Behaviour
Change-Id: I3d3411763be1a75a2bdb04fb59c70d9779f1b02a
2017-10-31 22:55:02 +00:00
Carmelo Cascone
d61fdb3b89 Added P4Runtime-based Barefoot Tofino driver
Change-Id: I09ba8dd4468fa5a792ca481921e8a51dad49702e
2017-10-31 05:41:30 +00:00
slowr
0a44fde0fc [ONOS-7093] Add ISSU permissions
Change-Id: I9097019cf4b42d41817daafe3ce9ad8644ccb148
2017-10-23 20:25:04 +00:00
Yuta HIGUCHI
905cc82e4a Use default locale/timezone for GUI formatting.
- fixes regression introduced as part of joda-time deprecation

Change-Id: I336f6dc40f99379349040442511b8718b89b4d7b
2017-10-20 16:55:21 -07: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
7b7644f702 [ONOS-7117] Support configuring LeaderElector primitive session timeouts for faster leader elections
Change-Id: I81aa71cbb08ee31c145addbf00a6446ff4a5f9ed
2017-10-18 23:08:15 +00:00
Laszlo Papp
8cd61fb0a8 Support power config ports retrieval
Change-Id: If0535eb713ca76bffdf43891d28e6357402246ac
2017-10-17 20:29:32 +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
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
Yi Tseng
a87b40c468 [ONOS-6964][ONOS-6966] Add pipeconf codec and pipeconf view
Change-Id: Ie60a5451bcc24a27ede655c8230d82998ea4f3be
2017-09-20 22:54:28 +00:00
Carmelo Cascone
770507f808 ONOS-7000 P4 tutorial application and P4 program
Change-Id: Ia0a6befa6374a1950485c1fba0cfacb5ff4ce52c
2017-09-16 14:48:34 +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
Yuta HIGUCHI
153d3589a5 minor fix in DocumentPath, DCS
Change-Id: I13f332bc3897e7fc047744c36be4f208cf820d4f
2017-09-10 23:00:12 +00:00
Thomas Vachuska
8cd4acf39c Fixing deprecation warning for @Component annotation.
Change-Id: Id61710b0ce3ef22b43fa8f593ea39af8fa3403f6
2017-09-07 10:51:17 -07:00
Thomas Vachuska
08b4decc39 ONOS-6980 Adding support for download of application bits.
Change-Id: I742950690b50038cac0bb2ad2da4eaac5781da85
2017-09-06 17:37:43 +00:00
Andrea Campanella
c86154a8a1 Moving PortStatistcs port number to Long to aling with Port class
Change-Id: I43ab8760dc3bf192cd2f47511819076fbf1070b6
2017-09-01 16:04:40 +00:00
Carmelo Cascone
b045ddce4a Implemented support for P4Runtime counter read
And PortStatisticsDiscovery behaviour for default.p4 that uses it

Change-Id: Iadf40eb322987ef74239120e01acb4bece712aef
2017-09-01 15:11:50 +00:00
Jordan Halterman
9b3a7ce954 Store flows rules asynchronously via master in DistributedFlowRuleStore
Change-Id: I5e41a982204e395d2a1ac05017905069d61dc702
2017-08-31 21:27:36 +00:00