1352 Commits

Author SHA1 Message Date
Michal Mach
ce774338fa [ONOS-5911] Port removal after receiving OFPR_DELETE port status reason.
Change-Id: I1f3f6c752da5f989a2d727f378e9f04fbbb71341
2017-02-23 00:24:21 +00:00
Yuta HIGUCHI
3120778d81 CLI to configure extra link attributes
Change-Id: I841857dc1f281a69565a68d38e99621ed15b62c9
2017-02-21 18:46:28 +00:00
Yi Tseng
2ef80144d3 Resolve NullPointerException when release resource
Change-Id: I1cd5dc20b9506ad934cebe5e7a2a7dfdadc170ea
2017-02-18 00:51:26 +00:00
Yuta HIGUCHI
f92598be5d Fix reference comparison of object
- fixes ONOS-6023

Change-Id: I24e58b46d0c7cd65e55ecc0e54f76c5cb7ff649c
2017-02-17 23:30:52 +00:00
Yuta HIGUCHI
7438f5a982 Mechanism to add Port annotation via netcfg
- intended to be used for driver to support ONOS-5895

Change-Id: Iddcf6f1b99273e8f8670b5f64fc9831e5f4ce3cd
2017-02-17 22:28:18 +00:00
Yuta HIGUCHI
59bde769a1 minor trace logging fixes
Change-Id: I9229aa551532470b0581f2f17acb0be4793c24a7
2017-02-17 09:46:21 -08:00
Simon Hunt
bc30e68753 More plumbing of grid coordinates vs. geo coordinates.
- Added background reference parameter to layout command
- send correct location data to client for devices, hosts

Change-Id: Ic00bda76f4e4bc8d3e23e07a08f3bc5367ec85a9
2017-02-16 15:46:59 -08:00
Luca Prete
de10c78a4b ONOS-5808: Allocate BW from ConnectivityIntentCompiler and unit tests for partial failure
Change-Id: I2eb3c16efbce619db6d0d2ba415a35752a61ece4
2017-02-16 21:32:32 +00:00
Luca Prete
670ac5dd95 Resource group to share resources between intents
Change-Id: I5bf7d4261197449924d07dabac841cf8ccbe9389
2017-02-16 21:14:05 +00:00
Yuta HIGUCHI
fa9ee8c13f Minor improvements around Scalar weight.
- ScalarWeight should be immutable
- Added constant for default weights
- Added factory method

Change-Id: I700e89abe968838a5049a441c37a92ffdb63f1bc
2017-02-15 23:14:57 +00:00
Yuta HIGUCHI
5691faf532 Add log on ProtectedTransportIntent compilation error
Change-Id: Ie6ca008fc88f0168e4ce81129e73d235f8a9c1a1
2017-02-14 00:47:12 +00:00
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