1301 Commits

Author SHA1 Message Date
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
Bharath Thiruveedula
99849dc9d1 [ONOS-4992] Modify the return signature for FlowRuleService for consistent return object
Change-Id: I06154d79ea9d875c503369dcb77d5fffcfbd4467
2016-11-22 22:43:26 +00:00
Pier Ventre
5c4a07680f Fixes LinkCollection compiler
Changes:
- adds the ability to handle co-located ingress/egress points;
- adds new unit tests to test the proper handling;

Change-Id: I63da5057e716cc94fcca8f13debafc44633b6820
2016-11-22 11:12:30 -08:00
Yuta HIGUCHI
652f27f0fe Inherit Intent Key on compilation
- Added Intent#key() method description
- Inherit key field from parent Intent during Intent
  compilation process
- Added assertion to existing unit tests

Change-Id: Iff85c5ec448b3f378957b7a20af865ad96cc3216
2016-11-21 21:37:09 +00:00
Pier Ventre
ffe88d6de1 [ONOS-4595] Harmonize the sb of the Intent Framework
Changes:
- Moves PointToPointIntent to LinkCollectionIntent;
- Moves PointToPointIntent to the new FilteredConnectPoint API;
- Updates unit tests;

Change-Id: Iade5090b9289c5b2d9f4ee41aa0d2d01b5e3699c
2016-11-18 17:58:27 +00:00
Pier Ventre
98308ab4a3 [ONOS-4595] Harmonize the sb of the Intent Framework
Changes:
- Moves HostToHostIntent to LinkCollectionIntent;
- Updates unit tests;

Change-Id: I092f77e695e724904be1a7e9c92b27df85b30e48
2016-11-18 17:05:15 +00:00
Jihwan Kim
a19e1b7393 [ONOS-5560] remove unneecessary comments
Change-Id: I0ae491a3be2a97a35e724f79fcdf2e084a8fbabf
2016-11-18 16:02:41 +00:00
Pier Ventre
81c47bfe1c Fixes [ONOS-5415] and [ONOS-5491]
Changes:
- Introduces ordering between core ports and egress ports;
- Introduces ordering between egress ports;
- Introduces ttl_in and tll_out in the link collection compiler logic;
- Optimized push/pop mpls/vlan actions;
- Optimizes dec ttl related actions;
- Optimizes ttl_in and ttl_out actions;
- Makes the optimizations configurable;

Change-Id: I60f187031e89c366ec9c79d1652a5fb0da96c206
2016-11-18 03:21:39 +00:00
Pier Ventre
766995d7ff [ONOS-5239] Adds encapsulation to LinkCollectionIntent
Changes:
- Adds encapsulation to LinkCollectionIntent;
- Cleans the code and adds comments;
- fixes ethertype issue for mplsPop
- Adds unit tests;

Change-Id: I4398426e73c5a9dd085689cb56162bd2c3b8f5af
2016-11-18 03:14:10 +00:00
Brian O'Connor
382243012a ONOS-4858 Resubmit pending intents with same timestamp
This will avoid needless recomputation if the intent processing is delayed.

Change-Id: I851c4ce65271a250da89f919886a3f26a774d20c
2016-11-16 17:07:01 -08:00
Yuta HIGUCHI
37dca33267 Exclude alien Port from Edge ports
- Remote end of inter-domain link can contain Port
  not managed by local cluster. Exclude them.

Change-Id: I74cd705d98d16ffefd14242ac273272bb1e6677d
2016-11-15 17:57:48 +00:00
Jihwan Kim
fc1bf3406b [ONOS-5560] IntentCleanupTestMock::corruptPoll fails very rarely due to race
Change-Id: I24fa09b2c6cfd2a9f95fd8fccc168bcc25b01c78
2016-11-11 17:54:49 +00:00
Ray Milkey
ef79434ff7 Fix Javadoc warnings
Change-Id: Ia5fe7785f76da92abbf940599cbd3d7dc6ac2cc5
2016-11-10 18:42:48 +00:00
Simon Hunt
1e20daebb7 Added UI_TYPE annotation key, and augmented BasicDeviceConfig and BasicHostConfig to support defining a custom "uiType" value to override the glyph used in rendering on the Topology View.
Change-Id: I615540419bce6e89e3761ef6ed3b9906be64b266
2016-11-09 18:35:13 +00:00
Ray Milkey
5d08e1eed0 Unit tests for virtual host codec.
Change-Id: I8abd25e00eebe615fad9ab37192443f5076b6933
2016-11-08 16:50:56 +00:00
Sho SHIMIZU
c0bfe7c992 Revert "Copy FlowOperationsProcessor defensively for thread safety"
This reverts commit f752afc1cf0b850e930d146cac67aac8943cc82a.
This reverts could reduce the risk of ONOS-5271.

Change-Id: I32817403ef803dcf6adfbb98f99f8724ca7575d7
2016-11-07 17:42:04 +00:00
Sho SHIMIZU
b9e0ab77db Revert "Provide hasFailed explicitly"
This reverts commit 3f7513ef155ba22f44491bb73d284c5476c1cea2.
This reverts could reduce the risk of ONOS-5271.

Change-Id: I4be276bc169beec0fc86e6a06ea875951fb295b7
2016-11-07 17:33:41 +00:00
Pier Ventre
f8543d837e Fixes [ONOS-5412] and implements [ONOS-5300]
Changes:
- Adds a new Interface for the selection algorithms;
- Re-implements FirstFit and Random selection;
- Adds a new option to select the algorithm;
- LabelAllocator provides a single interface;
- Fix MPLS encapsulation;

Change-Id: Ib07942355c45b7b9e7093fa85964c2ac20800b60
2016-11-07 17:21:44 +00:00
Yuta HIGUCHI
4d19ab9398 Adding javadoc to IntentInstaller.OperationContext
Change-Id: I9b37b4181d9130fccbed19bb13b3c1df0c0d0e0d
2016-10-28 23:32:43 +00:00
Jonathan Hart
617c284b54 Remove log message about default cluster metadata provider.
Change-Id: Icfcc4fe722732cfd49883ea1746c1699c63a6736
2016-10-27 22:22:31 +00:00
sangyun-han
6d33e807cb FIXME: Move to app package
Change-Id: Iac84243d5b4767109d3c375efa36fd67bf9892d0
2016-10-25 16:32:32 +00:00
Brian O'Connor
a91dc198c8 Adding FIXME to IntentCleanupTestMock
Change-Id: I8e0e59a1c07055eefb81d434bcbd129748497585
2016-10-25 00:46:14 -07:00
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