2042 Commits

Author SHA1 Message Date
Frank Wang
5733c387cc [ONOS-6208]Implemention of onos and loxi for OVS NAT and connection tracking support
Change-Id: I782422d41fdacc805b523b57c3bd0b6e67e483a2
2017-05-15 16:31:15 +00:00
Jordi Ortiz
df28ecdae7 [ONOS-6188] Notify to MeterListeners meter installation and removal on device.
Using the MeterStats entries and the actual MeterStore state of the meters notify
just before MeterStore converts the state to ADDED. Remove case is different since
the PENDING_REMOVE state in meter store corresponds to MeterStats meter missing.

Change-Id: I0fe46e1618312b816534c6a7bda7d9e618ca1f7e
2017-05-12 23:19:11 +00:00
Simon Hunt
bf59db2631 Topo2 - UiSynthLink aggregation in JSON structure.
- augment UiLinkId with Type field
- preparing for new JSON structure in Topo2Jsonifier
- additional unit tests

Change-Id: Ib8628fc26f72c0369bf8358af905bc6a75e31397
2017-05-12 14:59:27 -07:00
Jordi Ortiz
6c847764af [ONOS-5934] MeterId availability after withdraw.
Change-Id: Ib40b3ca53bae48d16ecbed9665a4061dd2f7eb0c
2017-05-12 21:49:26 +00:00
Saurav Das
1547b3ffd8 CORD-1180 Collection of fixes for hash-group buckets. Required the following changes:
Next-objectives that edited groups are now queued in the FlowObjectiveManager instead of the driver.
	  During linkup immediately checking for previous portups that should be added to a hash group.
	  A final retry 30 secs later to catch all ports that should be part of the same hash group.

Change-Id: I7ef450149d685890ca47932b8e559a0c11dc5ab4
2017-05-12 21:37:00 +00:00
Simon Hunt
05eba35690 ONOS-6259: Topo2 - Implement server-side highlighting model (WIP)
- Enhanced BiLink to allow a UiLinkId as its identifier.
- Corrected aggregation of traffic data for synthetic links in regions.
- Removed TrafficLink copy constructor (not needed).

Change-Id: Ia7d84f28ec69737e7474bfc100262b837effef73
2017-05-11 20:17:19 -07:00
Thomas Vachuska
2048c1f81b Cleaning up intent tests setup/teardown to avoid cascading failures
with respect to binding ID generator.

Change-Id: Ia4778f16ff5a3ecb26062e7d7b2c36493081140d
2017-05-11 09:39:42 -07:00
Yi Tseng
c927a06fe9 [ONOS-6348] Intent installer redesign
Change-Id: I9ae2e8158dc1c686eaf848f330566f9dbb78405f
2017-05-10 15:24:37 -07:00
MaoLu
bbf6e8be39 Enhance the behaviour of ProtectionConfigBehaviour
Change-Id: I5e2505cc1db3b97c78703a6c138d04abc232d65b
2017-05-10 22:01:12 +00:00
Andrea Campanella
5d73df799c [ONOS-5925] Removing 1.6 deprecated optical ports
Change-Id: I2c8583323e6c99d08f3568a81941036fa8e949d8
2017-05-10 19:06:24 +00:00
Thomas Szyrkowiec
770093f664 Extension of the LinkCollectionCompiler to support Domains
Introduced the DomainConstraint which marks intents that allow domains.
Added the handling of domains to the base compiler and its implementations.
Fixed existing test by adding the domain service and added new ones for domains.

Change-Id: I6594e92e41c2434a9b667415e6fb90a6c571df79
2017-05-10 10:06:44 +02:00
Simon Hunt
f01826c91d Fixed issue with canonicalization of link identifiers.
- added asId() to LinkKey
- BiLink.linkId() now returns LinkKey.asId()

Change-Id: Ie9069ca5302f09fca9e213ce33fa87bd8868e752
2017-05-09 17:28:24 -07:00
Simon Hunt
0e16109409 ONOS-6259: Topo2 - Implement server-side highlighting model
- NOTE: Still WIP
- Implement doAggregation() in Traffic2Monitor.
- Plumb through call to get relevantSynthLinks().
- Create UiLinkId from LinkKey.
- Add reference to original UiLink in the UiSynthLink, (so we can use as a key later).
- TrafficLink enhancements:
-- Implement equals/hashCode
-- add a copy constructor
-- add mergeStats() method
-- add stats accessor methods

Change-Id: I693626971b3511b842e80cee7fcd2a252087597f
2017-05-09 17:56:11 +00:00
Yuta HIGUCHI
2103304789 Fix to enable adding INDIRECT link via BasicLinkConfig
- addConfig will create and 'advertise' a new default Config object.
  In the case of BasicLinkConfig, default link type will be DIRECT.
  Link subsystem ignores link transition from DIRECT to INDIRECT
  in order to prefer LLDP info over BDDP info.
  As a result it is difficult to create an INDIRECT link
  via Java API calls.

Change-Id: Id736f3a8332b7558387c3eb7598e1239779c6fe8
2017-05-08 20:53:32 +00:00
Simon Hunt
8e258116dc ONOS-6259: Topo2 - Implement server-side highlighting model
- Generated highlights message now sent back to the client
  with the event id "topo2Highlights".

Change-Id: I873ebd38a0636a7d9b5c2a6caf98c6b33de2cc87
2017-05-05 13:19:16 -07:00
Simon Hunt
f27a929fbb ONOS-6372: Topo2 - Refactor "location" data to be consistent
- consistently labeled fields "locType", "latOrY", "longOrX"
- simplified code in topo2NodePosition.js

Change-Id: I73e8daadcc3e6ca3ff45f7f60e7b372ccfd8b045
2017-05-05 18:30:03 +00:00
Jordan Halterman
5f97a30982 [ONOS-6345] Track tombstones within transactions for optimistic locking on null values
Change-Id: Ib4764721e512462ec1552124ff696b8f89687d8f
2017-05-05 18:05:06 +00:00
Michele Santuari
a271faa8c3 Implementation of the DomainService
Change-Id: I012c31d113fbcc12d4c35cb10d11d7be4cd83458
2017-05-05 16:44:10 +00:00
Michele Santuari
38dd82e630 domain intent APIs
Change-Id: I4b2ac854da7808a880ef0a37b3b08ef51da812e5
2017-05-04 21:46:24 +00:00
Yuta HIGUCHI
ac8b229375 ONOS-6225 Expose k-shortest path search as part of TopologyService.
Change-Id: Idf812a707aba0b972fcfbde871c624dfc86b6e1b
2017-05-04 19:11:06 +00:00
Thomas Vachuska
11b99fc941 Refining driver subsystem to facilitate coordinated start-up.
- for ONOS-6402

Change-Id: I7f64fc62ad1d451fcf55624b2422b60631a3c8e8
2017-05-04 15:55:16 +00:00
Ray Milkey
8fd28c7b80 Starting snapshot 1.10.0-SNAPSHOT 2017-05-02 14:37:34 -07:00
Ray Milkey
f0099022d2 Tagging 1.10.0-rc1 2017-05-02 14:35:27 -07:00
Simon Hunt
6cc8645f93 ONOS-6258: UiTopo2Overlay et al.
- revert DriverMatrix app.
- simplify overlay base class to be consistent with classic topo
- add topo2overlay and topo2traffic (skeleton code for now)

Change-Id: I88fda4d7b75807bd08637d846a869846a364c1f8
2017-04-28 06:59:42 +00:00
Jordan Halterman
9bdc24f542 [ONOS-6267] Support configurable Executors for primitives
- Support user-provided Executors in primitive builders
- Implement default per-partition per-primitive serial executor using a shared thread pool
- Implement Executor wrappers for all primitive types

Change-Id: I53acfb173a9b49a992a9a388983791d9735ed54a
2017-04-27 09:07:50 +00:00
Jordan Halterman
948d659779 [ONOS-6342] Refactor transaction architecture to support a shared cache for transactional primitives
Change-Id: I2a17965100895f5aa4d2202028047bb980c11d26
2017-04-27 03:42:15 +00:00
Simon Hunt
22c35df758 ONOS-6258: UiTopo2Overlay et al.
- initial support for topo-2 highlighting.

Change-Id: I71c61b902047153ea420a8b2ecd89f6950daa4a9
2017-04-26 17:35:40 -07:00
Simon Hunt
8f60ff8dcd ONOS-6257: fixing Region-peer-location function...
- corrected UiRegion.isRoot() implementation
- added to/from-compact-strings for LayoutLocation, so we can encode
   a list of them in an annotation
- Fixed bug in DistributedRegionStore which was emiting events that
   had a null region as subject.

Change-Id: I547e0c7f62385b85b191b8d63e6b569196623b84
2017-04-26 16:42:59 +00:00
Yi Tseng
a64f0c88b5 [ONOS-5932] New FlowObjective compiler for LinkCollection Intent
Change-Id: I50ca991bf0997a24dd18cf68c060c2c0912f294c
2017-04-24 22:30:51 +00:00
Yi Tseng
38fc71e483 [ONOS-6016] Enhance IntentInstaller for FlowObjective
Note:
Provide order of objective context (for remove only)
Handling objective errors in intent installer

Change-Id: I50bb9d7a17a0ae71d22ba035cd5bc80f485ec45a
2017-04-24 22:13:52 +00:00
Jordan Halterman
f62724442e [ONOS-6324] Add getOrDefault method to ConsistentMap.
Change-Id: Ice7ad6260c6eb8076320ef469874c0c4ceeadc19
2017-04-20 21:54:09 +00:00
Thomas Vachuska
8c0b18a2ef Added region-based filtering for the GUI to make sure only the relevant
events get sent to the session.

Change-Id: I649eb1b33fdf9ed4b82e29d7ba7eb3cfac5eadbb
2017-04-17 18:49:45 +00:00
Yi Tseng
603d0550b9 Fix typo
Change-Id: I8ab89378a0fc495de890fa054c9ed773cb381fe0
2017-04-14 14:16:15 -07:00
Thomas Vachuska
b877a6fd6d Modified UI model objects to be backed merely by IDs of the core model objects.
Change-Id: I4ca81fb1c877ee4ce4209d405fd8c6645c8f5d20
2017-04-14 18:51:45 +00:00
Simon Hunt
c4ca710a76 Europe Region Demo data script written.
- Added LayoutLocation class
- Added RegionAddPeerLocCommand class
Note: still need to plumb through peer locations to UI JSON.

Change-Id: Ic3513a3880f50b440fe318dce6896b66d7e79704
2017-04-10 10:34:57 -07:00
Simon Hunt
b3656d4ac8 WIP:: Initial stab at regions demo for Europe.
Change-Id: I80402aea2b3d57bf104db0c0fba68bebda0cae9e
2017-04-07 18:16:05 -07:00
Jon Hall
b471f2c7b6 Add Unit tests for ClusterEvent
- override ClusterEvent's hashCode, equals, and toString

Change-Id: I85e3ff7d60b2c76559d71a4093cff73eee064cf9
2017-04-06 13:56:36 +00:00
Jon Hall
3557db5bd7 Add unit tests for ClusterMetadataEvent
- add toString, equals, and hashCode to ClusterMetadataEvent

Change-Id: Idb1031c01cc6333be76851bb1b2ee196a8732d76
2017-04-06 00:11:48 +00:00
Jon Hall
672a3ed843 Add unit tests for MastershipEvent
- Add hashCode and equals for MastershipEvent

Change-Id: I7897b9efc139db014ebee0b00025b257ca00a4b6
2017-04-06 00:10:28 +00:00
Jon Hall
d543513b78 Add unit tests for ClusterMetadata
- fix a typo
Change-Id: I13f615857b82ef5bf69b437ffb8b9f82d3d7c48e
2017-04-06 00:06:21 +00:00
Jon Hall
a3fcf6754a Fix Sonar issue:
Strings literals should be placed on the left side when checking for
equality

Change-Id: I4537e08936731ace55aeecb3ad941269ec1eb191
2017-04-05 22:54:30 +00:00
Ray Milkey
278e75b90d Add unit tests for FlowEntryWithLoad class
Change-Id: I9663ef207555a6b7371fbf59f2bbe2c0b169c83d
2017-04-05 22:43:15 +00:00
Jon Hall
f074af907b Add unit tests for PartitionEvent
- add hashCode and equals for PartitionEvent

Change-Id: I9f0b2ed7dbadae56ed2045360f56f9be24399183
2017-04-05 22:42:42 +00:00
Yuta HIGUCHI
a8a1375e96 Clarify expected String content
Change-Id: I91e8f19269dfb4b96aa6f8d6bdd42f53b3dc4a0c
2017-03-31 17:41:11 +00:00
Simon Hunt
21281fdddc Refactored Traffic Monitor code to display packets / second.
- cleaned up "rate thresholds" for coloring links.
- added unit tests for TopoUtils.
- "Monitor All Traffic" button on toolbar now cycles between 3 modes.

Change-Id: If33cfb3e6d6190e1321752b6d058274d3004f309
2017-03-31 07:03:33 +00:00
Donghee Yoon
c708e3c8a2 remove dereferencing a null pointer
Change-Id: I2e55920e430a20585c3997122b02540306b21dca
2017-03-31 06:42:48 +00:00
janani b
d821b18cab [ONOS-6224] L3VPN service delete
Change-Id: I2eabb231def39dba6613dc5b95f2b16594133ad4
2017-03-30 18:40:20 +00:00
janani b
f7060cdb24 [ONOS-6199] Huawei driver create and instance delete.
Change-Id: I61e1a8518e9bd2a1a5ed9430052a3e6d3233f148
2017-03-29 23:56:10 +00:00
Gaurav Agrawal
dab4d7789f Enabling port statistics discovery in NETCONF device provider.
Change-Id: I17e6b0832d60ca64db2bc7de1c3184e5c125fdf2
2017-03-29 15:16:02 +05:30
Yi Tseng
fa394defdc Fix for ONOS-5175. GroupId refactoring.
Science DefaultGroupId was deprecated, remove it from ONOS

Change-Id: I82394e58ec1ba10c37492ed77546e233de9f934f
2017-03-24 21:13:57 +00:00