10582 Commits

Author SHA1 Message Date
Henry Yu
c44787ad42 Remove RESTCONF client dependency on YMS and reinstall BUCK files
Change-Id: Icd6f4cb73a95044cfbd3fa938070c29d26c7cbe1
2017-05-15 17:21:24 +00:00
Jian Li
b25fcb4de1 Improve MapDB read performance by using cached hash code
With existing implementation, the hashcode of LispEidRecord
should always be recaluclated when we lookup MapDB.
If we have very large number of entries stored in a HashMap,
the performance becomes very poor.
With this cached hashcode implementation, we can improve
the MapDB lookup performance.

Change-Id: Ie193e0b96b2bdc470e52f6f1de4f341527e0507d
2017-05-15 16:52:39 +00:00
Yi Tseng
24d9be7431 [ONOS-6446] ObjectiveTrackerService is not a public service
If an application want to create custom Intent installer, it might need
ObjectiveTrackerService.

However, the ObjectiveTrackerService is not public api (in /core/net,
should be /core/api); so application outside the ONOS can't use it.

Move ObjectiveTrackerService and it's dependence to /code/api

Change-Id: Ie2ad8dd9d39ccae1c91f4b57887089e0aec83ede
2017-05-15 16:45:16 +00:00
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
Charles Chan
21720341e0 hostsByIp is not updated properly when a host is removed
ref: gerrit #12558

Change-Id: I514833ccf953dce4e1e8f954b7d9b5b95f503907
2017-05-15 16:03:06 +00:00
Jian Li
997fda6688 Fix checkstyle error to resolve maven build problem
Change-Id: I46c7283b2bd2d93bd987bfad74b38e50d3f2e522
2017-05-15 22:59:38 +09:00
Gaurav Agrawal
ce2686a09c Attaching compiler service to YangLiveCompiler.
Change-Id: I6df424c8e424f9395be6e2d08c1f686947422f41
2017-05-15 09:21:29 +00:00
daniel park
ee8700bc7b [ONOS-6168, ONOS-6436] Implement multiple gateway nodes support for VLAN mode and implement VLAN based Logical Routing
Change-Id: Ifd1c26375abdf84603f28184e9cb9ad6c88648dd
2017-05-15 03:03:52 +00:00
Jian Li
70c460a4f5 Fix: Resolve MAC presentation issue caused by broken split method
Javascript's String.split() method is broken.
selArray[1] will not show the full MAC address, instead, it only
shows the first two digits of MAC which is not what we expected.

Change-Id: I4251fd4553d027ae7fb46daf95702bdacc8eeb1e
2017-05-15 02:34:37 +00:00
Jian Li
7d73ff9642 [ONOS-6375] Support keyword search in mapping management GUI
Change-Id: I78b823eb5fa396be3901fe600e9b964ec1cdd639
2017-05-15 02:04:59 +00:00
Hyunsun Moon
32d471fd00 Removed delays from unit tests
Change-Id: I1107104109e8b0d2454567a48f7aee9135d92f7a
2017-05-15 02:03:49 +00:00
Hyunsun Moon
36bb358f37 Improved openstack node list CLI
Change-Id: I62d55151c3f45cae03ac744733a8c1f38cc5a281
2017-05-15 01:53:52 +00:00
Hyunsun Moon
bc672d6813 Don't reinstall flow rules for existing nodes when network cfg updated
Change-Id: I94ee88249bf4473d01a5467ff0c0f2c436b7f26b
2017-05-15 01:43:52 +00:00
Hyunsun Moon
0e058f2395 ONOS-6034 Added purge and sync flow rules CLIs
Also removed unnecessary boxing from RoutingSnatHandler

Change-Id: Ibb0a1e5dc6465bbf378bf7d105e162f429f6c02a
2017-05-15 01:38:35 +00:00
Hyunsun Moon
ae51e737db Added sync and purge security group states
- Added list security groups CLI
- Removed unnecessary security group rule store

Change-Id: I62ac652e0af73c5f771f0caec87acd5dfe4abedd
2017-05-15 01:37:30 +00:00
Charles Chan
79cddb1a03 Fix invalid static variable assignment
Change-Id: I3e93efe1975070218d70e878e78ec197af1d121d
2017-05-13 08:18:07 +00:00
Simon Hunt
cf76a65add Topo2 - UiSynthLink aggregation in JSON structure.
- implemented aggregation of data

Change-Id: Ie54cd768c11a4e6345a541c3ba4b9992801cefdd
2017-05-12 18:28:36 -07:00
Jordi Ortiz
9fe79a2df3 [ONOS-6188] OpenFlowMeterProvider: Force Meter stats retrieval on remove.
The meter removal is computed by looking on the MeterStats result
and looking if it is actually missing. MeterStats are retrieved
periodically with the collector. With this patch we ask for the stats
immediately.

Change-Id: I432976d6571d0df4261afdec20a99846dae07f48
2017-05-12 23:35:17 +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
Jordi Ortiz
a19c188a36 meter-remove command accept hex values as input like meter-add and meters output.
Change-Id: I0a7baed306f5f10eddcaf576a76e53615d027882
2017-05-12 22:56:34 +00:00
Jordi Ortiz
cfc7a611ec [ONOS-5957] Meter lists filter also by meterId if desired.
Change-Id: I735cdf0936708fd9bd7252c28052927a425f9633
2017-05-12 22:19:46 +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
Yi Tseng
af1c9f3614 Add "intent-installers" command
Change-Id: Id3e07734537b5889ced675979de188220fbb9cc6
2017-05-12 19:16:45 +00:00
Steven Burrows
10dd108f68 UI: Updated masthead styles so everything is properly aligned
Change-Id: Iaa594aaafd6edefa796e60d8ef1faaeba48064fa
2017-05-12 19:16:22 +00:00
Yi Tseng
5bd294ee3f [ONOS-5683] Fix Intent throughput test regression
Change 12125 in gerrit is causing regression of intent throughput test. The
results of 3, 5 and 7 node cluster regressed about 25%. Single-node results
stay the same (see attachments). NO errors/warnings/exceptions observed in
the log.

The reason is using *compute* method in IntentStore, resolve it by using
other method instead of *compute* method.

Change-Id: I4a062e6c6d5e0898e2e5ac37b2e67a2875d16846
2017-05-12 18:46:16 +00:00
Yi Tseng
f4e13e31d0 [ONOS-6248] VPLS refactoring
Change-Id: I8ffb2199ca108ad8dfe271681068636fc4af2a40
2017-05-12 18:15:28 +00:00
Ray Milkey
b900a0cfce Bump up openflowj version to 0.9.8
Change-Id: Id8d039e4ae3412ace3a0f3daa814394ac2d8d8cb
2017-05-12 18:12:57 +00:00
Yi Tseng
49a2b2e93f Fix incorrect state of Intent after re-installed from FAILED state.
Avoid same IntentData resubmitted by multiple ONOS nodes.
Also, avoid same IntentData/IntentOperationContext modified by different
threds.

Change-Id: Ifb550c41204d6e86e379fd44c2787980920d2b9e
2017-05-12 17:37:31 +00:00
Hyunsun Moon
7a5f904975 ONOS-6439 Fixed to remove stale floating IP rules
When it is removed without disassociate step.

Change-Id: I673110835ce0a5cf17b1095ee00086c6c3d95641
2017-05-12 17:23:44 +00:00
Yuta HIGUCHI
1798d13653 Detach broken build
- Build broken by: 13879	YANG live compiler implementation	Merged	Vidyashree-Huawei

Change-Id: Ie0a61f386c4963bb80bc6235a22194702be96186
2017-05-12 17:21:14 +00:00
sivachidambaram subramanian
8c9a701804 [ONOS-6354] CFG values and applied values are mismatching while trying to set a property with an invalid value
Change-Id: Id2e343c61419441d0b9554df3291b35829e850ab
(cherry picked from commit c86d95f969864664beb3948bc5ff2c455e372393)
2017-05-12 17:04:22 +00:00
Steven Burrows
2b29ca4414 Topo2: Updated collection to ignore models with the same Id
Change-Id: Ic2faadb76f865921092217bda0aac636349cc1af
2017-05-12 15:31:53 +00:00
Vidyashree Rama
3c50361630 YANG live compiler implementation
Change-Id: Ie8dde5ff0c5e338e294a239180dd25800da045d2
2017-05-12 15:27:31 +00:00
Simon Hunt
87c9a091e4 ONOS-6259: Topo2 - Implement server-side highlighting model (WIP)
- Rename switches in topo script.

Change-Id: I262d3dd80122ddfdacf17162c254b0b52913a9e2
2017-05-11 20:28:43 -07: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
Jian Li
bdf8ae5740 [ONOS-6375] Add detailed view for mapping management app
Change-Id: Ib182e5e394173c98705e8653121c92e602764e20
2017-05-12 02:07:42 +00:00
Simon Hunt
cc2d7fc417 ONOS-6259: Topo2 - Implement server-side highlighting model (WIP)
- added missing 'grid' parameter in config script.
- fixed handling of peer region locations.

Change-Id: I4cd8d4db49cfde105424ca786c3fed181afbe7b7
2017-05-11 17:42:04 -07:00
Ray Milkey
4c29be230d Fix version of the onos-build-conf-artifact
Change-Id: Ib4dc172a24772dc20da5e0e08fef0e6c47ad5db8
2017-05-11 17:21:34 -07:00
Ray Milkey
8e3a5cb539 Add new SNAPSHOT suppressions
Change-Id: I17d6e45baf0dc8ea90c98725d7c599c02ba27d46
2017-05-11 17:01:13 -07:00
Yuta HIGUCHI
1f3a887cff Detaching broken maven builds
Change-Id: Ica8b4a21f3d1dfce1924c1788f9d480b9c1f0402
2017-05-11 23:57:34 +00:00
MaoLu
3308ca4cee Oplink APS behaviour for NETCONF
Change-Id: I54dbbb4c0c946b7afc1bee9f811049e07a5dd502
2017-05-11 23:34:02 +00:00
Saritha
66fee924a6 Suspicious reference comparison - Questionable use of reference equality rather than calling equals
Change-Id: I69cd764cbeb6009b68101241ff27a7ed1219c604
2017-05-11 22:30:04 +00:00
zhiyong ke
60e40007bd modify the bug of https://jira.onosproject.org/browse/ONOS-6286
Change-Id: I3217ad91eb079a58fc270db121dbd5a2b6d120d9
2017-05-11 22:29:21 +00:00
wu
34b7a493ba ONOS-6285 ConnectivityIntentCommand.java: The 'appIdForIntent' variable in the 'key' method is not used, so it can be deleted.
Change-Id: I072c1cf3eed54a8178581e2a8bb9e224b22856bb
2017-05-11 22:27:40 +00:00
Yuta HIGUCHI
5aa4cdf783 [ONOS-6408] Parse milliseconds in eventTime
Change-Id: I84e63b3f3b130084c124b9aeeedfa60e0f270c23
2017-05-11 22:19:27 +00:00
Yuta HIGUCHI
8091877b33 [ONOS-6414] use Config object from NetworkConfigEvent to avoid NPE
Change-Id: If7170e7b8c18c43321e18c505a15627f485165b6
2017-05-11 22:18:05 +00:00
Deepa Vaddireddy
21f5ae8632 Fix for ONOS-6433:NPE when deactivating org.onosproject.netcfglinksprovider
Change-Id: I876483f5d05679f9f3485ba0c40e29f062e39568
2017-05-11 20:37:21 +00:00
Jordan Halterman
73a6f5d72a [ONOS-6443] Add eventually consistent map test commands
Change-Id: If6a1814bccbd95c5e01e344b2f39132760c6af89
2017-05-11 20:33:40 +00:00