2328 Commits

Author SHA1 Message Date
Thomas Vachuska
3516f0682b Adding ability to assign roles to elements as part of network config.
Change-Id: I1ecda58e35f0dd30054536024060c67e389d3d73
2018-03-19 10:12:25 -07:00
Ray Milkey
d29bc1ceef Improve unit test coverage for basic config classes
Change-Id: I8a9d6d51fcad89d8d215253fafdbecb12f1c81df
2018-03-16 20:30:05 +00:00
Laszlo Papp
84adcac63b Introduce driver property to suppress group feature
Change-Id: I7bf9857a7a71e3b4ef64aa7fd2c8777ff20dc95b
2018-03-14 16:42:19 +00:00
Thomas Vachuska
c67a9912cc Added support for grid coordinates in the legacy topology view.
Change-Id: I48533f24eded919673af92a59cc5e2edefef46b3
2018-03-08 00:03:45 +00:00
Ray Milkey
6a51cb9c4d Remove calls to deprecated Throwables.propagate() method
Change-Id: Id48a8f1d4fb02560cfb77108f554556a3cad9b16
2018-03-07 21:52:46 +00:00
Laszlo Papp
759f0d3103 [ONOS-6958] Add glyph registration java code
Change-Id: I954c790062f8ff5498c34c334827c4f695278a9e
2018-03-07 21:26:41 +00:00
Ray Milkey
27cff8c805 Remove deprecated unfiltered connect point methods from multipoint to single point intents
Change-Id: I220a024568852d1f3168bac3f5cf47d0b3fd9d86
2018-03-06 17:17:59 +00:00
Thomas Vachuska
a8e7477603 Adding command to add routes and to generate flows from them.
Enhanced FlowRuleStore and FlowRuleService with a new method.

Change-Id: I011371c1931294448e361fc1ceb120d89c14489d
2018-03-05 21:53:35 +00:00
Yuta HIGUCHI
53e4796d55 Deprecate potentially error prone constructor methods
Change-Id: I82d95c27dc7c4b1a6dcf5cc48a1c7583b5e30e2c
2018-03-05 20:43:39 +00:00
Ray Milkey
874581a694 Unit tests for interface config class
Change-Id: I28d68ddf3847dcc6ec6b58d36b81bba6e3ac9f02
2018-03-03 23:10:28 +00:00
Pier Luigi
57d417971e [CORD-2748] Multicast flows are not properly updated when changing source
Change-Id: Ia4a9e9f132156e4b9a7eb56dd943f1fd13bc1560
2018-03-01 21:16:05 +00:00
Thomas Vachuska
611f466a83 Fixing issue in component config subsystem where the locally registered
property value does not get properly updated on startup and thus wrongly
retains its default value.

Also update the Javadocs for the newly added ComponentConfigStore methods
to properly reflect the sparse map semantics.

Change-Id: I4be4fe66d45a6e20bd235c61b06e2ebcb81dfe5b
(cherry picked from commit a3b55a90bb6b09d80ae486bf8a53ae028db2aafa)
2018-02-28 01:01:14 +00:00
Jonghwan Hyun
f810a7a2e7 [CORD-2721] Implement group bucket modification
Change-Id: I0f637ec4ff2b0c12db53d70fed195ea28e542535
2018-02-27 20:45:06 +00:00
rohitsharan
a127ba895c Adding openflow protocol set support in onos for device
Change-Id: Id796e54b536eda19d511a1978657abd6e149f117
2018-02-16 18:05:26 +00:00
jaegonkim
598e8b841b [ONOS-7487] UnsupportedOperationException: Driver does not support extension type ExtensionTreatmentType{type=200} for DefaultGroupBucket
Change-Id: I4bb392797981490b51e616a39f97985fdef5fde9
2018-02-16 17:48:06 +00:00
Ray Milkey
7483e1b466 Remove deprecated LinkWeight interface
Change-Id: I4d3edab133d115ba189f317202d2dfba9b100918
2018-02-16 17:40:29 +00:00
Yuta HIGUCHI
2d1b590ba3 Add more utility methods to DocumentPath
Change-Id: I993006c45187be1cb7d4b627a5c9d7c5ee5edec9
2018-02-16 17:27:46 +00:00
Ray Milkey
a2cf3a1505 Remove deprecated connect point APIs for point to point intents
Change-Id: Ie7d29a9e6d54283d3a3310ed8b1e749a631031b1
2018-02-16 17:25:04 +00:00
Thiago Santos
01c93383c0 TestConsistentMap: cannot remove while iterating
You get concurrent modification exceptions if you do that.

Change to collecting all the keys before removing them.

Change-Id: Ie2492eaf7d5dcfd8e8261285f7ad530a686a543a
2018-02-16 17:15:28 +00:00
Yuta HIGUCHI
b2a20d1138 null-safe DocPath ancentry tests
Change-Id: I36709bee94b10e516427adb892d1caeabea1b9aa
2018-02-15 19:29:42 +00:00
Thomas Vachuska
9f6bd52524 Fixed issue where component configuration would not propagate on node restart.
Change-Id: I431ce444025cc9a8021dd68fa23c6e8c29fa6c19
2018-02-13 00:29:42 +00:00
Ray Milkey
a7cf8c8f55 Remove deprecated DefaultPath constructor with a scalar cost
Change-Id: Ifc4104cff773c9c692cc108fda02ce44bc6c2870
2018-02-09 17:51:28 +00:00
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