563 Commits

Author SHA1 Message Date
Pier Luigi Ventre
6fd1ca95aa Revert "Allows duplicating packets when requesting packet-in via PacketService"
and makes wipeDeferred as default.

This reverts commit 874900ec363da57928d6f087527e6e9cbfbc0645.

Change-Id: I080ece4f2f316a95c36bdd09f91c0482fbe6f8d9
2017-01-16 17:02:01 +00:00
Yuta HIGUCHI
3e8e03567a ONOS-5810 provide a way to consume protected links
- Add option to add constraint to use protected link only

Change-Id: Id4684b839b02f3b46583d524289ce238e78d92e1
2017-01-11 18:56:58 +00:00
Yuta HIGUCHI
5f3c033590 annotate-link command
- Utility to add annotations to existing links.
  for ONOS-5810, etc.

Change-Id: I0a10e5cffe376fe935552dc9c1812741522746ee
2017-01-11 18:51:01 +00:00
yoonseon
bc0d76f21c [ONOS-5820] Add command for flow lists for virtual network
Changes.
1. "vnet-flows" command is added

Change-Id: I968df2dfd35d7d8ca02c9d40931e5db8e98a63dd
2017-01-11 18:08:45 +00:00
kavitha Alagesan
1f1fef77be ONOS-5728
Change-Id: If6da56301f669011a40290a280defeadd4f4dd78
(cherry picked from commit c3a904f9fcc54849a450756a8d30475deed4c9bf)
2017-01-11 17:51:34 +00:00
Carolina Fernandez
fb4b04a53b Fix wrong random priority generation
Change-Id: I62d5c518fe0117534e79ae197a50b3d84a1e620f
2017-01-11 17:49:40 +00:00
Charles Chan
874900ec36 Allows duplicating packets when requesting packet-in via PacketService
If false, the original packet is always sent to the controller.
If true, a copy of the packet is sent to the controller, as long as the packet can be duplicated.
If duplication is not supported, the original packet will be sent to the controller.

Change-Id: I566c799bb0afed03c3fae5815aa926b338cad953
2017-01-11 17:44:15 +00:00
Yuta HIGUCHI
bacea91117 Fix wrong format String
Change-Id: I16bbb8953203ebb8092db3e12906d116b7009335
2017-01-03 17:45:13 +00:00
Charles Chan
218b9f314f Display the source in routes CLI command
Change-Id: Ic00c7a5dbbaf0d279499796c5067c5ef849c1775
2016-12-07 23:48:53 +00:00
Sangsik Yoon
b1b823fd3f [newOpenTAM] new Upgraded AFM and FlowStatisticService
New Upgraded AFM(Adaptive Flow Monitoring) and FlowStatisticService.
  .Reabsed from master 2016.12.06, and assumed avgPollInterval in FlowStatisticService with flowPollFrequency in case adativeFlowSampling is true or false
  .Fixed Yuta HIGUCHI comments, 2016.12.03
  .Fixed checkstyle warning
  .Rebased and added interrupted flag for exiting while() loop when IterruptException is caught in NewAdaptiveFlowStatsCollector.java

  .Fixed and added javadocs from Thomas Vachuska's comment
  .Removed synchronized block in OpenFlowRuleProvider.java for avoiding performance degradation
  .Rebased from master 2016.10.13 1.8.0.SNAPSHOT
  .Rebased from master 2016.09.09
  .Fixed Yuta HIGUCHI's comments
   (made default getFlowEntriesByLiveType interface,
    added checkArgument() for StoredFlowEntry,
    added @Deprecated annotation @deprecated javadoc,
    added Thread.currentThread.interrupt()
    and fixed Default Adaptive Flow Sampling value with false.)

  .Rebased from master branch
  .Fix typo in FlowRuleService.java comment line
  .Quick Bug fix in NewAdaptiveFlowStatCollector
  .master rebased for fixing build Failure
  .Removed synchronized block in FlowRuleProvider and NewAdaptiveFlowStatCollector for performance upgrade

  .Removed duplicated flow entries in NewAdaptiveFlowStatsCollector
  .Removed additional operation (add/remove/mod) of flow entry in OpenFlowRuleProvider
  .Set default adaptiveFlowSampling value with true
  .Added liveType (IMMEDIATE, SHORT, MID, LONG) member variable in FlowEntry
  .New added PollInterval static class for pollInterval value adjustment
  .Updated FlowEntryBuilder and FlowEntry constructor
  .Added liveType print in FlowListCommand CLI
  .Removed FlowStatisticStore, used existing StatisticStore
  .New added FlowEntryWithLoad for replacing the old TypedFlowEntryWithLoad
  .Added new interfaces in FlowStatisticService
  .Updated GetFlowStatistics CLI for using new interfaces
  .All Typedxxx classes are deprecated

  .new created review 9292 from review 9232
  .fixed Jian Li's review comment from review 9232
  .fixed Build failure in core/net/BUCK file

Change-Id: I7a0e39c5220a2b279b68a195347c183b5bdf1a49
2016-12-07 20:04:36 +00:00
Simon Hunt
5361221a17 Working on Bay-Area-Region Demo.
- added latitude / longitude parameters to regions, so the icons can be "placed" on a GEO-map

Change-Id: I5cf939f22597d4658ab603459b2b3059ba0db0c9
2016-12-05 00:50:46 -08:00
Ray Milkey
72bcefefce Starting snapshot 1.9.0-SNAPSHOT
Change-Id: Iae30168353c72c4e2d5e395298ceca5dd7554984
2016-12-02 16:22:53 -08:00
Ray Milkey
bc3c6ba539 Starting snapshot 1.8.0-SNAPSHOT 2016-12-02 15:59:38 -08:00
Ray Milkey
a222d05a18 Tagging 1.8.0-rc4 2016-12-02 15:49:32 -08:00
Ray Milkey
b547e06157 Starting snapshot 1.8.0-SNAPSHOT 2016-11-30 15:10:18 -08:00
Ray Milkey
4f6d428dc7 Tagging 1.8.0-rc3 2016-11-30 14:52:32 -08:00
Ray Milkey
58c6af2321 Starting snapshot 1.8.0-SNAPSHOT 2016-11-22 17:26:52 -08:00
Ray Milkey
8b8b30ce29 Tagging 1.8.0-rc1 2016-11-22 17:08:32 -08:00
Ray Milkey
85267006aa checkstyle rule to check copyrights
Change-Id: Ia9bab40b5fe64fca539058a4316371f7acc0f387
2016-11-18 18:40:44 +00:00
Simon Hunt
d0fa284190 Layout and Region configs.
- Listen for topo-layout config changes.
- Augmenting UiTopoLayout to include fields for geomap/sprite, scale/offset

Change-Id: I2b1f747f41d39b64b0a1a53946c4cbd5750db9e5
2016-11-17 18:02:35 +00:00
Andreas Pantelopoulos
b6a2f78c05 Fixed issue ONOS-5263
Change-Id: I8c852e4d36b1daccaecfa17bca9f7e6e75a82e9c
2016-11-16 19:03:01 +00:00
Carolina Fernandez
fa56d1429f Adds loose filtering capability (-f) to cli commands (intents, flows)
- Multi-valued filtering
- Two search strategies (and/or) [defaults to add]

Change-Id: Ia9ad9233b65209b20550ba699c238b88ffb43f8d
2016-11-16 17:00:44 +00:00
Charles Chan
c78a0987ef Carry more information in NextHop
Also update the next-hop CLI to show more information

Change-Id: Ia0f2c7b4a40b75513a4ecb4cc022e580e590d9f3
2016-11-10 23:19:57 +00:00
Saurav Das
1ce0a7b8b5 CORD-414 Editing hash groups buckets in the OF-DPA driver instead of
creating new groups.
Also in this commit - fix for NPE in groups cli, and removal of unnecessary
cpqd-ofdpa3 driver.

Change-Id: I2a5dd183cb38ed901caa5a806791b77e9d92d93c
2016-10-25 12:47:23 +00:00
Charles Chan
1778b520a0 Improve the argument description in RouteRemoveCommand
such that it is consistent with RouteAddCommand

Change-Id: Iecabcb5391f68b2a293b6a36dc1cbe8d9e1030c7
2016-10-24 15:10:04 -07:00
Luca Prete
6c0ed24ee7 ONOS-5479 - Clarify description of push-random-intents command
Change-Id: I98d08d3f5cd462c483730bc4bf23ba40f638e9de
2016-10-24 21:23:09 +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
sdn
5e935458fe Fix for ONOS-5033 hosts - dynamic or static
Change-Id: I3791370db0037968003abc23c918c63119d2dba2
2016-09-27 17:18:48 +00:00
Yuta HIGUCHI
f5908c9d12 resources cmd: option to show only available resource
Change-Id: I75fd80c2d3258b76ca1b99581b0b5ada8e203f11
2016-09-23 23:22:38 +00:00
Yuta HIGUCHI
b2ba8abb37 Print Port allocations
Change-Id: I590cdcef5d338294e6468e2c4bceb8fa2614b3ab
2016-09-23 23:20:45 +00:00
Yuta HIGUCHI
dd19371d6d Revise resouces command descripton to reflect actual behavior.
Change-Id: I5a0ccbfb857c957918697fb32d0bcceef556e67c
2016-09-21 11:36:09 -07: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
Jonathan Hart
c4f681c776 Reimplemented the ProxyArp app on top of the NeighbourResolutionService.
Also some small API changes to track app ID of handler registrations, and
improved interface matching in NeighbourPacketManager.

Added CLI to view handler registrations.

Change-Id: I8cd0b91a16d9ec60287b65f9d8fc5e3cd87560e8
2016-09-14 15:31:25 +00:00
Jonathan Hart
6ff6ffe4c0 Move EdgeService back to Link/Device services rather than TopologyService.
I think the EdgeService has to use one or the other, because the
TopologyService is not in sync with the Link/Device services. The problem
with using the TopologyService is that it does not handle Port events,
only Device and Link, so it is not suitable for building an inventory of
edge ports.

Change-Id: If31d6d7013985da3e03f8c83f2f2eb2957deffe1
2016-09-12 17:02:42 +00:00
Yuta HIGUCHI
23547b3814 Minor changes around ProtectionConstraint
- use factory
- implement toString

Change-Id: Ic30b2d3a7c2f6c65fac9b0971291d82af8ec23d7
2016-09-06 20:57:10 +00:00
Yuta HIGUCHI
cd3185076b Add P2PIntent CLI fix
Easier bugfix part of ONOS-5183

- "-p" used by multiple options
- fix completer definition

Change-Id: I1cb97b93ad9143c7a025813628077e5a6cde2bc5
2016-09-01 23:08:55 +00:00
Madan Jampani
aac5888bdd CLI command to display the value of a atomic counter
Change-Id: Ib37ea4d4949dc40a43ddea1b071692783751a101
2016-08-31 21:43: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
Ray Milkey
ab87ac444f Prevent wipeout command from failing STC runs
Change-Id: I07ec96d408732fbd9e9e47ffcdc22b7bf850227e
2016-08-26 20:48:52 +00:00
helenyrwu
2a67490040 Implement path protection for point to point intents
Change-Id: I3f3627e7c2a7e3ab017e46655692ab70fdeae413
2016-08-15 21:26:41 +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
385db9a136 Use not available by default on annotate device command.
Change-Id: I07fc70e43d2b90861a06ca67f23c7d1f1ff4e0aa
2016-08-08 23:45:01 +00:00
Kavitha Alagesan
c69c66ae54 Merged master fixed conflict.
Change-Id: I1260048f4cc90c422ce6033d506c25ec38d6cc3a
2016-08-08 17:56:09 +00:00
Yuta HIGUCHI
1d547bf406 [ONOS-4513] decouple optical-model from CLI
- core/cli is now optical-model clean
- Add command for pretty printing optical-ports

Change-Id: I2926ef6d52971d1a7f6642dfe4098d7ed2422363
2016-08-03 18:54:55 +00: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