1866 Commits

Author SHA1 Message Date
Madan Jampani
5bdebd5c18 Javadoc updates to DocumentTree classes
Change-Id: Id55d317de95fc6b50849de58a1d813a7cc1216e7
2016-09-07 23:34:29 +00:00
Aaron Kruglikov
b789b5f8c5 Adding an initial API for the DomTree data structure.
Change-Id: I55da78c11f49c1e5843cfefbe0a5eed02c59498b
2016-09-07 15:24:09 -07:00
Yuta HIGUCHI
734e1e6ffb Cosmetic fixes to Band
Change-Id: I4f4981b12a758d3a773fd805525b21f07ad00b9b
2016-09-07 09:12:20 -07:00
Madan Jampani
4275587991 Include ConsistentMap name in Timeout exception message
Change-Id: Ibfdd898f98b59862f2ed0e7d201ed265c1dcd592
2016-09-06 19:31:06 -07:00
Yuta HIGUCHI
625fb64828 Fixing Protected P2PIntent Compiler issues
- Register ProtectionConstraint
- Workaround for NPE in P2PIntent Compiler
  buildFailoverTreatment sometimes throw NPE,
  when the Group was not available by the time building the head-end treatment.
- debug log and cosmetic fixes

This might be related to ONOS-5183

Change-Id: I5ffc78619951fd8c4a35e985b3b849a1702080e8
2016-09-06 21:07:31 +00:00
Pier Ventre
27d4257945 Support [ONOS-4593] and implement [ONOS-4594]
Changes:
- Adds extension to sp2mp intents;
- Adds extension to linkcollection intents;
- Adds extension to sp2mp compiler;
- Adds extension to linkcollection compiler;
- Adds re-ordering of the actions;
- Adds unit tests for both sp2mp intents and linkcollection intents;

Change-Id: Ib925e9066682e077a0bb4bbfd20a4382623b7541
2016-09-06 21:01:00 +00:00
Yuta HIGUCHI
23547b3814 Minor changes around ProtectionConstraint
- use factory
- implement toString

Change-Id: Ic30b2d3a7c2f6c65fac9b0971291d82af8ec23d7
2016-09-06 20:57:10 +00:00
Thiago Santos
7a174cf49b [ONOS-5184] Allow configuring cluster partition size
Adds a new parameter to onos-form-cluster: -s <partition-size>
to allow specifying the partition size to be used when creating
the cluster.

Change-Id: I4c31d6e97fe0fd811831296f41a09160bebb58de
2016-09-02 14:50:18 +00:00
Sho SHIMIZU
ad4f2cd9da Apply Null Object pattern
Change-Id: I9b4d30114b22dcd32b228e4f17bb541beed4ebed
2016-09-01 22:11:51 +00:00
Thomas Vachuska
e45ab44a6f Collections.emptyMap() produces an object that Kryo cannot serialize
Change-Id: I12c105ecbcff560a62e5e883f18c0e75dd69c078
2016-08-31 14:31:09 -07:00
Pier Ventre
647138f7d1 [ONOS-4387] Support for multiple selectors in mp2sp intents
Changes:
- Adds extension to mp2sp intents;
- Adds extension to linkcollection intents;
- Adds extension to mp2sp compiler;
- Adds extension to linkcollection compiler;
- Adds unit tests for both mp2sp and linkcollection intents;

Change-Id: I673c2b660d2364c510b1b3050ed3626ad2f37bda
2016-08-31 20:33:58 +00:00
Pier Ventre
f5d7236e14 [ONOS-5070] Adds mirroring functionality.
Changes:
- Adds mirroring behaviour;
- Adds mirroring description;
- Adds mirroring name;
- Implements for Ovsdb the mirroring;
- Adds OvsdbMirror entity;
- Adds constants related to Mirror table;
- Fix one issue related to Mirror table
- Extends OvsdbClientService introducing mirroring;
- Implements mirroring functionality in DefaulOvsdbClient;
- Support for different types of device id

Change-Id: Ie291f49b3c61b7998010f555ae11deb8c021063d
2016-08-31 16:56:50 +00:00
Simon Hunt
c217cb999d Updated topo toolbar to use mojo glyphs and give it a cleaner look.
- Changed color scheme / hover behavior
- Differentiate between regular buttons and toggle buttons (visually)
- (Added temp. placeholders for 'endstation' and 'relatedIntents' glyphs)

Change-Id: I0338b076fe71e58a274542360b2b077c93dd867d
2016-08-30 16:24:47 -07:00
Ray Milkey
3032af15c0 Fix javadoc syntax error - @throw -> @throws
Change-Id: I91853be5b1a73d460425221439f011a28fd2c5cd
2016-08-30 13:17:03 -07: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
Aaron Kruglikov
ed88ff683e Adding additional resources for instantiating async consistent treemaps.
Change-Id: I7bfc602ac22eda1844fea2a7b3e3133f83157bf3
2016-08-30 17:58:42 +00:00
Murat Parlakisik
c6759e80bd ONOS-4374 Enable installing flows with hard_timeout
Change-Id: I4e60e93aad44c7e8f8913fa4dd3ed5a2565d7034
2016-08-30 17:46:55 +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
Yoonseon Han
feb95f1632 Just a copy from FlowObjectiveAdapter of org.onosproject.sfc.util.
Now, FlowObjectiveAdapter is not exposed to external applications.
So, each App developer has to define own FlowObjectiveService in their test code.

I removed the previous copy in sfc package.
FlowObjectiveAdaptor is renamed into FlowObjectiveServiceAdaptor

Change-Id: I25545669eea3a73deebaf2a6f2c46e2ff2890b34
2016-08-29 19:19:13 +00:00
Deepa Vaddireddy
50ad080683 Fix for ONOS-5032 and ONOS-5034
Change-Id: Ib964252dd05754ce7069a7a82ccb1d1c29bfa978
2016-08-26 03:22:47 -07:00
yjimmyy
cfcb0535ae Add Oplink attenuation extension and channel power drivers.
Change-Id: I2558595b03cbb6cc58237dc48b8a03e83357fe1f
2016-08-24 22:12:22 +00: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
Madan Jampani
ecf9971d82 Update TestTopic to confirm to the new Topic API
Change-Id: Ieade9340ac32d50f4e8304f3a347687a77ef49e3
2016-08-22 10:05:20 -07:00
Madan Jampani
03fb8b24ef Topic: Support for passing a executor to subscribe method for invoking the callback
Change-Id: I9db485ee381c61fbfc38aba0c2bd90cb5af171e0
2016-08-22 16:55:40 +00:00
helenyrwu
a1c41154de Distribute failover event with topic
Change-Id: I8629e7e19ebd4a18f95b32ad3ce1eba7ddf4ecc6
2016-08-22 16:11:39 +00:00
Ray Milkey
dbf59f0281 Unit tests to improve API test coverage
Change-Id: I2193b1b29968f2d2b7ba3ddb5947a38343c193c8
2016-08-19 20:01:58 +00:00
Yuta HIGUCHI
7c298f3e9e Fix javadoc
Change-Id: I19b57879ccf76c085363b6be53dd0f838f5673bd
2016-08-18 14:32:32 -07:00
Madan Jampani
13f6515c70 Distributed topic primitive
Change-Id: Ia3ccd84c33075f297d7e6b9bc205efe92aec9bea
2016-08-18 20:46:55 +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
07e31cf54d Remove public from definition in interface
Change-Id: I7554f04a230a7a5cc85dda4cd6b41171a523fd80
2016-08-17 16:37:19 +00:00
Yuta HIGUCHI
4859b3ab6f Fix for Host2Host Intent issue.
- installing HostToHostIntent was failing on multi-instance cluster

Change-Id: Ib473a49459c333bfbe74fbcec8363473739cf424
2016-08-16 12:58:23 -07:00
Sho SHIMIZU
21d00698f1 Remove explicit type parameters which can be inferred
Change-Id: I62cd4df252bab6208e1b1cd37f8f8757b0cfc17e
2016-08-16 18:07:05 +00:00
helenyrwu
2a67490040 Implement path protection for point to point intents
Change-Id: I3f3627e7c2a7e3ab017e46655692ab70fdeae413
2016-08-15 21:26:41 +00:00
yjimmyy
b94f93b7a3 Implement Oplink drivers for port adjacency
Change-Id: I3cdc402c4dac544a7cb48544352df758c416345d
2016-08-15 18:28:57 +00:00
Sho SHIMIZU
8d50c8d075 Simplify String concatenation
Change-Id: I266cc74d80c22675cffd539260171f9044fc1b78
2016-08-12 17:29:02 -07:00
Sho SHIMIZU
070c319a40 Remove methods just calling its super
Change-Id: Id212e4b75e220e2304af0ed7892983f0a2141b8a
2016-08-12 22:46:57 +00:00
Sho SHIMIZU
3aa0b18455 Remove unnecessary static from enum
Change-Id: Ie2f356c47d7d85100b789a15d913502868d95e8a
2016-08-12 22:14:40 +00:00
Sho SHIMIZU
32ae9c54ce Remove unnecessary semicolon
Change-Id: I79c69ee98992e13374436e8bd2add4fd778eb966
2016-08-12 22:07:49 +00:00
Sho SHIMIZU
3437bdb069 Fix dangling Javadoc comments
Change-Id: I828f9bdf0c2b2205b9239c2ef5c85aadd83bb3f0
2016-08-12 14:57:37 -07:00
Simon Hunt
3d71252d1c Added endPortA/B to UiLink class.
Removed 'online' property from UiDevice, choosing to look up availability on the fly from device service.

Change-Id: Ib14ab371a11c442a30cf407f11d366271d087c68
2016-08-11 11:20:58 -07:00
Simon Hunt
f836a87af6 Added breadcrumbs array to topo2CurrentLayout response.
Included Region name in "closed region" data structures.

Change-Id: I1d4c223255b7ea8239f38c63d4caebe1bdeddf32
2016-08-11 15:00:58 +00:00
Yuta HIGUCHI
bef16cde61 Simplify ConnectPoint#toString format
for ease of reading logs.

Change-Id: I981cf877eb53f64e77fdef48bca30625942bc8f2
2016-08-11 03:20:31 +00:00
Simon Hunt
f4fd2a2e47 Clean up handling of lat/long geo-coordinates.
Change-Id: I64fca56c7deb9a8baa6c68558365ec2a8c38168c
2016-08-10 16:31:11 -07:00
Simon Hunt
6a8cb4f3e5 ONOS-4970: Device data for topology view -- WIP.
Change-Id: Ie5a0c65f38b32672570919c50c1f53b14d293d3f
2016-08-09 20:31:24 -07:00
Yuta HIGUCHI
013688cd62 typo fix
Change-Id: I0a55707e145fef97798d1eb4d88cedec50c42e52
2016-08-09 16:57:11 -07:00
Yuta HIGUCHI
df97013b13 Handle null secondary path properly
Change-Id: Ie537c9fc7b6751ca071b3c7bf1e465bafe7913d3
2016-08-09 21:33:00 +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
Simon Hunt
c13082f7fb ONOS-4971: Synthetic Link Data -- WIP
- Breaking out UiLink to subclasses for device links, host links, region links, region-device links,
    - (soon, also peer links).
- Augmenting UiLinkId to include regions as endpoints.
- Introduced UiSynthLink to encapsulate synthetic links bound to regions.
- Model Cache now computes synthetic links from the underlying link data.
- Added endPointA/B() and type() methods to UiLink.
- Updated topo2CurrentRegion response to include synth-links for the region.

Change-Id: Ifa62a15fbe0a58b134d92278b201fa7a72cbfa83
2016-08-09 16:44:48 +00:00
Srinivas Bandi
bc38cd417c Fixing ONOS-4875
Change-Id: I2b4fec44f623cc6df90c45c1cabc8c40601bf4b6
(cherry picked from commit 1a5491ecaf6e648a547ea1265796835f7a24d300)
2016-08-09 12:03:22 +00:00