1341 Commits

Author SHA1 Message Date
Ray Milkey
54a78514d2 Starting snapshot 1.10.0-SNAPSHOT
Change-Id: Icd6983be6a52293fb8a846a02d5e314c2c7aeaf0
2017-02-13 11:13:52 -08:00
Ray Milkey
57b510152e Starting snapshot 1.10-SNAPSHOT
Change-Id: I800d5d9e7f23793f5288457bca449ca382896723
2017-02-13 11:06:55 -08:00
Ray Milkey
de84cdde9a Starting snapshot 1.9.0-SNAPSHOT 2017-02-13 10:54:12 -08:00
Ray Milkey
8588c48114 Tagging 1.9.0-b3 2017-02-13 10:52:31 -08:00
sivachidambaram subramanian
dde26b65af FIX-FOR-ONOS-5938
Change-Id: Ica62bac9b37e0d970f1995983c25961d050985e0
2017-02-07 23:34:59 +00:00
Pier Luigi
e6caf6877b Fix for [ONOS-5875]
- Delays the resubmitting of Intents in Installing/Withdrawing state

Change-Id: I0ccb214053429749752929fcf78f968beb950a79
2017-02-07 11:02:28 -08:00
Pier Luigi
13b287fe31 Fix for [ONOS-5825]
Changes:
- Adds exception management in the mgr;
- Improve logging of the clean up;

Change-Id: I3ca94761e5b4550b7f8df34e9de4a481bc546be3
2017-02-07 18:30:36 +00:00
Pier Luigi
9b1d626905 [CORD-783] Greedy learning of IPv6 hosts
- Opportunistic learning of IPv6 link local addresses

Change-Id: Ic94a8239c1ae81fc83453d1a29dfc8bd9803b531
2017-02-07 18:04:22 +00:00
Thomas Vachuska
2323596967 Added code to intent unit tests to pre-emptively unbind ID generator to avoid cascading failures.
Change-Id: I2e5aff44a90ceeaaad71d7154b79f20edab620a7
2017-02-03 11:44:15 -08:00
jaegonkim
7e876633c8 [ONOS-5903] Intents always installs first path. Traffic path load is not distributed.
+ Adding HashPathSelectionConstraint
            + Adding '--hashed' option in add-point-intent cli for intent hashcode based path selection
            + hashed path selection % size bug fix

Change-Id: I2e867934a0bbed66301118973d7e1d1483d7cb0e
2017-02-03 02:01:49 +00:00
Yuta HIGUCHI
51590ff58c Ensure all Intents reaches installable state.
Previousely, there was an implicit assumption that
all Intent will reach installable state at same # of compilation steps.

ONOS-5855 opened a possibility for an Intent to be compiled down to
multiple kind of installables.
As a result, assumption that all Intents will reach installable
state after same # of compilation steps is likely to break.

This patch will wait for all compilation result to reach installable.

Change-Id: I307f39b660b586fc4cd98be9d1212c32163f0a90
2017-01-31 17:20:29 +00:00
Yuta HIGUCHI
3026c9b6e0 ONOS-5921 Fix isInstallable test logic
- fixes regression introduced by ONOS-5855

Change-Id: If171d2401b2d8cdace6bf9dea9dbe0eb03890fcc
2017-01-30 22:20:27 +00:00
Aaron Kruglikov
1a15b063c7 Removing assert that will cause random failures and correcting range for mpls.
- fixes ONOS-5912

Change-Id: I870b5cec687470f43f9b44c4a9f650e4cb3ac9d5
2017-01-30 20:08:48 +00:00
Yuta HIGUCHI
63bbedd589 Add more error logging
Change-Id: I0e4feede9f23db9026635b79a3580675eef05733
2017-01-30 19:10:46 +00:00
Yuta HIGUCHI
d5324f3d61 log more details on unsupported installable error
Change-Id: I394123348e50d4c2bfd3c0fffda0707c30eefdf5
2017-01-27 23:13:53 +00:00
Yuta HIGUCHI
327392107d Use marker in ProtectedTransportIntentCompiler
- for ONOS-5827

Example:
onos> intent-details
Key: 0x9 ID: 0x9
 Request: INSTALL_REQ Current: INSTALLED
 intent: ProtectedTransportIntent{id=0x9, key=0x9, appId=3-org.onosproject.cli, priority=100, treatment={immediate=[NOACTION], transition=None, meter=None, cleared=false, metadata=null}, one=of:000000000000000d, two=of:000000000000000e}
 installable: FlowRuleIntent 0x10
  resources: protection1, fwd
  links: of:000000000000000d/7 -> of:000000000000000a/3, of:000000000000000a/4 -> of:000000000000000e/3
 installable: FlowRuleIntent 0x11
  resources: protection1, rev
  links: of:000000000000000e/3 -> of:000000000000000a/4, of:000000000000000a/3 -> of:000000000000000d/7
 installable: FlowRuleIntent 0x12
  resources: protection2, fwd
  links: of:000000000000000d/2 -> of:0000000000000005/6, of:0000000000000005/9 -> of:000000000000000e/2
 installable: FlowRuleIntent 0x13
  resources: protection2, rev
  links: of:000000000000000e/2 -> of:0000000000000005/9, of:0000000000000005/6 -> of:000000000000000d/2
 installable: ProtectionEndpointIntent 0xa
  resources:
  links:
 installable: ProtectionEndpointIntent 0xb
  resources:
  links:

Change-Id: I7d2411346a11c2550490c3b77353feb5e6067b1d
2017-01-27 21:54:54 +00:00
Yuta HIGUCHI
dcfa31ab0e ONOS-5603 ProtectedTransportIntentCompiler
Change-Id: I681f24662d8e9be06f1e216fa9aa45b1dd44757d
2017-01-27 21:54:54 +00:00
Andreas Papazois
055489695b ONOS-5855 Intent installer for Protection
- This patch is effectively combination of following to unblock
  protection related code:
  + Intent installer and operations for domain intents.
    Change-Id  Id4597baebf587b1bc9b3ae9013383ae50472fa4c
    by Andreas Papazois <andreas.papazois@gmail.com>
  + ONOS-5604 IntentInstaller for protection
    adds ProtectionConfigOperationContext
    Change-Id Ia9f5ddd44c9765867b5e2daaa7a7478c1dc2f2e3
  - removed dependency to Intent Domain related classes.

Change-Id: I027eedb020b3f4240c545dc92e47c4262d8b6ec6
2017-01-27 21:54:54 +00:00
yoonseon
322c9c3520 [ONOS-5731] Implement skeleton of VirtualNetworkPacketManager
Changes
1. Added VirtualNetworkPacketManager
2. Added VirtualNetworkPacketStore interface and impl class
3. Added VirtualPacketStore impl
4. Simple test cases are added

Todo
1. More test cases

Change-Id: I86f0484a9ee038dab8716703f0e5e41cbcf30cb1
2017-01-26 20:22:09 +00:00
Yuta HIGUCHI
1d0d9cc89e ONOS-5604 ProtectionConfig listener
- It should now be possible to call ProtectionBehaviour via netcfg REST

  $ onos-netcfg $OCI protection_config.json

  For example JSON file, see
   core/net/src/test/resources/org/onosproject/net/behaviour/protection/protection_config.json

Change-Id: Ida78eff32ed66ebb6618a4ad52f42c0d97c7340c
2017-01-25 18:52:34 +00:00
Victor Silva
0282ab8e95 [ONOS-5797] GroupService: add setBucketsForGroup
Add method to set all buckets from a group, overwriting the
previous group buckets entirely. Useful for edits that before
required two operations: removing the buckets and then adding
others. It can all be done with one OF message in the end.

Change-Id: Ic5669603ed4fd18b8efaa8d0253ab9d7b1e870f5
2017-01-25 17:13:44 +00:00
Yuta HIGUCHI
a255bb4f69 ONOS-5595 netcfg for protection
- ProtectionConfig
- TransportEndpointDescriptionCodec

Change-Id: I79e304a20e9d1f95a4b432542738c64102550650
2017-01-25 17:12:30 +00:00
Jon Hall
a90c44c0a3 Surpress excess warning messages
Don't ask for role of NONE when a device is disconnected and role is
already NONE

Change-Id: Ib86335cc17847c820c33743897ae087765271be9
2017-01-25 16:57:50 +00:00
Andrey Komarov
2398d960b9 Vector cost proposed to TST on 2016-07-13
First part implemented: weight interface introduced and integrated, default weight implementation added.

Change-Id: Ia46f1b44139069aa171a3c13faf168351bd7cc56
2017-01-23 17:27:20 +00:00
Luca Prete
d26ea65e84 ONOS-5799: Make SP2MP compiler partial failure constraint aware
Change-Id: I741c3a22916e7e51e5882bd3993d425e78f18bda
2017-01-20 16:41:06 +00:00
Pier Luigi
37b687bdf5 Adds utility functions related to the link local addresses
Change-Id: I26045542d4f9d60a0d7d0905087136b995f8c03e
2017-01-20 16:19:02 +00:00
Ray Milkey
287b4ae810 Starting snapshot 1.9.0-SNAPSHOT 2017-01-19 15:21:17 -08:00
Ray Milkey
2557ba3375 Tagging 1.9.0-b1b 2017-01-19 15:20:17 -08:00
Jon Hall
cbd1b39f58 Sonar fixes
Rule: Use isEmpty() to check whether the collection is empty or not.

Change-Id: Ib5ab56b2263623b297db56c5cac2c2ee80e12725
2017-01-19 20:24:18 +00:00
yoonseon
c6a6927813 [ONOS-5833] (vCore) Refactor vnet services
to enable event delivery mechanism

Changes
1. Abstact Vnet Listener Manager is added
2. Refactor Vnet services to use it

Change-Id: I178342bfc882c0739f216960358a281903e1385a
2017-01-18 22:21:11 +00:00
Saurav Das
d5ec9e992f Adding to the 'devices' cli command an output that displays the local connectivity of a device.
For example, "id=of:0000000000000203, available=true, local-status=connected 18m7s ago, role=STANDBY, ..."
Also increasing the resolution of the TimeAgo utility.

Change-Id: Ie1b89bd193552e0edd38a9ca28c5ce99b1d27c19
2017-01-17 22:41:43 +00:00
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
Sho SHIMIZU
f84ea7fb57 Output log on a failure of resource registration
Change-Id: I9a98dc49ae0f5f265fdc3b03142181348f86ee0f
2017-01-11 17:56:37 +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
Pier Ventre
2c433ce4d8 Fixes [ONOS-5742]
Changes:
- Fixes the problem of "missing" installation contexts
due synchronization problem on IntentInstaller;

Change-Id: Ia8f9fa27f4d23ad390d73fe40739490836af178f
2017-01-10 17:43:46 -08: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
Bharath Thiruveedula
651a7daf73 [ONOS-5192]Make devices unavailable when master fails
If the devices has no standby nodes and if the master of the
device is down, then this patch makes the device unavailable

Change-Id: I470187e13c93a7aa83c961a3d037e65b2627fc29
2017-01-04 18:29:53 +00:00
Sho SHIMIZU
4c7fcdff5f Use more functional idiom
Change-Id: I125dcb795b8b9dc7651a5b5891c4687368530db7
2016-12-22 11:17:43 -08:00
Pier Ventre
78e73f6d29 [CORD-653] Fix host monitor and provide utility functions
Changes:
- fixes host monitor generating correct probe;
- provides and tests utility functions to calculate well known address;
- provides utility functions to craft ndp solicit and ndp adv;
- provides utility functions to craft arp request;
- provides utility functions to craft icmp and icmpv6 response;

Change-Id: I5a4fa89e549fd665a48e51ba3438932849f6627c
2016-12-14 17:54:11 +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
Yuta HIGUCHI
1f72203ec2 Add missing dependency during test run
- Inject LinkCollectionIntentCompiler dependency on JUnitTest run
- Add sanity check on LabelAllocator construction

Change-Id: Ic7f1a8a85f5dcc85c9ffe1d2c25c2dc509e08d30
2016-12-03 14:02:41 -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
Yuta HIGUCHI
3a2a987cff ONOS-5701 fix for NPE symptom
Change-Id: I6cf2035ada7eec2c50400013aaa91ada22d605ae
2016-11-29 20:24:23 -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