1923 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
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
Brian O'Connor
c590ebbc12 ONOS-5691 ONOS-5742 Fixing intent framework difficulties
- Refactoring AbstractAccumulator to use less blocking synchronization
- Fixing bug in AbstractAccumulator that could leave some items
  without firing
- Updated IntentStore for resubmitting pending operations

Change-Id: Iaf240da65e11ceb7d7d745cf4e25bfb8c26ed1eb
2017-01-10 17:42:08 -08:00
Simon Hunt
c53681836a More removal of deprecated sid.
Change-Id: I0ae84f1154e394f91b9f54249bd7d4ce43a43bfc
2017-01-10 13:32:04 -08:00
Jimmy Yan
da878fcbf0 Add ROADM application
Change-Id: I50fa93cf3a69122f6434b46e831b254771159294
2017-01-10 19:21:29 +00:00
Simon Hunt
8a0429ad47 Remove deprecated "sid" parameter in UI events.
Change-Id: Ib39fe563109068e7a97df809e9dd1f9f7506fbc6
2017-01-06 18:10:40 -08:00
Yuta HIGUCHI
73ae7d7458 Fixing CondecContext javadoc description.
Change-Id: I58125babff31dcf5dd0ba773beee1c7775f11f4d
2017-01-06 15:39:02 -08:00
Yuta HIGUCHI
d0598ee4ed toString for PartialFailureConstraint
- for better representation on CLI, etc.

Change-Id: I8575608832f7c97ee6123ddd8d217d02d35d3bb7
2016-12-22 19:14:20 +00:00
Yuta HIGUCHI
4d0f89acce ONOS-5215 protection behaviour
Change-Id: Ia76c034fa9bb95d0048828f6bb80ac965dd053d8
2016-12-15 19:25:56 +00:00
Steven Burrows
ad75aa2027 Topo2: Fixed instance device count and mastership
Change-Id: Ic6790df426765f929a2a0b42fe416501643659ba
2016-12-14 22:39:37 +00:00
Steven Burrows
2762b24ea5 Topo: Update details panel to use Serial # instead of Serial Number
Change-Id: I97d8b07b961a7a8a017b8a4d62ff87d367dd0e2b
2016-12-14 21:41:30 +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
Kavitha Alagesan
b0c3a1a149 FIX_FOR_ONOS-2300
Change-Id: I40763b5e7db57d38ea366653918c53eb3ae9acde
(cherry picked from commit c78d3cec4e5cf30e3e4652a1c20fc8de7a80bda8)
2016-12-06 17:28:03 +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
Aaron Kruglikov
2f2e81e526 Fixing minor typo in static name.
Change-Id: Ib588575316d79893f6929d021b93dfb343a6e08d
2016-12-02 02:31:47 +00:00
Konstantinos Kanonakis
0a9031d8ae Introducing BandwidthProfileConfigBehaviour to manage policers/markers
- Creating BandwidthProfile Class to represent generic policers/markers
- BandwidthProfile can be Single/Two Rate, Two/Three Color depending on parameters
- Including fromMeter() method to convert a Meter into a BandwidthProfile
- Adding unit tests for BandwidthProfile class
- Creating BandwidthProfileAction class to represent a color (green/yellow/red) action
- BandwidthProfileAction allows remarking one of: DSCP class, IP precedence, Drop precedence
- Adding unit tests for BandwidthProfileAction class
- Creating DscpClass and IPPrecedence Enums and unit tests in org.onlab.packet
- Adding kBps/MBps/GBps methods in org.onlab.util.Bandwidth class

Change-Id: I54156329a527ebd9165d8f55e03e0782925caa2b
2016-12-02 01:55:37 +00: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
chengfan
fdd497c697 ONOS-5622 fix the map Map selection dialog style problem
Change-Id: Iaafd49725dff74deade4dd7d28ee4e9b72604f27
2016-11-30 19:55:09 +00:00
Pier Ventre
ee4a8f21f2 [CORD-545] Adds ofdpa actions in ONOS core
Change-Id: I98edc27162d7309b9d21f2c939430608e3e85c6e
2016-11-30 18:58:44 +00:00
Pier Ventre
db252ccbd4 [CORD-545] Adds QoS Index support in ONOS core
Change-Id: If7649bdf70f5a796466b8efc5798dc3346ea94a0
2016-11-30 18:44:16 +00:00
Pier Ventre
9cf536b4ea [CORD-545] Adds MPLS L2 Port support in ONOS core
Change-Id: I61d9b2c14580b4995fdcc96571745bfd00ee586f
2016-11-30 18:29:37 +00: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
Bharath Thiruveedula
99849dc9d1 [ONOS-4992] Modify the return signature for FlowRuleService for consistent return object
Change-Id: I06154d79ea9d875c503369dcb77d5fffcfbd4467
2016-11-22 22:43:26 +00:00
Yuta HIGUCHI
652f27f0fe Inherit Intent Key on compilation
- Added Intent#key() method description
- Inherit key field from parent Intent during Intent
  compilation process
- Added assertion to existing unit tests

Change-Id: Iff85c5ec448b3f378957b7a20af865ad96cc3216
2016-11-21 21:37:09 +00:00
Ray Milkey
85267006aa checkstyle rule to check copyrights
Change-Id: Ia9bab40b5fe64fca539058a4316371f7acc0f387
2016-11-18 18:40:44 +00:00
Luca Prete
092e895f0d Adding Encapsulation in VPLS and correcting bugs.
Change-Id: Idc0c1834ae2bbd0fdaf564fd65360cc0f018d18d
2016-11-18 18:38:23 +00:00
Pier Ventre
ffe88d6de1 [ONOS-4595] Harmonize the sb of the Intent Framework
Changes:
- Moves PointToPointIntent to LinkCollectionIntent;
- Moves PointToPointIntent to the new FilteredConnectPoint API;
- Updates unit tests;

Change-Id: Iade5090b9289c5b2d9f4ee41aa0d2d01b5e3699c
2016-11-18 17:58:27 +00:00
Pier Ventre
81c47bfe1c Fixes [ONOS-5415] and [ONOS-5491]
Changes:
- Introduces ordering between core ports and egress ports;
- Introduces ordering between egress ports;
- Introduces ttl_in and tll_out in the link collection compiler logic;
- Optimized push/pop mpls/vlan actions;
- Optimizes dec ttl related actions;
- Optimizes ttl_in and ttl_out actions;
- Makes the optimizations configurable;

Change-Id: I60f187031e89c366ec9c79d1652a5fb0da96c206
2016-11-18 03:21:39 +00:00
Pier Ventre
766995d7ff [ONOS-5239] Adds encapsulation to LinkCollectionIntent
Changes:
- Adds encapsulation to LinkCollectionIntent;
- Cleans the code and adds comments;
- fixes ethertype issue for mplsPop
- Adds unit tests;

Change-Id: I4398426e73c5a9dd085689cb56162bd2c3b8f5af
2016-11-18 03:14:10 +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
Brian O'Connor
382243012a ONOS-4858 Resubmit pending intents with same timestamp
This will avoid needless recomputation if the intent processing is delayed.

Change-Id: I851c4ce65271a250da89f919886a3f26a774d20c
2016-11-16 17:07:01 -08:00
Jordi Ortiz
75f5fb91c5 MAX value positive, check value only in public constructor.
The max value originated a negative value.

Change-Id: I00ba9168e42edcf4ebb3f689151089097d9b69a7
2016-11-15 23:46:07 +00:00
Jonathan Hart
584ea2d587 Unit tests for Neighbour Resolution Service.
This patch involves a refactoring to split the neighbour actions
implementation out from the main NeighbourResolutionManager class.

ONOS-5276

Change-Id: I082b401ae9046a1ed983610af05da112bd2683d3
2016-11-15 18:21:42 +00:00
Yuta HIGUCHI
37dca33267 Exclude alien Port from Edge ports
- Remote end of inter-domain link can contain Port
  not managed by local cluster. Exclude them.

Change-Id: I74cd705d98d16ffefd14242ac273272bb1e6677d
2016-11-15 17:57:48 +00:00
Yuta HIGUCHI
22ba76dd99 Minor improvement dealing with Port
- include annotations in DefaultPort#toString()
- add method to retrieve a Port using ConnectPoint

Change-Id: I75f24e53235f46fa8deeb62b55bec2ecafae907c
2016-11-14 20:21:43 -08:00
Pier Ventre
6f63005f9f [CORD-545] Adds OVID support in ONOS core
Change-Id: Ib0c195825e86c245e626a11b0eac5d7003b561b0
2016-11-11 23:26:57 +00:00
Yuta HIGUCHI
8e46acf783 Config utility class for JSON handling.
- Config class, which can also be used as CodecContext
  to easily deal with ONOS related JSON Strings

Change-Id: Ie6930f892d214b27725d98580c4ff83098e1c9ca
2016-11-11 10:54:53 -08:00
Author Name
e252a00e39 Implementation for ONOS-5327. Creating rest api for finding intent statistics.
Change-Id: Ic7facfe1507f8ce8507df0940d2c0bb8b62781be
(cherry picked from commit 5dd3d174e477528a05b0ead429bb629f46e4eb44)
2016-11-11 16:22:08 +00:00
Michele Santuari
576f09cf9f netconf provider basic unitest and fix ONOS-5532
Change-Id: I31f31ae5bea580d0cd5ee05bf88339002ea741fc
2016-11-11 16:19:37 +00:00
Ray Milkey
ef79434ff7 Fix Javadoc warnings
Change-Id: Ia5fe7785f76da92abbf940599cbd3d7dc6ac2cc5
2016-11-10 18:42:48 +00:00
chengfan
386620e93d [ONOS-3526]Web UI - Provide a 'Navigate to help page' link or button
Change-Id: I5260e625bb8890b31606dc31b43d4df84bd7eaf4
2016-11-10 18:09:22 +00:00
Simon Hunt
1e20daebb7 Added UI_TYPE annotation key, and augmented BasicDeviceConfig and BasicHostConfig to support defining a custom "uiType" value to override the glyph used in rendering on the Topology View.
Change-Id: I615540419bce6e89e3761ef6ed3b9906be64b266
2016-11-09 18:35:13 +00:00
Yuta HIGUCHI
6cad17936d Add resources to Intent.Builder
Change-Id: I9b1cfd48aebae8de82a1419ab38a3f09488a43a7
2016-11-09 02:14:30 +00:00
Yuta HIGUCHI
776f074b7d JSON Codec for FilteredConnectPoint
Change-Id: I5584361daa4b0753e583d97b201d5fa70e182778
2016-11-07 17:30:08 +00:00
Pier Ventre
f8543d837e Fixes [ONOS-5412] and implements [ONOS-5300]
Changes:
- Adds a new Interface for the selection algorithms;
- Re-implements FirstFit and Random selection;
- Adds a new option to select the algorithm;
- LabelAllocator provides a single interface;
- Fix MPLS encapsulation;

Change-Id: Ib07942355c45b7b9e7093fa85964c2ac20800b60
2016-11-07 17:21:44 +00:00