265 Commits

Author SHA1 Message Date
Jayasree Ghosh
8aca6778cd Fix for ONOS-5306:NPE in Flows Instructions Decoder
Change-Id: I708a074c927841577b4eaf0ffe75ec98fac227f6
(cherry picked from commit af08dcdd4459eb47f9a995aef36674830641a8d3)
2016-10-24 16:26:36 +00:00
Jayasree Ghosh
44929b7a38 Fix for ONOS-5323:Issue with POST /intents - Causing NPE with null/wrong appId
Change-Id: I50e952976a0f8628ab2f4769b10ac1b3e1f152b6
(cherry picked from commit 3a0820beb627a3594411e43c97d025247fc69faa)
2016-10-19 17:41:58 +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
Antonio Marsico
20d452b958 Fix duplicated lines of code in method decode()
Change-Id: I9b7e0ff861efeff0f65f6ac2d30fdda51df5e253
2016-10-05 14:15:39 +02: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
02a417fa85 ONOS-5214:Fix-For-Meter-WrongBandType-with-NPE-And-WrongUNITType-Issue
Change-Id: Ia7a56644ad55c458ef17f31b2cf7ec9b9210dd06
(cherry picked from commit 726839c57f8a5df62c5d28ec205f128f417ffef7)
2016-09-26 16:27:05 +00:00
Victor Silva
4e8b783c67 [ONOS-5170] GroupStore: add purgeGroupEntries
The GroupStore exposes purgeGroupEntry, which purges
from the store by a specific device.

Add purgeGroupEntries, to purge entries from all devices
from the GroupStore, and expose purgeGroupEntries to allow
applications to purge all group entries from the GroupStore
without specifying a device.

Change-Id: I735f011a1fbbfa3ce8f1dd57a591a81c4377b012
2016-09-21 17:55:33 +00:00
Victor Silva
139bca4af9 [ONOS-5171] FlowRuleStore: add purgeFlowEntries
The FlowRuleStore exposes purgeFlowEntry(DeviceId),
which purges from the store by a specific device.

Add purgeFlowEntries, to purge entries from all devices.

Change-Id: I0ec50d2bbb8b39097189f9e332dc3efd281bc811
2016-09-20 15:39:37 +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
Madan Jampani
3b8101a304 Refactored IntentPartitionService as WorkPartitionService
Change-Id: Ic5cf1978b7fce55b34f84eae9b03c8f9ddcfb9c1
2016-09-15 21:09:32 +00:00
Victor Silva
df1eeae080 [ONOS-5169] GroupStore: properly add updated buckets
Adding buckets to group was ignoring the addition of groups
with different weights because they had the same treatment
and type. We'll now update such groupbuckets with the desired new
parameters.

Change-Id: I5f102c5fd78912844883c897bd858ee282f3cc12
2016-08-30 19:48:29 +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
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