2456 Commits

Author SHA1 Message Date
Ray Milkey
d517073994 Remove deprecated behaviour Queue APIs
Change-Id: I4733b2bc6c2049e4ede5505954085b38d066d5f0
2018-02-08 22:34:08 +00:00
Ray Milkey
640fedd7e6 Remove deprecated port behaviour classes
- PortConfig
- PortDiscovery

Change-Id: I88c9438969de00146c99bb75e928260ea8ce954a
2018-02-08 22:33:18 +00:00
Thomas Vachuska
1b1355d83f Adding ability to wipe-out UI model cache and network config.
Change-Id: I3d4aecb989c1d4fc2589471fa3ddd53f62c49eb5
2018-02-07 17:01:53 +00:00
Ray Milkey
1567b53d94 SONAR suggestion - implement equals() whenever compareTo() is implmented
Change-Id: I1eee6f8fd76ac9d7555612a56f84ef16fef9f90d
2018-02-05 22:32:00 +00:00
Ray Milkey
3717e604d5 SONAR suggestions - prevent truncation of arithmetic expressions
Change-Id: I4694c0c3183b991a4f0db793f584bc77a5fb7d60
2018-02-02 23:06:44 +00:00
Thomas Vachuska
99b7bbe67e Adding REST API and CLI for managing UI user preferences.
Change-Id: If5a1b347bcf7443120c2dfbb096fca6695b8f0e2
2018-02-02 17:44:19 +00:00
Ray Milkey
986a47aa7c SONAR suggestion - generic exceptions
Replace uses of generic RuntimeException
with more appropriate unchecked exceptions

Change-Id: If283743c2cf7252b8d280bdb788708ebbe57da9d
2018-02-01 18:36:33 +00:00
Jordan Halterman
47432589c1 Add distributed lock primitive
Change-Id: I60f4581d5acb5fc9b9a21d4191874bb56348af58
2018-02-01 18:35:59 +00:00
Yuta HIGUCHI
f1653a7c39 pom cleanup
+ minor fixes

Change-Id: Ie8a9c42cdcfcff131528f73ace5b9efdc08f05a1
2018-02-01 15:02:21 +00:00
Ray Milkey
2e27ec5b35 SONAR suggestion - constant arrays should be private
Change-Id: Ia51f13e19edcf1cec49331d1aad297ad1373eb6b
2018-02-01 15:00:28 +00:00
Yuta HIGUCHI
fbd9ae9cdf Various small fixes
Change-Id: I83802169d0d968f7b88d4be2cedba74b15fdd7da
2018-01-25 22:17:25 +00:00
Ray Milkey
06297ed618 SONAR suggestion - Synchronize initialization of static fields
Change-Id: I2ddf8220bda49f235ddfc5713174c11a147df354
2018-01-25 00:49:28 +00:00
Ray Milkey
74e5913ec3 Sonar suggestions - fixes to potential null pointer dereferences
Change-Id: I4e350a9d72a9322971d5d4f831f1bdf167986b87
2018-01-18 19:01:54 +00:00
Laszlo Papp
7cf6037b2c Expose optical properties
Change-Id: I30714563a6a02e5c4c777b759968251625ec4969
2018-01-12 18:58:24 +00:00
Ray Milkey
39f78b6f5a Remove Intent constructor APIs deprecated in 1.9.1
Change-Id: Ib88ee534174882cb135bba70a6cfc86747a0c193
2018-01-10 17:51:04 +00:00
Andrea Campanella
fa40ca2636 Adding GroupService Adapter for Tests
Change-Id: I058a26f0f5657cee8c5aeb52d989d2d6c0dc1190
2018-01-10 17:27:34 +00:00
ONOS Jenkins User
45d340c839 Starting snapshot 1.13.0-SNAPSHOT 2018-01-09 01:56:13 +00:00
ONOS Jenkins User
32ebb5add8 Tagging 1.13.0-b8 2018-01-09 01:54:28 +00:00
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