458 Commits

Author SHA1 Message Date
Ray Milkey
a218d43062 Merge branch 'master' into merge
Change-Id: Id77bb2de77dd288404c83e331b076aaf9aafacc5
2018-10-30 12:44:55 -07:00
Jordan Halterman
2ac98b92e4 Remove unsupported onos-form-cluster scripts
Change-Id: Idb9dcf8efd8f9dc83bc2d0b8afee80fbe573fba1
2018-10-29 22:26:11 +00:00
Ray Milkey
956bb1691a Merge remote-tracking branch 'origin/master' into dev-karaf-4.2.1
Change-Id: If611105632e508cb17352c6f5b1cbcfd85f716d1
2018-10-26 10:53:44 -07:00
Thomas Vachuska
22ea6126e4 Removing BUCK files and other Buck-related auxiliaries.
Change-Id: I23691380efcd9bce4906695605214ed59ada0e87
2018-10-24 20:02:31 +00:00
柯志勇10068695
0ae31468d3 MeterRequest may be null, if meterRequest is null, the implementation of meterService.withdraw(meterRequest, tmpMeter.id()) will cause an exception.
Change-Id: I2e2cec49c88521041c2cdf37e40644aa36c16862
2018-10-24 09:55:48 +00:00
Ray Milkey
0b18b72872 Merge branch 'master' into merge
Change-Id: I163ecf699b554e33f4db938c66b73c9911e51135
2018-10-16 13:19:15 -07:00
rsahot036
4df80f1796 REST API support for packet-processors
Change-Id: Id723a3f62e584f3325e8a2017c98c18e919168f6
2018-10-16 10:05:57 -04:00
Ray Milkey
d84f89ba3d [WIP] Upgrade ONOS to karaf version 4.2.1
Change-Id: I7cd40c995bdf1c80f94b1895fb3344e32404c7fa
2018-09-28 11:20:57 -07:00
Ray Milkey
761e80a427 Remove pom files from ONOS
Change-Id: I53e2395466cba10222d638736635b11380421d98
2018-08-21 18:11:58 +00:00
psneha
f31ac6ff9f Added one more Component Config REST API; for specified component and variable.
Change-Id: I810aa90636c55c8b05c146780ad28c307cefff33
2018-08-21 12:17:32 +00:00
Ray Milkey
312d987732 Starting snapshot 1.15.0-SNAPSHOT
Change-Id: I9239c7695f7faf6dc184a0ff54a34dedf4761b2d
2018-08-20 16:09:54 -07:00
ONOS Jenkins User
03e5521fba Starting snapshot 1.14.0-SNAPSHOT 2018-08-14 22:13:58 +00:00
ONOS Jenkins User
3594c24cb2 Tagging 1.14.0-rc2 2018-08-14 22:13:02 +00:00
ONOS Jenkins User
4e5f2d67ac Starting snapshot 1.14.0-SNAPSHOT 2018-08-13 23:16:37 +00:00
ONOS Jenkins User
cff0bd8922 Tagging 1.14.0-rc1 2018-08-13 23:15:43 +00:00
jaegonkim
0ed6443127 [ONOS-7626] FlowsWebResource cannot find FlowRuleService when it become instantiated
Change-Id: I71589395e300db1a04131f3ac4f6861b3fdebd0d
2018-08-13 11:09:09 -07:00
Ray Milkey
4867af2f9c Revert "Tagging 1.14.0-b1"
This reverts commit 78ce40093ac008fd6d169ab83d2d5961f91f6e31.

Change-Id: I8482f550c30f75d65333f6be9c9115a930abc56f
2018-08-10 16:53:10 -07:00
Ray Milkey
78ce40093a Tagging 1.14.0-b1 2018-08-10 11:16:44 -07:00
Thomas Vachuska
67484d9008 Added RBAC for REST APIs.
- admin role required for POST, PUT, DELETE & PATCH
- viewer role required for all other requests
- cleaned up all web.xml files for consistency and correctness

Change-Id: I33bad5cec0fb0f4285eed84173025b0a107b5aec
2018-07-17 12:10:00 -07:00
rsahot036
2c2c6cc3e0 Adding get flow by table REST api, fixing exceptions in dhcp
Change-Id: Idc07992a91c79f594c998b2d78b980036077c0ad
2018-06-27 17:56:22 +00:00
Ray Milkey
324af9301f Bazel build files for protocols
Change-Id: I12a9cfe2d135d10c640a51d9b3438bcd92f8e37f
2018-06-21 03:48:25 +00:00
Saurav Das
137f27f0e7 Bugfix in routing logic to avoid null groups; Improvement in group handling.
Two main changes for the bug-fix:
    - avoid doing a full-reroute in the event of link failure as this will leave behind stale state in stores
      if event has been preceded by mastership change leading to the nuking of the ecmpSpg for one of the
      link's devices; instead do a rehash
    - when full-reroute is attempted, do it only once, with a complete nuke of the next-obj store

Improvement in group handling allows for a max number of retries for a group that failed to be added.
Earlier behavior was to try only once, and if it fails, it gets removed from the group-store. Now it
is removed after a couple of retries - so total 3 attempts to program the group.

Change-Id: I54ca8203cef779463522b01353540d12f8be3c91
2018-06-20 17:48:32 +00:00
rsahot036
0f9564d673 Adding new REST api to fetch pending flows only
Change-Id: Idbc84e776934fb8dedd719b1a23be294615c286c
2018-04-30 21:34:40 +00:00
Thomas Vachuska
7ef2671288 Adding new REST API resource to obtain system level summary.
Change-Id: Ia3ce18a50a56aa19d07b594990d3136a7ef07706
2018-04-26 00:06:55 +00:00
Jonathan Hart
471bcbb4fd Add REST API to change administrative state of a port.
Change-Id: Ib0f2fc9e0a2d8126288784d5da78367037638625
2018-04-24 19:51:58 +00:00
Ray Milkey
1657032c03 Fix handling of several error cases in the application REST API
Change-Id: I5a18374834b01e7b79b8f874356bf5f76168b66e
2018-04-17 10:26:54 -07:00
Ray Milkey
bca9049101 Starting snapshot 1.14.0-SNAPSHOT
Change-Id: I97bab4e31d2b701f015289eae29d0c58a4937685
2018-04-13 12:47:31 -07:00
Jonghwan Hyun
2c95acfde8 Support double-tagged host
Change-Id: Ie4041a0b5159e7a8b3a9ed82b55ce3c26b520a3b
2018-04-09 23:17:44 +00:00
Ray Milkey
957bb37377 ONOS-7577 - REST API to add and remove buckets from a group
Change-Id: I95bad8db7baf6231ffb0c077d9e5d8243da64fd4
2018-04-06 00:38:22 +00:00
Frank Wang
d7e3b4bc9d [ONOS-7051] Support for P4Runtime meters
Change-Id: Id71374af65aeb84b71636b4ec230dc6001a77a8b
2018-04-04 00:35:08 +00:00
Thomas Vachuska
a10137c0fc Fixing residual ON.Lab references.
Change-Id: Ic54a281ce67e49236c7aeb536729d3900dd9433d
2018-04-04 00:02:22 +00:00
Ray Milkey
86ee5e8711 Upgrade fasterXML libraries for OS-9
Upgrade fasterXML to version 2.9.5 to address security vulnerability
Wrap calls to treeRead(InputStream) to handle new behavior of null streams

Change-Id: Id199cfacd0cf9e5371dc33de9f1e058c2e72eaa5
2018-04-03 16:49:03 +00:00
Ray Milkey
054e23d0cf Add uptimes to device and cluster REST APIs
Change-Id: I0ccdf4e33135be4bcfd1674a76ff4b39e992268b
2018-03-22 13:48:50 -07:00
Ray Milkey
5c7d488269 SONAR suggestion - proper handling of InterruptedException
Change-Id: I67a93c064708c207d9ce83fac319682c2d17db60
2018-02-07 00:59:07 +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
Thomas Vachuska
15370d2a16 Adding a tool for remote collection of node and cluster diagnostics.
- Includes 'onos-diagnostics', 'onos-node-diagnostics'
- Includes REST API /onos/v1/diagnostics

Change-Id: Ife0a15627b14238d0fce52b01b72d56e6a1fe40f
2018-02-01 17:13:36 +00:00
Ray Milkey
094a135ef5 Removed the setServiceDirectory() method from the base web resource
This is a testing only API and potentially dangerous to allow to be public.
I modified the tests that use it to set the value using TestUtils.setField()

Change-Id: Ic590f4641f4e3de208dffa16b3df9a9a2106114b
2018-01-25 01:16:03 +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
b2a91f268c Fix the Statistics resource title
The Swagger GUI uses this string. "Query flow statistics" is misleading
as this resource also contains port statistics. This was initially just
flow statistics resource before also adding port statistics to it.

Change-Id: I7762159b18284cee0293684d260fb0a1806218bb
2018-01-10 23:09: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
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
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