297 Commits

Author SHA1 Message Date
Deepa Vaddireddy
50ad080683 Fix for ONOS-5032 and ONOS-5034
Change-Id: Ib964252dd05754ce7069a7a82ccb1d1c29bfa978
2016-08-26 03:22:47 -07: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
Viswanath KSP
22774cd863 Addressing review comments of patch-3
Addressing review comments of patch-2
Fixing javadoc warnings
Pushing changes for onos-5146 - Added 2 new APIs in DeviceService.java to get port specific PortStatistics by specifying Device ID & Port Number. Also implemented the APIs in SimpleDeviceStore etc. This will be a very useful API for app developers who are intersted to query port specific port statistics

Change-Id: I8f3e5a443eb5b50237a679999311b48609e54a44
2016-08-22 20:00:07 +00:00
varunsha
34b306051c Fix ONOS-5091
Change-Id: I11762eb799c1f93536f472807167cdba20a7c8e6
(cherry picked from commit 45f806ccedf844dfc8fe1722eca653f274b83f12)
2016-08-22 18:31:40 +00:00
helenyrwu
89470f1d99 Group event indicating failover of previously used live port
Change-Id: I32749b38d5e4fab93fa97bbf6587bd0dc91db88c
2016-08-18 16:56:47 +00:00
Sho SHIMIZU
695bac68ec Check if the logger is configured as trace when logging as trace
Change-Id: I58738913b18198fe8a01b313e776e20c6a21f1d0
2016-08-17 16:35:32 +00:00
Simon Hunt
ba8c80501f Replace comparator definitions with their Lambda equivalents.
Change-Id: Ib626e086f78aa950be20cb84e56a3769517bac0a
2016-08-17 16:35:05 +00:00
Chiara Contoli
a8f69ff3fd Adding SinglePointToMultiPointIntentCodec for support SP2MP intent over REST
Change-Id: Ic04529520ad1719f3d241b3a79d8e0602bfeac4e
2016-08-17 16:23:56 +00:00
Jonathan Hart
e3bcfc3f0c Fix bugs in extension treatment REST API
Change-Id: If47f5ffce634617200e765be72c7898d984b0786
2016-08-16 18:42:37 -07:00
Yuta HIGUCHI
c2e6815ddc Use Java 8 Map#compute when possible
Change-Id: Ida300c054449047096f355f09b3843e4934dcd18
2016-08-16 22:45:15 +00:00
Sho SHIMIZU
21d00698f1 Remove explicit type parameters which can be inferred
Change-Id: I62cd4df252bab6208e1b1cd37f8f8757b0cfc17e
2016-08-16 18:07:05 +00:00
Sho SHIMIZU
1578042b4d Use for-each statement
Change-Id: Ib89f3372caebc30542739c0eba62f67ef56a4d4e
2016-08-16 08:57:59 -07:00
Sho SHIMIZU
ef17cbd777 Remove redundant toString() calls
Change-Id: I822e9cfe36b7162c7c4fc79e1680c6f54cd64827
2016-08-16 01:03:10 +00:00
Sho SHIMIZU
e0b7d16e20 Remove unused import statements
Change-Id: I4ff6cba3a880dd324c4b991270e7d7a9d3a89844
2016-08-12 23:04:58 +00:00
Sho SHIMIZU
3437bdb069 Fix dangling Javadoc comments
Change-Id: I828f9bdf0c2b2205b9239c2ef5c85aadd83bb3f0
2016-08-12 14:57:37 -07:00
helenyrwu
e3c4334776 Fix disjoint path exceptions when backup not present
Change-Id: Ib8de79700f17a3b06e4b790064dc0c5625c77b38
2016-08-11 21:42:03 +00:00
Sho SHIMIZU
a09e1bbdbd Use Collection#forEach() instead of Stream#forEach() for simplicity
Change-Id: I0a1aea4bdb5d305c50273e6ff749fe71bd2a295a
2016-08-09 17:44:13 +00:00
Yuta HIGUCHI
c3d69f52e5 Fix NPE when there's no secondary path.
Change-Id: I3bb8eeb2abf140d44cf4dc7186cf1bf316c23f70
2016-08-08 23:50:40 +00:00
Varun Sharma
b711fbf424 Cherry pick ONOS-4721 fix
Change-Id: Idb0ba949293451488b350c7cdcfc50094a3c9abc
2016-08-08 13:21:29 +00:00
Jayasree Ghosh
2d45985953 ONOS-4751-Fix:creating GroupType INDIRECT, multiple bucket(REST API)
Change-Id: Ic8d5a04b8b00ca43bfadbb3019aa5d72e799da6f
2016-08-03 16:56:38 +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
Thomas Vachuska
eb851cdefd Adding commands for managing layouts.
Adding support for wiping out regions and layouts.
Refactored UI layout manager to allow public knowledge of default layout id.
Enhanced test topo for layout hierarchy.

Change-Id: I254fd494175e753f542f12a664618c1a83f72127
2016-07-21 15:50:36 -07:00
Yuta HIGUCHI
b440ef46cb EdgeManager fixes
- Edge point update should be triggered based on TopologyEvent.
  {Device, Link}Event can be triggered before TopologyEvent,
  which will result in use of the outdated Topology to determine
  if the port is an edge port leading to incorrect edge port set.
  (ONOS-4896)
- Ports on Edge Link should not be considered part of infrastructure,
  should be candidate for Edge point.

Change-Id: I7d69cc242ba7849996c1105ccd1956975db63480
2016-07-18 20:50:52 +00:00
Kavitha Alagesan
df352c6dda Fix for the ONOS-4836
Change-Id: Iedf597bb79f27ca7834e85fc445ebd5736c852a7
2016-07-13 18:37:18 +00:00
helenyrwu
fd296b6142 [ONOS-4681] Enables device registration in GossipDeviceStore,
exposes availability, and polls NETCONF device reachability.

Change-Id: I5492c7b6109c3431d71555a9104c7e97fc6e75be
2016-07-13 10:02:10 +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
Simon Hunt
1172585e8f ONOS-4359: continued work on theming UI
- updated app.pngs

Change-Id: I7910b93a0be5020c0a1b1b9675dc79b21f63ef83
(cherry picked from commit 1b750c5)
2016-06-20 16:31:42 -07:00
Yuta HIGUCHI
6eb00cce43 Allow reading PortDescription from DeviceStore
DeviceManager had to reverse-engineer PortDescription
in order to mark port off-line, etc.
which required domain specific knowledge.
(e.g., OpticalPortOperatorr#descriptionOf)

required work for ONOS-4691

Change-Id: I954f5f2db2cb7db938f498ead4c8e3f84212a53f
2016-06-18 07:02:07 +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
Jayasree Ghosh
4e72a14278 Fix for ONOS-4632
Change-Id: I41bb77f4747147f6e8cd80940b76cbb3f819907a
2016-06-14 13:23:43 -07:00
Jian Li
11260a0192 Try to use ModMplsHeaderInstruction and ModVlanHeaderInstruction
Change-Id: I0b486907ef718a6dfa3e92696397fe5a7e851aed
2016-06-13 15:46:14 +00:00
Sho SHIMIZU
50a6dbefa6 Remove API deprecated in Falcon
Change-Id: Ie73d2fcbb79342e1808f78d9c0e75d6ebc540207
2016-06-07 14:59:44 +00:00
Andrea Campanella
6c71a0500a Deprecating PortDiscovery in favour of DeviceDescritpionDiscovery
Change-Id: Ie9cff7937412c62c8a5a3b75b87a43952017f146
2016-06-06 16:00:02 +00:00
Jian Li
a424a059eb Allow to specify appId through FlowObjective REST API
Change-Id: Iadff74d379e1d5ec4f6e8ff2cda2ad96892d2cc1
2016-05-31 23:00:57 +00:00
Brian O'Connor
e642f7cf7b Bumping version to 1.7.0-SNAPSHOT
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
Jian Li
e2a59f4def Check TrafficTreatment and TrafficSelector in FlowRuleCodecTest
Change-Id: I1694dd9103899731c4e0fdbb1ee531ef36ed6a86
2016-05-19 01:03:04 +00:00
Jian Li
36afa1ba03 Add unit test for TrafficSelector Codec
Change-Id: Ibe84ce7955c40c20b3ed94482e0bebe6be28032e
2016-05-18 21:01:14 +00:00
Jon Hall
e753963295 Fix for [ONOS-3590]
Compare two devices instead of one with itself
Add unit test for root node

Change-Id: If109dd8b05cd77825e182399b321c321865b9786
2016-05-17 20:53:22 +00:00
Jian Li
2907ad2941 [ONOS-4530] Allow to specify appId when insert FlowRule through REST
- Augment FlowRuleCodec to encode FlowRule
- Add unit test for encode method of FlowRuleCodec
- Add getFlowByAppId and removeFlowByAppId methods in FlowsWebResource
- Add more unit tests for FlowWebResource
- Add FlowRules.json swagger doc
- Rename Flows.json to FlowEntries.json, correct FlowEntries.json

Change-Id: Ic3ec390c13a349e51ae4208adbc478564b6724ba
2016-05-17 18:38:11 +00:00
Jian Li
96b47d9d94 Add unit test for TrafficTreatment REST API
Change-Id: I19834b9edbb87e66ca6fb4ce4f6601f685ba116e
2016-05-17 17:00:08 +00:00
Jian Li
e1c1c8dbd2 [ONOS-4409] Support applicationId registration and query via REST
With this commit, we can register and query on/off platform
applications through REST API.

Change-Id: I82e1e0e55bbc017d6c0cce7d9a6af7a578d7196e
2016-05-10 21:46:23 +00:00
Jian Li
f96d41fd18 [ONOS-4438] Add REST API for mastership service
- Correct some typos in mastership codec

Change-Id: If8a0127d8d897d4b87cae71a194dfece6aa14f49
2016-05-04 00:10:39 +00:00
Jian Li
b68a2b05f2 [ONOS-4438] Add codecs for mastership REST API
Add codecs for RoleInfo, MastershipTerm and MastershipRole.

Change-Id: I1135c7fc0ed591446d6268229b54fda70391fdb9
2016-05-03 16:32:20 +00:00
sangyun-han
c180686042 Add configurable method to SimpleFlowRuleStore
- Add @Modified annotation
- Delete TODO annotation

Change-Id: Ida2855c23105f68cfa2f2b7bb4ec3f384a2de838
2016-05-02 22:12:03 +00:00
Brian O'Connor
be27bb3da3 Updating BUCK files
Change-Id: I24f279b42a270e59cf4bf4564e2aa4d81459c8e2
2016-04-29 18:23:19 -07:00
Brian O'Connor
a7903ae0cf Moving default app.png to common/resources, so that it is included in the bundle
Change-Id: I4ad225eb0e73bceb31f9a2a4edc29180cd0db500
2016-04-29 18:23:17 -07:00
Claudine Chiu
1decd53931 ONOS-4077: REST API's for virtual networks, devices, ports, links: add missing onos.rsModel statements + fix example field in JSON files
Change-Id: I1ae2300143a0a56e5413f8837cea3016d964cb6c
2016-04-29 16:22:14 +00:00
Brian Stanke
9a108975d7 ONOS-3633 - Implementation of virtual network point to point intent provider.
Change-Id: Ie2c1e5ac278bc0dd6259479c44dd92b9b625e90b
2016-04-21 19:12:39 +00:00
Jian Li
dab7256be5 [ONOS-4258] Initial implementation of supporting extension in REST
- Support Nicira extension

Change-Id: I62bf4417e43459727ce7d4b1ac929c6cf0b7826f
2016-04-18 17:24:04 +00:00