1270 Commits

Author SHA1 Message Date
Simon Hunt
d7395c832b Added UiTopoLayoutId network config to BasicNetworkConfigs.
Change-Id: I3ec54a883e0b79f3cce5e9aff2f7ae7d56cc593e
2016-10-21 21:45:49 +00:00
Ray Milkey
ce48f968ea ONOS-3600 - use separate dispatch queues for different classes of events
Change-Id: I139a3f4eb58db233ac009d03664281eefe357157
2016-10-21 19:40:20 +00:00
Simon Hunt
1bee52920f Partial revert of hosts/regions work to fix NPE with null provider.
Change-Id: I7dacad818ca9ffa2ea8085c499990c8e92644607
2016-10-14 11:19:14 -07:00
Simon Hunt
351282d5fc Revert "Fixing Hosts filtered by RegionId... for topo-2 view."
This reverts commit 4aef6c371a5fd25171ef9ea8faf193d662c5544c.

Change-Id: Ib2959eb73686af2788525710e33f8fc8db78b819
2016-10-14 16:27:48 +00:00
Simon Hunt
4aef6c371a Fixing Hosts filtered by RegionId... for topo-2 view.
Change-Id: I7779edc5e25957e9fcd0203b05942e9122461b13
2016-10-13 19:48:31 -07:00
Simon Hunt
f59d36b054 ONOS-5411: Introduce basic region config.
Change-Id: I3f58e5758d0b350a9e8a03093a1475dbbacfc446
2016-10-13 21:23:57 +00:00
Yoonseon Han
6c60389e14 In vnet CLI, separates virutal port creation and binding operations.
Original usage with specifiying a phyiscal port is also in supporting.

Changes.
1. vnet-create-port allow to create virtual port
   without a specific virtual port
2. vnet-bind-port command is added to newly bind or to update
3. Virtual binding point is changed from Port to ConnectPoint.

Change-Id: I4c8f9a2b9b2786ba519ead3559d7f005390fee86
2016-10-13 18:38:44 +00:00
Pier Ventre
973bb03e63 Fix [ONOS-5467]
We were missing the selector during the
building of the sp2mp and mp2sp.

Change-Id: Ica456e7c92ef346721ce3f4ceccaf55033d25029
2016-10-12 07:25:24 +00:00
Steven Burrows
19e6e4fa6e Implementing region hosts for topology 2
Change-Id: I6d1e45b1152b2387d4ff981dc0666868235eb1c3
2016-10-06 18:24:18 +00:00
Yi Tseng
2a81c9de9e [ONOS-5264] [ONOS-5242] Intents w/ FilteredConnectPoint
Change-Id: Ibe9062c904ad9a6c3ba001fe57be7cec49eb8a4d
2016-10-06 02:27:02 +08:00
Prince Pereira
3ff504c8e8 Fix for ONOS-5175. GroupId refactoring.
Change-Id: I951392bdc69fe1ef694d321164b0b49032617d6b
2016-09-29 16:22:13 +00:00
Brian O'Connor
a78f060013 ONOS-5309 Clearing installables from intent data object on successful uninstallation
Change-Id: Ic77af12f98bc1519efb2e2703223e340aa5b20e4
(cherry picked from commit 24389970b336c3bb2fb883f2aaa87f7b457bde4a)
2016-09-28 21:38:07 +00:00
sdn
5e935458fe Fix for ONOS-5033 hosts - dynamic or static
Change-Id: I3791370db0037968003abc23c918c63119d2dba2
2016-09-27 17:18:48 +00:00
Brian O'Connor
a67f8f251c Fix spelling error in LinkCollectionCompiler.java
Change-Id: I27d5c0bb568f3af1a5d4af1b1862dcd63b06f930
2016-09-23 23:18:21 +00:00
Victor Silva
4e8b783c67 [ONOS-5170] GroupStore: add purgeGroupEntries
The GroupStore exposes purgeGroupEntry, which purges
from the store by a specific device.

Add purgeGroupEntries, to purge entries from all devices
from the GroupStore, and expose purgeGroupEntries to allow
applications to purge all group entries from the GroupStore
without specifying a device.

Change-Id: I735f011a1fbbfa3ce8f1dd57a591a81c4377b012
2016-09-21 17:55:33 +00:00
Victor Silva
f2b9d03102 MastershipManager: make "useRegionForBalanceRoles" a property
useRegionForBalance roles has been available for a while but
seems to only be accessed directly (it's a public field). It'd
be useful to be able to change that using the CLI.

Change-Id: If8c6dfbb300513e4d8dc0ba3d0d8f6ce9eac036a
2016-09-21 00:26:12 +00:00
Yuta HIGUCHI
a0b0a1395a Keep using same iterator.
Change-Id: Icfdb9d79c188677dd89c851644ceb855e3bb9781
2016-09-21 00:23:04 +00:00
Yi Tseng
155370e957 Fix LinkCollectionCompiler duplicate flow rules problem
Use outputPorts.keys() might generate duplicate flow rules.
Use keySet() can fix this problem.

Change-Id: I8c1c47ccb8835c174b639cf4a5e94c1c1b36484d
2016-09-20 19:59:43 +00:00
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
Madan Jampani
3b8101a304 Refactored IntentPartitionService as WorkPartitionService
Change-Id: Ic5cf1978b7fce55b34f84eae9b03c8f9ddcfb9c1
2016-09-15 21:09:32 +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
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
sdn
94b001597a Fix for ONOS-5034
Change-Id: I61158511680851be375b93c365fc32c0573e9edc
2016-09-12 23:18:32 +00: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
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
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
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
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
Sho SHIMIZU
2712419ddb Use primitive boolean because of being synchronized already
Change-Id: Ie9d454fe03a92a9f865d45882de5749f55f2f2f9
2016-08-31 07:31:15 -07:00
Sho SHIMIZU
b837cb72cf Use light collection because of being synchronized already
Change-Id: I206e8a392f8bb158a8de42ef0c536e509fd21433
2016-08-31 07:31:14 -07:00
Sho SHIMIZU
2d7c53932d Make FlowOperationsProcessor thread-safe with synchronized modifier
Different threads could call run(), satisfy() and fail() method.
Each of the methods reads/writes multiple fields during the method call.
These method calls need to be synchronized to gurantee to see the
latest value.

Change-Id: Ic252b56e0902170d7e0fdb83f96f0fb2e55ec56b
2016-08-30 14:28:07 -07:00
Sho SHIMIZU
7c9b73ab7d Tighten method visibility
Change-Id: I47d46be0c36bf3ee7e4a9bab7f6dd3dfc4d80256
2016-08-30 14:09:49 -07:00
Sho SHIMIZU
ecfbeb60b7 Read the latest value of lastSink
Multiple threads could access the field, lastSink, then they should read
the latest value of lastSink

Change-Id: I279ed6fa3db357008603cde5cb2c57671e66b33c
2016-08-30 13:34:42 -07:00