2288 Commits

Author SHA1 Message Date
Pier Luigi
256d92ba2c [ONOS-7208] Improves policer with rate type
Change-Id: Idf20fce19bfc071193f55609d3bb7297d2dee479
2018-01-05 23:13:23 +00:00
Pier Luigi
bdcd967260 Implements policer-meter-mapping [ONOS-5867]
Changes
- Adds Policer config behavior and its implementation
- Implements id mapping
- Adds tests for OpenFlowPolicerConfig
- Adds free id api to MeterService and MeterStore
- Improves test for MeterStore

Change-Id: Ibb47375430e253131d9d9c8a60e61023ee6c8225
2018-01-05 23:12:28 +00:00
Jordan Halterman
464145dcc5 Increase default primitive operation timeout to 15 seconds
Change-Id: Ib2662d0af1a7d50fc93c9b9111d78e21f5a2e1aa
2017-12-21 01:32:09 +00:00
Charles Chan
479337514b Dual-homing probing improvements
(1) Active probing mechanism in the following two scenarios
    (1-1) Probe all ports on the pair device within the same vlan (excluding the pair port) when the 1st location of a host is learnt
    (1-2) Probe again when a device/port goes down and comes up again
    * Introduce HostLocationProvingService
        - DISCOVER mode: discover potential new locations
        - VERIFY mode: verify old locations
    * Can be enabled/disabled via component config
    * Improve HostHandlerTest to test the probing behavior

(2) Fix an issue that redirection flow doesn't get installed after device re-connects

(3) Temporarily fix a race condition in HostHandler by adding a little bit delay

Change-Id: I33d3fe94a6ca491a88b8e06f65bef11447ead0bf
2017-12-19 16:25:59 -08:00
Mehmed Mustafa
3e269df520 Initial P4Runtime unit tests
Change-Id: I167fdd005f20ac8df00dd6e252f928896a4809c4
2017-12-17 10:59:23 -08:00
Ray Milkey
3004c7d2d1 Improve flow objectives data objects code coverage
- enhance some APIs to return the right type of builder to enhance fluent interface
- override the copy() methods to return the proper types so it can be used in a fluent manner
- enhance unit tests to improve coverage on objective types
- add unit tests for objective context

Change-Id: I6beb7027fe5eb9929a8a4fea147444d9930c10ac
2017-12-14 22:02:31 +00:00
Andrea Campanella
8bcd5863ff [ONOS-7311] and [ONOS-7197] Update ONOS to support most recent version of BMv2 and PI
Change-Id: Ie69cfe1946f3c9241dc7f59a64bd40005a063931
2017-12-12 14:03:36 -08:00
ONOS Jenkins User
61881df1ee Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 21:19:45 +00:00
ONOS Jenkins User
d22dccc27f Tagging 1.13.0-b7 2017-12-12 21:18:01 +00:00
ONOS Jenkins User
4bf9e3a520 Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 18:46:22 +00:00
ONOS Jenkins User
168ac92b8d Tagging 1.13.0-b6 2017-12-12 18:44:15 +00:00
ONOS Jenkins User
0e78e27f0c Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 03:27:00 +00:00
ONOS Jenkins User
2a7d833cab Tagging 1.13.0-b5 2017-12-12 03:25:23 +00:00
ONOS Jenkins User
c53a15f933 Starting snapshot 1.13.0-SNAPSHOT 2017-12-11 20:43:30 +00:00
ONOS Jenkins User
d06da9e33c Tagging 1.13.0-b3 2017-12-11 20:41:44 +00:00
ONOS Jenkins User
716484c58c Starting snapshot 1.13.0-SNAPSHOT 2017-12-09 03:41:19 +00:00
ONOS Jenkins User
6a6ac1d5a0 Tagging 1.13.0-b1 2017-12-09 03:39:39 +00:00
ONOS Jenkins User
a57a814230 Starting snapshot 1.13.0-SNAPSHOT 2017-12-09 00:57:30 +00:00
ONOS Jenkins User
8977cedde7 Tagging 1.13.0-b0 2017-12-09 00:55:39 +00:00
Yuta HIGUCHI
47d96095cf Step toward transactional API support on DocTree
for ONOS-7237

Change-Id: I021b20c8aac97f96c2ab0e8bc763aa821dc09643
2017-12-08 17:57:26 +00:00
Carmelo Cascone
e75b794aa4 ONOS-7050 Refactored P4Runtime GP to use distributed stores
Change-Id: I155bd0d848bfad2a198d220fcb35ab2ad2daa56a
2017-11-30 09:43:35 -08:00
Carmelo Cascone
326ad2dd29 ONOS-7050 Refactored PI translation service and store
The translation store is now able to maintain mappings between
translated entities and specific instances of a PI entry in the network
(i.e. applied to a device).

The translation service has been refactored to allow users to
learn and forget translated entities.

The refactoring of the P4Runtime driver using this service will be
submitted separatelly.

Change-Id: Iaafd87d90232514853ca0dea0115dbae4f6e7886
2017-11-30 09:40:40 -08:00
mskala
c584bd9278 [ONOS-7269] Additional annotation about OpenFlow port status
Change-Id: I9a1b3cede47316c372322af68dc652d4f372f9fb
2017-11-29 17:35:26 +00:00
Palash Kala
a06a61694c ONOS-6950 Annotate device through network configuration
Change-Id: I39d5ca39667bb1478a090408ff3c1af33220a0b2
2017-11-28 18:02:40 +00:00
Carmelo Cascone
1a7e4f9b9a ONOS-7050 First stab at PI translation store
Change-Id: I7f48802b1f5d70fbe3e6cead2800855de18b9207
2017-11-23 13:38:21 +00:00
Charles Chan
593acf90c8 Correctly persists the old value in TestConsistentMap by deep cloning the entry
In addition, inject TestApplicationId into DistributedMeterStore serializer when running MeterManagerTest

Change-Id: I8dcb4b2953a8d7e0fa1e5d765c859cde31d7633b
2017-11-22 22:00:56 +00:00
Ray Milkey
a09f87f02b Starting snapshot 1.13.0-SNAPSHOT
Change-Id: Ib3360118c42aa760632ff80537d585865813060f
2017-11-21 09:38:31 -08:00
Yuta HIGUCHI
86ac40b181 Fix TestDistributedSet to behave more like real one.
- fix test relying on incorrect behavior

Change-Id: Ib80bf9789a312c185794273d916d91989d2ae5cd
2017-11-16 20:51:54 +00:00
Carmelo Cascone
39c28ca503 Moved service PI classes/interfaces to appropriate package
Change-Id: I44a4aba848fd758a78a28eb484b7f579e3f22d08
2017-11-16 18:57:38 +00:00
Carmelo Cascone
03f343d9cd Clarify and clean up some PiPipelineInterpreter usages
Change-Id: I3f48141e72d552259109aba20a6b34a93d94735a
2017-11-16 18:40:16 +00:00
Ray Milkey
0537005d79 Fix race condition in meter store
Change-Id: I6fd00902f96fc2a0f6d1584a2d5f92360951f9c4
2017-11-16 09:24:43 -08:00
Antonio Marsico
4f68ec98fd ONOS-6613 Non-disruptive intent reallocation
Change-Id: I5d051c20402a226ad540b8bc08695b602ff75273
2017-11-15 20:07:15 +01:00
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