Brian O'Connor
f967ad61dc
Starting snapshot 1.4.0-SNAPSHOT
...
Change-Id: I6b64a70eb8c416b58689afd2af7d726153176f6b
2015-09-18 15:19:54 -07:00
Brian O'Connor
b3a3b52f46
Rolling back to snapshot 1.3.0-SNAPSHOT
...
Change-Id: I5394f02bc4cc4614427e5e535889e883944734fd
2015-09-10 17:26:49 -07:00
Brian O'Connor
cbc5878c31
Tagging 1.3.0-rc2
...
Change-Id: Id062ea54a0f03c26eb763e03cc347dbfe63cd03f
2015-09-10 17:08:00 -07:00
Ray Milkey
9b36d81ce3
Javadoc fixes
...
Change-Id: Id23ed2d576b2222194153be9d043ca5acafe67ae
2015-09-09 23:54:01 +00:00
Brian O'Connor
e8bcb70258
Changing version to back to snapshot 1.3.0-SNAPSHOT
...
Change-Id: I05bc4669bf3ad2a149cee5d303da42bf8ffd14e8
2015-09-04 23:57:08 -07:00
Brian O'Connor
004345f6c8
Tagging 1.3.0-rc1
...
Change-Id: I640fc75397b90532e8a71f9413b6822f80b3e775
2015-09-04 23:47:08 -07:00
Ray Milkey
be539dbd88
JSON for flows should return the app name, not the app ID
...
Change-Id: I12d217b07bffb59615dfeefd40242f01669989c2
2015-09-04 18:26:56 +00:00
Ray Milkey
8d07640952
Set the location string correctly for intent POST operations
...
Change-Id: I7ddb98ca1c5e87fc0fe34c79c5499047e599191f
2015-09-03 17:52:54 +00:00
Thomas Vachuska
87ae1d9a30
Fixed javadoc warnings & added a few deprecations.
...
Change-Id: I89205b08bc5fcbfed769c489609a46d420ee227e
2015-08-20 00:46:33 +00:00
Thomas Vachuska
af0ee53cfa
Added redirect for the /onos/v1/docs Swagger UI URL. Added onos-rsdocs tool to launch REST API docs UI from shell.
...
Change-Id: Ifb839e0205e5b176ebc7bb48644925eaa3675fd9
2015-08-19 14:17:36 -07:00
Thomas Vachuska
0fa2aa1167
ONOS-2486 Adding swagger-based REST API documentation.
...
Change-Id: I237d973d73549ad30ddc638c1c201f024d344c70
2015-08-19 18:46:38 +00:00
Ray Milkey
a4122367b0
ONOS-2190 - Move org.onosproject.net.config.* out of the incubator
...
Change-Id: I57cac27ae370ce1155b4f637646d6c25732844e9
2015-08-19 08:59:12 -07:00
Thomas Vachuska
eff0e4ed95
Adding GUI login/logout capability using form-based login.
...
Adding REST API login capability using basic authentication.
HTTP to HTTPS redirect is suppressed for now.
Change-Id: I1a98bdc5576c515e1aa5a1b8d66402af0c0bf8c8
2015-08-18 01:01:05 +00:00
Ray Milkey
05b169deab
Improve coverage for Intents REST API test
...
Also, added @Provider annotation to all exception mappers so
the Jersey unit test framework will apply them during
testing.
Change-Id: Ifd9237de2e159cd97b64dcb9bde4a66f14bd0dfc
2015-08-14 16:39:15 +00:00
Ray Milkey
5d915f492b
Cleanups to REST code suggested by Sonar
...
Change-Id: Ia399da70e7cd140514e07b63d9b2965fe86bbce7
2015-08-14 16:39:01 +00:00
Jonathan Hart
f44e42cf63
Fix for flow equality bug which can cause:
...
* multiple flows with the same match to be simultaneously present in the flow
store, and
* similar but different rule in switch and store, resulting in flows stuck in
PENDING_ADD state.
Fixes ONOS-2426.
Ported from onos-1.2 branch.
Change-Id: I4b4e444c3a6dba7e4d3278e9469069e2dbdb9b67
2015-08-10 21:16:19 -04:00
Kedar Gupta
7c4d196681
onos-2420 Add unit test for Host REST API and fix documentation errors.
...
Change-Id: I633d6a8ed75dd3f79f134873967615c196f7e14b
2015-08-06 21:47:51 +00:00
Sahil Lele
372d1f38ce
ONOS-2485 Autogenerate swagger JSON files from WebResource classes
...
Change-Id: If3efcd22ce04b4579bf0d3359684b252d981913e
2015-08-05 16:49:18 -07:00
Marc De Leenheer
fc913dd2f7
LINC driver and OF device provider report correct optical port types
...
Change-Id: I501ce5f6f53136254024ad7122a4fec0d17504e0
2015-07-31 15:30:04 +00:00
Thomas Vachuska
d894b5d5f7
Fixing javadoc warnings, provided missing package javadocs and corrected group structure.
...
Change-Id: I2637afe49b81e8e6d10ef3bb0f2a1cf50b2564cc
2015-07-30 20:27:44 +00:00
Sahil Lele
3a0cdd57e7
Devices,hosts, and links can be blocked and kicked off with the network configuration api
...
Change-Id: I68d427f4886a7b63475df8d35383e2e347946946
2015-07-29 01:00:13 +00:00
Jonathan Hart
eb431c1329
Fixed issue with pushing topo JSON after devices are in the system.
...
Fixes ONOS-2463.
Ported from onos-1.2 branch.
Change-Id: I9ce7a11e50d8fd6c344be2f90dc046dcba65fe46
(cherry picked from commit 914c35212fd8af0b923ff560f9aa00deaf37ce3a)
2015-07-27 20:47:13 +00:00
Thomas Vachuska
82e95a5de5
Added means to administratively remove device via REST API.
...
Change-Id: If0c0a98d7f36923dad1855a2303789f99882e224
2015-07-25 13:08:00 -07:00
Jonathan Hart
111b42b7a3
Move address-bindings config to new config system
...
Change-Id: I6d87ddbf98789dbe8355c453a3263f50fbc5d99c
2015-07-23 10:25:54 -07:00
Ray Milkey
7b15851500
Fix delete of an intent and add a unit test for it
...
Change-Id: If28dc96b299ab205e5519aac74d98e2588d1c37b
2015-07-22 02:19:29 +00:00
Kedar Gupta
47bd480f49
Add POST method for the Host REST API and fix minor documentation errors
...
Change-Id: I598ace5a94f83f010fdde1b3ad43b90f762a9d33
2015-07-21 22:22:15 +00:00
Ray Milkey
f7cb401b6b
Fix ONOS-2090 - Improvements to Intent JSON
...
- Intents are now identified by the name portion of the appId rather than
the number
- removed the now useless "details" field which had a toString()
dump of the intent for when we didn't support all intent types
- Single Intent GET operations now accept a decimal or hexadecimal
value for the Intent key.
Change-Id: I39d635e68cccf2e59d0d11307b93329a2dc0bc96
2015-07-21 22:21:28 +00:00
Ray Milkey
b9af946649
Implement REST APIs for link flow statistics
...
Change-Id: I65ca3cec9dd1771a70811afd319619827f7b9010
2015-07-20 16:38:05 +00:00
Ray Milkey
303e671d3b
Refactor to use JAXRS URI builder and fix HTTP status for bad JSON
...
Change-Id: I696bdd4792b002391abe709c7a0e3e600ad50157
2015-07-20 16:36:52 +00:00
Thomas Vachuska
96d55b16ad
Implementing net config subsystem and revising its interfaces.
...
Added a few basic configs for device, host and links.
Added initial REST API.
Added CLI.
Tests remain to be added.
Change-Id: Ic7bba4b5ad7d553c51d69f6459b3bff146970323
2015-07-09 14:39:10 -07:00
Ray Milkey
b82c42b0fe
Implementation of REST POST API for creating intents
...
- codec for constraint decode
- codec for intent decode
- POST method for intents
- unit tests for codecs and POST method
Change-Id: Ibc0ef8f99a0c0664710a733985424c77010c49b5
2015-07-06 20:19:42 +00:00
Madan Jampani
0dbac7af9e
Fix javadoc warnings
...
Change-Id: I156c861729fd48d5e6792f810c342e1579482c04
2015-06-25 11:40:30 -07:00
Ray Milkey
eb5c7177bc
ONOS-2144 - Complete implementation of REST API for flows
...
- URL for creation of a single flow is now /flows/{deviceId}
- On successful creation of a flow, Location header contains
a reference to the new object's URI
- POST operation returns status code of CREATED
- implement DELETE operation for /flows/{deviceId}/{flowId}
- removed deprecations and warnings from REST API unit
test for flows.
Change-Id: Idb43a651a659e60c07a6f36dfd69004c814b146b
2015-06-25 09:11:43 -07:00
Thomas Vachuska
e18a330163
ONOS-2091 Installing app when already installed will now raise an error
...
Change-Id: I4dacd63bf4a99244b23b932d35dd9cbd088548c1
2015-06-23 22:22:11 +00:00
Thomas Vachuska
b4258a911c
ONOS-2124 Improved web-exception handling when an anonymous exception, i.e. one without a message, is raised.
...
Top stack-frame will be used as a message if exception has no message of its own.
Change-Id: I28d68e05a0d805c7320e133d8e17081513cb503c
2015-06-17 15:34:14 +00:00
Sho SHIMIZU
ccf40c722b
Fix bug that inconsistency happens in long value and name in PortNumber
...
The case is like the underlying name is "2", but long value is 0.
This fix relates to ONOS-2082.
Change-Id: I702ed91563296d38980dc6895fafb18aecaa26f8
2015-06-12 00:29:41 +00:00
Ray Milkey
d43fe45f42
REST API to create flows
...
Change-Id: I5d001782249c0eab249d7aa857ae465da95b5955
2015-06-11 21:45:28 +00:00
Sho SHIMIZU
bb825d73b9
Remove forEach() that introduces side-effect inherently
...
Change-Id: Idd9784d7a8a4064e31b02f65701bc599b2fb3dbf
2015-06-11 21:43:46 +00:00
Sho SHIMIZU
63d9f649b1
Remove unnecessary empty set check
...
It isn't harmful to remove the if statement because missing.forEach()
doesn't call the specified lambda when it is empty.
Change-Id: I3f43f5fd4a4422899c621f2a63c0259f1bae838a
2015-06-11 21:43:45 +00:00
Sho SHIMIZU
30e9fd15b9
Filter connect points by device ID
...
addMissingPorts(Device) runs per device basis, but the variable missing
contains connect points of the other devices.
Change-Id: I0c4e74b131c8c4f283b103c77eab7443336b7b8b
2015-06-11 21:43:44 +00:00
Sho SHIMIZU
f6501c0636
Remove null check because it is always evaluated as false
...
Change-Id: I646a4bca5f44b7faeb103a6031a3e0c05b3876be
2015-06-11 13:51:42 +00:00
Brian O'Connor
afc2d7db88
Starting snapshot 1.3.0-SNAPSHOT
...
Change-Id: Idc4c114bda5268e534b9fc998215564d23d84c58
2015-06-05 23:31:25 -07:00
Brian O'Connor
a78abfcc39
Tagging 1.2.0
...
Change-Id: If1b4de17402bf8248c888de72891dc17a5bcd7ef
2015-06-05 22:40:03 -07:00
Marc De Leenheer
c973308d41
Static optical madness. Fix in device resource store. Javadoc.
...
Change-Id: Iaba6b62094b3d2023f352d52037c6d1535c31b88
2015-06-06 00:35:47 +00:00
Ayaka Koshibe
c10d151e50
ConfigProvider: Use port number from known ports to create ConnectPoints
...
Change-Id: Iecab56927815e6e5db97a3caf7c742f5a68ccc01
2015-06-04 22:48:42 +00:00
Marc De Leenheer
723f553165
Allow static lambda and port mappings (ONOS-2067).
...
Fix bug in device resource store.
Change-Id: I219a4de9ec803b3d142a6b957868f64dc599fa24
2015-06-04 19:14:37 +00:00
Sho SHIMIZU
a3d67cd8a0
Expose empty annotations as SparseAnnotations to move down cast
...
Change-Id: I9e8a7d61b770faaec1b7e0ea1cf78bdb367b68ee
2015-06-04 12:01:46 -07:00
Ayaka Koshibe
236e9cddd9
Fix for parsing non-numeric port numbers in ConfigProvider
...
Change-Id: I891bd4f13ecb76f6679db3262f3050ec983b4372
2015-06-04 01:55:34 +00:00
Ayaka Koshibe
9100624d48
ConfigProvider: Protect against potential NPE when reading files
...
Change-Id: Id9174ddf16fb02a19b987eb428bc68ee43139165
2015-06-03 20:07:17 +00:00
Brian O'Connor
3350390b1d
Starting snapshot 1.2.0-SNAPSHOT
...
Change-Id: I96c63bb70f2cd27453f2da893d77f9e72966f780
2015-06-01 17:08:05 -07:00