330 Commits

Author SHA1 Message Date
Ray Milkey
131c068323 Fix NPE when a POST operation is done for multiple flows and there is no flows array specified
Change-Id: I59caa97d8b2c663f1a7765c1d4c50f3b9ec63cca
2016-10-18 21:33:04 +00:00
Jian Li
7f6d0e9ebe Bump up swagger ui from 2.1.5 to 2.2.5
This commit bumps up swagger ui to 2.2.5 which fixes various bugs
introduced in previous version.

Change-Id: Ib4cf84c85c3c8d4ea8c32477a004c2ee12c22a8e
2016-10-17 18:09:13 +00:00
Sangsik Yoon
f0b3ad8447 [OpenTAM_DPIS] DPI Statistics Manager & dpis CLI
- Fixed Thomas Vachuska's comment
   .Removed DpiStatisticsJson.java and related codes for avoiding confusion within package because this does not need anymore.
   .Simplified execute() code and fixed comments in DpiListCommand
   .Added javadocs for public methods and fixed typos
 - Rebased from master 1.8.0-SNAPSHOT, 2016.10.14

 - Upgraded the function and performance.
   .changed List<DpiStatistics> to SortedMap<DpiStatistics>
   .added DpiStatisticsService interfaces to get DpiStatistics by receivedTime
   .added more options of dpis CLI: displays indivisual category by topn
   .and some bug fix

 - Fix javadocs and ONOS style method name.
 - Fix javadocs error.

Change-Id: I07a058e04f63bd9c547a5d605975b214eec0ce1f
2016-10-17 17:59:33 +00:00
Yoonseon Han
6c60389e14 In vnet CLI, separates virutal port creation and binding operations.
Original usage with specifiying a phyiscal port is also in supporting.

Changes.
1. vnet-create-port allow to create virtual port
   without a specific virtual port
2. vnet-bind-port command is added to newly bind or to update
3. Virtual binding point is changed from Port to ConnectPoint.

Change-Id: I4c8f9a2b9b2786ba519ead3559d7f005390fee86
2016-10-13 18:38:44 +00:00
Jayasree Ghosh
e6213cf013 Fix For ONOS-5396:Causing NPE:for REST API- GET /applications/{name}
Change-Id: I652f4620a741f64bc71f2555ad801eb00e7c951f
2016-10-06 21:41:08 +00:00
Jayasree Ghosh
28e1b3e092 Fix for ONOS-4675: FLOW ID is not matching with the one added in the ONOS
Change-Id: I1730ec5ae0692651cb774c2b546c31773115676c
2016-09-30 19:06:50 +00:00
Yoonseon Han
59ecdf3fc7 [ONOS-5324] Issue with Meter POST Rest API
- ConsistentMapException while POST a Meter With non existent DeviceId

Changes
1. added DeviceID check mechanism to confirm
   the requested ID refers an available device.
2. Changed MeterResourceTest to address
   a specific deviceID (of:0000000000000001)

Change-Id: I9ce70a73dc03e9e7516e8aaff3895a66f3b69b13
2016-09-30 05:17:40 +00:00
Prince Pereira
3ff504c8e8 Fix for ONOS-5175. GroupId refactoring.
Change-Id: I951392bdc69fe1ef694d321164b0b49032617d6b
2016-09-29 16:22:13 +00:00
sdn
5e935458fe Fix for ONOS-5033 hosts - dynamic or static
Change-Id: I3791370db0037968003abc23c918c63119d2dba2
2016-09-27 17:18:48 +00:00
Jayasree Ghosh
cfcf52c3c5 FIX for ONOS-5296:Wrong MetricName throwing NPE
Change-Id: I625640fba84bd2fabd140d6449cdceb0079ad3f4
(cherry picked from commit f5c17fd79bc187c4fbf97248274365aed9afeccb)
2016-09-26 05:00:59 +00:00
Brian O'Connor
bfc02ecd22 Bumping snapshot version to 1.8.0-SNAPSHOT
Change-Id: I4ca57b277d8ac814b8a10b107d995cb1cc4d499d
2016-09-16 17:41:55 +00:00
Brian O'Connor
b19fc86f82 Bumping version back to 1.7.0-SNAPSHOT
Change-Id: I1df9d0f12cd7ec7597499d41cacebdbe75899556
2016-09-16 00:12:21 -07:00
Brian O'Connor
338bc0cf19 Bumping pom versions to 1.7.0-rc2 and fixing some maven issues
Change-Id: I6169420328333d0916452aa92efbfa961d72e9c4
2016-09-16 00:11:45 -07:00
Brian O'Connor
0a4e6742b8 Copyright update
Change-Id: I534d938da3820f6fb814aed3bb4a0855fa41ddd5
2016-09-16 06:48:34 +00:00
Jayasree Ghosh
e7a240c0a1 FIX for ONOS-5260: METER AppID Display on GET, Precedence Range Issue
Change-Id: Ia82b8d70de0b5d824d808f9593ada64d3c1fbd09
2016-09-15 23:57:53 +00:00
Ray Milkey
cc44cb481b Fix Jersey warning for redundant "@Path("/")
Change-Id: I4b1af699c90e07811e046335ff2896ec402959b6
2016-09-12 17:44:21 +00:00
Jonathan Hart
6192499379 Use subject factory to create subject for deletion rather than using the string/
Change-Id: Ib7680b07642d676e9ad7f10fd59471880aa79771
2016-09-07 18:50:51 +00:00
Thiago Santos
7a174cf49b [ONOS-5184] Allow configuring cluster partition size
Adds a new parameter to onos-form-cluster: -s <partition-size>
to allow specifying the partition size to be used when creating
the cluster.

Change-Id: I4c31d6e97fe0fd811831296f41a09160bebb58de
2016-09-02 14:50:18 +00:00
Murat Parlakisik
c6759e80bd ONOS-4374 Enable installing flows with hard_timeout
Change-Id: I4e60e93aad44c7e8f8913fa4dd3ed5a2565d7034
2016-08-30 17:46:55 +00:00
Jonathan Hart
38feb6eddc Revert "Fix for ONOS-5032 and ONOS-5034"
This reverts commit 50ad080683317df192a0f7159d9902dc1c403ed2.

Change-Id: Id2f9924a28c18686b4be30200244dbd0c975e90a
2016-08-29 23:16:45 +00:00
Deepa Vaddireddy
50ad080683 Fix for ONOS-5032 and ONOS-5034
Change-Id: Ib964252dd05754ce7069a7a82ccb1d1c29bfa978
2016-08-26 03:22:47 -07:00
Viswanath KSP
13e5b51b6d [ONOS-5155] Exposed delta statistics via northbound REST
Change-Id: I04d9ec04c92bccd7bd5b5fd23d61be241a67d524
2016-08-25 12:37:27 +05:30
Viswanath KSP
8ffb7759d3 Exposed the newly added port specific portStatistics API via REST
Change-Id: I12a59b950f2d9123afc048e126ad7b457e5d7188
2016-08-23 22:19:06 +05:30
Kavitha Alagesan
98315a2a77 Fix for ONOS-4940
Change-Id: Id4e5913cb69e913190a0b32cd41bac0dbe786729
(cherry picked from commit 924c54ccb05c648afa49c6c2bd509a060b8d174c)
2016-08-23 15:30:05 +00:00
Jayasree Ghosh
d3ff540f36 Fix for ONOS-5152:Encoder for Disjoint Rest API with NPE:onos-1.7
Change-Id: I172e247353f7d70f6d7761e8a6be27f21b3c2684
2016-08-23 04:49:45 +00:00
varunsha
34b306051c Fix ONOS-5091
Change-Id: I11762eb799c1f93536f472807167cdba20a7c8e6
(cherry picked from commit 45f806ccedf844dfc8fe1722eca653f274b83f12)
2016-08-22 18:31:40 +00:00
Chiara Contoli
a8f69ff3fd Adding SinglePointToMultiPointIntentCodec for support SP2MP intent over REST
Change-Id: Ic04529520ad1719f3d241b3a79d8e0602bfeac4e
2016-08-17 16:23:56 +00:00
Brian O'Connor
e8468b5743 ONOS Swagger Plugin
just does swagger now
to build the plugin, you need to download to following:
https://github.com/bocon13/buck/releases/download/v2016.07.29.01-wip/buck.jar

put the buck.jar in tools/build/buck-plugin/lib

Change-Id: Id1b833dd013fbc5581f8e884e755920829c4a17e
2016-08-03 22:27:51 +00:00
Ray Milkey
bb23e0b5fb Fix Javadoc warnings
Change-Id: Icf8b6b6f77ea80d3975aa975226a178145067adf
2016-08-03 14:29:51 -07:00
HIGUCHI Yuta
f3ead25267 [ONOS-4513] Slice optical-model into separate bundle (1/3)
- net and cli bundle has dependency to optical-model bundle,
  which should be removed in the longer run. (ONOS-4626)

Change-Id: Ieff43ef2002ee21f4578a6e2a729cd35ce3eae3d
2016-08-03 18:54:13 +00:00
Jian Li
8afbbeee2a Bump up swagger ui from 2.1.4 to 2.1.5
This commit bumps up swagger ui to 2.1.5 which fixes various bugs
of swagger ui 2.1.4.

Change-Id: I4f8d7f79b88cddada0148a8629e7ef4da9eac3a0
2016-07-27 18:27:46 +00:00
Thiago Santos
877914d664 [ONOS-4931] fix doc of FlowEntry.life(), add life(TimeUnit)
Fix the doc: life() returns the time in seconds, not milliseconds.

Add new method life(TimeUnit) that allows specifying the timeunit to
receive the life value as as seconds might not be enough for
all applications and OpenFlow can provide this value to nanoseconds resolution
(in its spec).

Change-Id: Ia6a7573797249e0edc04e03c7204a550a2823742
2016-07-26 21:32:46 +00:00
Varun Sharma
1853b3f359 Cherry pick ONOS-4835 fix
Change-Id: I82ecb542dad4430d55af0fc684f8d13d6e45b45e
2016-07-25 09:15:06 +00:00
Jian Li
673399fcc5 BugFix: Allow to specify mastership role through REST API
In current implementation, swagger doc does match with codec impl.
With this commit, we can assign an exact mastership role for a
device through REST API.

Change-Id: I5cb3f8d478f8fe3eb22f12fc5254ed8a400d5b56
2016-07-20 19:21:20 +00:00
Kavitha Alagesan
df352c6dda Fix for the ONOS-4836
Change-Id: Iedf597bb79f27ca7834e85fc445ebd5736c852a7
2016-07-13 18:37:18 +00:00
Claudine Chiu
25f07bea59 ONOS-2184 VirtualHost CLI and REST api's
Change-Id: If0ebe4268f3161a34223eca58e3f1bdbb8d0c9be
2016-07-05 20:49:38 +00:00
Charles Chan
b3ef1fd63b Fix GroupKey interpretation in REST
Input string from REST should not be converted into byte array directly.
Before: "1" -> ascii 49 -> 0x31
After: "0x01" -> 0x01
GroupKey is a byte array with arbitrary length and represented by hex string

Change-Id: If27101f0e5522212c7e434fab58b66e67e9676d7
2016-06-29 14:57:13 +00:00
Ray Milkey
f3973047c4 Fix for ONOS-4740
Properly determine if the JSON payload contained any errors.

Change-Id: Id8e816f6627580dcaca3ccb6b7356d61be62392d
2016-06-22 15:37:58 -07:00
Deepa Vaddireddy
7fae18929c Fix for ONOS-4621. If any errors in parsing the configurations, continue with the next config key and return the list of subjectClass, subject, config failures
Change-Id: I4883342b4920aa4d6d641a17a395e5f6e4f27d6a
2016-06-22 22:29:11 +00:00
Ray Milkey
984e2d8654 Fix returned responses for DELETE operations
Change-Id: I5ad585841c69da86d89bca493a887e9af2cc4da3
2016-06-17 00:05:34 +00:00
Deepa Vaddireddy
0c49b607a1 Fix for JIRA ONOS-4620. Whenever networkconfiguration is deleted even the queued will be removed
Change-Id: I8d7f1a873af90cf86ea34f1a2b1585ef4c3e46e4
2016-06-16 20:47:56 +00:00
Brian O'Connor
1b2aea88c0 Removing gratuitous relativePath from pom.xmls
The default value for relativePath is: ../pom.xml

Change-Id: I1f5e5e6bfa1e91fcddae4f8cb8ab0c00c276e6b0
2016-06-16 07:05:31 +00:00
Yuta HIGUCHI
839b6edf50 Fixing file permissions
- removing executable bit from .java files

Change-Id: I7e993372e1edf942fefb5aaea2e302b3b2baebd9
2016-06-15 02:22:16 +00:00
Hyunsun Moon
1499864095 Fixed NPE and return 404 error upon unknown app activation request
Change-Id: Ic1b7904bcd873812f6e931c3fcb8dad4e4718364
2016-06-10 12:54:26 -07:00
Jonathan Hart
54b83e8996 Improve network config validation errors to show which fields are invalid.
Previously, uploading invalid config results in a generic error message
which makes it difficult to figure out what is wrong with the config

Change-Id: I307d2fc0669679b067389c722556eef3aae098b9
2016-06-08 13:47:45 -07:00
alshabib
20a070bed7 allow applications to be installed by URL from REST API
Change-Id: I6c28d91e1bbc6e77eefba00b8f106fe22edc475b
2016-06-07 08:44:59 +00:00
HIGUCHI Yuta
6827dc3dea Let JerseyTest pick random port
Change-Id: Ibc2544d0f27487cfd25317f6f5894acda9b89f51
2016-05-31 23:01:30 +00:00
Jian Li
a424a059eb Allow to specify appId through FlowObjective REST API
Change-Id: Iadff74d379e1d5ec4f6e8ff2cda2ad96892d2cc1
2016-05-31 23:00:57 +00:00
Jonathan Hart
6921ceb680 Add ability to add mcast sinks via REST API
Change-Id: Ie757537a8b514bfec1e468628dac1a8faa4405fc
2016-05-24 15:22:41 +00:00
Brian O'Connor
e642f7cf7b Bumping version to 1.7.0-SNAPSHOT
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00