3637 Commits

Author SHA1 Message Date
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
Jayasree Ghosh
e7a240c0a1 FIX for ONOS-5260: METER AppID Display on GET, Precedence Range Issue
Change-Id: Ia82b8d70de0b5d824d808f9593ada64d3c1fbd09
2016-09-15 23:57:53 +00:00
Madan Jampani
3b8101a304 Refactored IntentPartitionService as WorkPartitionService
Change-Id: Ic5cf1978b7fce55b34f84eae9b03c8f9ddcfb9c1
2016-09-15 21:09:32 +00:00
Madan Jampani
3188803339 Fixes javadoc errors
Change-Id: I85027b75520cb2087f177d282e2f5a5ec28d1b6a
2016-09-14 21:48:14 +00:00
Jimmy Yan
32bcecafef Add range checking methods to PowerConfig
Change-Id: I8c113df90a8225db34256856cb2eb80ee7d68a9e
2016-09-14 19:58:12 +00:00
Madan Jampani
2914e4e73c StorageService API for creating AsyncDocumentTree primitive
Change-Id: Ib7c3f19beb7b26a5b69161cf972c3c64d0be94b3
2016-09-14 19:05:18 +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
Madan Jampani
79924fad87 Supporting Atomix classes for DocumentTree distributed primitive
Change-Id: I754222337401f90f976d4152b6abbdf2e1a4df8e
2016-09-14 00:48:01 +00:00
Brian O'Connor
a1d90cfcd3 Removing source_under_test which has been deprecated from Buck
Change-Id: I598b704d9ef77c483bb3c4f83198833d07b38ae1
2016-09-13 16:35:07 -07:00
Brian O'Connor
c9b64dcabd ONOS-5271 pendingDevices is used to track installation progress,
thus it is mutable.

This reverts commit e38b866af5ad7ec3938ad662a46798f535a9fad8.

Change-Id: Ie71a4cf2d795e2fd781e96fc1274cfcbfc659cb5
2016-09-13 23:04:57 +00:00
Brian O'Connor
09d90f0e7f ONOS-5268 Intents don't properly transition from WITHDRAWING to INSTALLED
If the same path is selected, the flows will not be reinstalled.
This patch fixes that.

Change-Id: I78da0015f7e3b39f3b7ff842f821053c2494b8e6
2016-09-13 22:24:28 +00:00
Madan Jampani
be68a83547 Fixes for checkstyle errors
Change-Id: If965adef131e62f8e27e4b82c8649e572b6b49a5
2016-09-13 14:25:24 -07:00
Madan Jampani
ad5b8c770d Updates to DocumentTreeNode + Simple implementation of DocumentTree interface
Change-Id: Icc162201a50de8ae48abdb8e769fb6ed86138a03
2016-09-12 19:51:43 -07:00
Aaron Kruglikov
7c99811274 Fixing a minor stylistic issue.
Change-Id: I57b6e44e03c576be88c5f130f852d5ca5bcb00c9
2016-09-13 00:42:22 +00:00
sdn
94b001597a Fix for ONOS-5034
Change-Id: I61158511680851be375b93c365fc32c0573e9edc
2016-09-12 23:18:32 +00:00
Jonathan Hart
e255cc45f7 Add descriptive message for MessagingExceptions.
We can print this message in EventuallyConsistentMapImpl rather than printing
a stack trace which doesn't add any value because the exception always comes
from the same place.

Change-Id: Ia233e7ae8605b2b59ffd4ef834209fdaa86e9376
2016-09-12 14:50:24 -07:00
Sho SHIMIZU
e38b866af5 Provide pendingDevices explicitly
Change-Id: I2cc29d5672d11aa176c7fa774e9d66f32b2d300f
2016-09-12 18:04:12 +00:00
Sho SHIMIZU
4c7946891b Provide hasFailed explicitly
Change-Id: I3bacbbfcc84259b8bb6904d21b45a1e9e9e60e7a
2016-09-12 18:00:14 +00:00
Sho SHIMIZU
dfefecd592 Copy FlowOperationsProcessor defensively for thread safety
Change-Id: Ic5c920b0efc40d472d454b0e1a0305f16b39e98c
2016-09-12 18:00:02 +00:00
Jonathan Hart
dbaed99b19 Proposing to undeprecate the non-device-specific packet request APIs.
There doesn't seem to be any reason to require users to specify an empty
Optional when they want to request from all devices.

Change-Id: I2394bfa3ed07cae5c5f514dd24faea74409a33f4
2016-09-12 17:44:05 +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
Pier Ventre
57a61cde2c Fix the side effects introduced by https://gerrit.onosproject.org/#/c/10978/
Change-Id: I88f84f28d9c5243c6ce42c81914b0f87e41bbd3e
2016-09-09 14:03:43 -07:00
Sho SHIMIZU
5f70942683 Add comments describing immutability/mutability
Change-Id: I2fc947b3785c6edf1ad20eb432dafc1642781ca7
2016-09-09 17:35:30 +00:00
Madan Jampani
64ff13b415 Support for listening to DocumentTree modifications.
Change-Id: Ibe7c67e6615f5a19fe4c4c7dea182e1a59dc5eea
2016-09-09 17:20:42 +00:00
Madan Jampani
1184bc7865 DocumentTreeNode: add support for a version
Change-Id: Ib07503beda17b904ce6b6f52d7bf9d3622085a24
2016-09-08 23:46:11 +00:00
Thomas Vachuska
f5e6be4da7 Fixed javadoc error.
Change-Id: I591d9de7016c5e26f178614fc96f42150398bb27
2016-09-07 20:58:22 -07:00
Thomas Vachuska
c3984c65c3 Fixed javadoc error.
Change-Id: Ic103dad254d985076df00bdeab4bd436c1bbd7aa
2016-09-07 17:51:45 -07:00
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
Madan Jampani
d4684b4004 stc work queue test improvements
Change-Id: I8b9335b0bbfdc8a447c5955bf3621962ff112cb2
2016-09-06 20:59:07 +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
Madan Jampani
307a21ecd3 Utilities for composing future results
Change-Id: Ie2ecfdedb69638fe7131879caa3b3708c4746006
2016-09-01 23:09:46 +00:00
Sho SHIMIZU
ad4f2cd9da Apply Null Object pattern
Change-Id: I9b4d30114b22dcd32b228e4f17bb541beed4ebed
2016-09-01 22:11:51 +00:00
Sho SHIMIZU
c9e4bb0048 Remove redundant field
Change-Id: I6a7adbce08e589e29763b1f7144d3a8d8742df9d
2016-09-01 21:35:00 +00:00
Sho SHIMIZU
9f95074450 Make field final
Change-Id: I19f2ad98e56352570478a66f896c1e9c6a3573e5
2016-09-01 20:38:01 +00:00
Sho SHIMIZU
f4fd3de3d6 Refactor: Rename and inline to simplify inside of the loop
Change-Id: I445eb6505c99d770e612c43eb8fca6d53cf806d4
2016-09-01 18:57:09 +00:00
Sho SHIMIZU
2ad5f410e4 Refactor: Get updating pendingDevices out of the loop
Change-Id: I1b1c5ac141a68a6d6308238ae0934249c7a3af96
2016-09-01 18:50:09 +00:00
Sho SHIMIZU
8efc89605b Reformat code
Change-Id: Icde0d7e8806f59da99082089a83dda26b23d12a8
2016-09-01 18:12:58 +00:00
Sho SHIMIZU
5711ce1131 Add mapping function to simplify process() implementation
Change-Id: I732920bc81d6955b84a222b095bfa18c6974abe3
2016-09-01 17:48:06 +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
Ray Milkey
c7104671f0 Fix for Mastership exception fetching timestamp - from Madan
Change-Id: Ifec4fe8a559a7d5832afc8eb62c936b28fffc186
2016-08-31 20:43:18 +00: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