11722 Commits

Author SHA1 Message Date
Yi Tseng
1666b50c78 [ONOS-6476] Fix performance issue of FlowObjectiveManager
Change-Id: I72092e2796d69bccd30c0ab54c5c66d75c5a0878
2017-05-18 21:11:08 +00:00
Jordan Halterman
e265d370fb [ONOS-6380] Intent performance regression fix
- Do not wrap completed futures

Change-Id: I94729b6ba0fa22bf14d1910ff05d88395b61c82c
2017-05-18 20:09:24 +00:00
Yoonseon Han
a578d76b0f [ONOS-6395] (vNet) Defining mastership service
Defines the interface for mastership service for virtual networks.
This service is needed to achieve HA and load balancing.

Change-Id: I5b68511c114ebd818429f4f6eb622dff95dd8630
2017-05-18 12:13:22 -07:00
Jordan Halterman
063b882c0d [ONOS-6477] Add EventuallyConsistentMap test scenario to primitive tests
Change-Id: I2a6babeb4e306b078bc2dd113bac3c45608be93e
2017-05-18 16:21:47 +00:00
Hyunsun Moon
b720e63e4b ONOS-6444 Set floating IP rules when created with fixed IP configured
Change-Id: Ieaae33bbc71ecc2f2ef29fb196d2b12ce3e4fbc2
2017-05-18 06:51:37 +00:00
Gaurav Agrawal
0033503f4a Change revision to actuals after fix in tools.
Change-Id: I0dbfe0c56c5d4f9ba2dfeb5bb7b1ba8164ecf648
2017-05-18 03:16:38 +00:00
Simon Hunt
4a8de8263b Web UI: augment sanitize() function
to allow parameterized RE generation from evillist.

Change-Id: I0c41b973c1fdbac190d22806f08bb6fe107a7118
2017-05-18 00:45:51 +00:00
Jordan Halterman
12d5ec4ce6 [ONOS-6479] Synchronously bootstrap EventuallyConsistentMap
Change-Id: I62a800ee731d1b42265b475c219d9d108adc08eb
2017-05-18 00:34:17 +00:00
Andrea Campanella
5d4f9f4bd3 Removing deprecated annotation
Change-Id: I8fda28b0a5c86ff41a7005f38d128d6c578146f4
2017-05-18 00:23:58 +00:00
Simon Hunt
0fe05d6c80 Web UI: add sanitize() function to fn.js library.
Change-Id: I2d8fedf737dfaa86362b83edab57967888414088
2017-05-17 16:42:41 -07:00
MaoLu
2846b11825 Improvements of roadm application:
1.Fix the bug of Treating path index as port number for APS;
  2.Creating APS switching operations dynamically, instead of hard code;
  3.Change APS interface for general using;
  4.Compatible test base on the devices of OPENFLOW and NETCONF protocol.

Change-Id: Ib750d40ed28fc184a96b58e97715beab3d80ff17
2017-05-17 21:00:10 +00:00
Jordan Halterman
7af71da9b8 [ONOS-6460] Retry failed resource register/unregister/allocate/release transactions until success in ResourceStore
Change-Id: I51661691d4152dddc1b6ea56eae94f85d63a1634
2017-05-17 20:46:57 +00:00
Yuta HIGUCHI
ed1ef3a3bd Minor improvement to MacAddress#toString
Change-Id: I10bca0e939bebc833cc67dc8b923ecb67e6ae8ff
2017-05-17 20:32:49 +00:00
Jonathan Hart
dc7e76cce9 Distribute FPM connection state amongst the cluster
Change-Id: I7b02a630e33107c124d9445f2fefbf4fd31ffc45
2017-05-17 20:23:06 +00:00
Harold Huang
3fcf743537 [ONOS-6473] Refactor getPhysicalDevices method in VirtualNetworkService
Change-Id: I3f4549f3ea630283d72a1df1e59f24f33df1b672
2017-05-17 19:02:30 +00:00
Ray Milkey
048bf9af15 Remove deprecated API from the Interface class
Change-Id: Id25d58a74cf5511e964b24b3de5eba80da74104d
2017-05-17 17:12:33 +00:00
Ray Milkey
7639bf953a Remove deprecated API from virtual network flow rule store
Change-Id: I3de9a1bf56d87f0c95843f61ccc3f8f2e37d1c5b
2017-05-17 17:00:45 +00:00
Ray Milkey
4d454ccff0 Fix Maven build - Huawei driver pom no longer exists
Change-Id: Ibf6880e2cbdc541749cbd07be52696f7db46cf8c
2017-05-17 09:50:25 -07:00
Ray Milkey
c916699253 Unit tests for some protection objects
Change-Id: I3c3b24e31ad473edc4fee833f6eea0047eee3cdc
2017-05-17 16:34:10 +00:00
Gaurav Agrawal
0aae54e855 Moving huawei YANG model to /models, also removing the redundant YANG which are redundant now.
Change-Id: I10bf58aa5172807d892173c358a75de1fb206d5a
2017-05-17 16:33:36 +00:00
Gaurav Agrawal
773167e3df Huawei driver to use AbstractModelRegistrator.
Change-Id: I7e13d0da47ee7a86bbcac4b0d8cb3a5cacb1d172
2017-05-17 16:33:36 +00:00
Gaurav Agrawal
fa81248b65 Mark fixme as done, after change in YANG tools.
Change-Id: If74b312fcddef520d9ff807b07c19b491d3f4244
2017-05-17 17:12:34 +05:30
sivachidambaram subramanian
0b33c08905 [ONOS-6239] Flows are missing after mastership change if 'backupEnabled' is set to false
Change-Id: Ibdd0262fc47ef01d03d21313a7334cd1cf7feeba
(cherry picked from commit 75830f01d96bde802dfaf7d88317cf253fc934b7)
2017-05-17 02:26:20 +00:00
Simon Hunt
ffbad3b10a ONOS-5784: Empty latitude/longitude in ONOS Web UI
- (part one)
- Enhanced HostManager to react to NetworkConfigEvents such that
     it applies annotations to relevant host instances from the
     config data.
- A little refactoring in DeviceManager.
- Updated topoModel.js to use updated field names latOrY/longOrX.

Change-Id: I06536a6b2279291ffe638549a80b56a9fe94f48a
(cherry picked from commit 78193fd06661a7fa524c8b3a8fa7ddb69d7437c9)
2017-05-17 01:35:57 +00:00
Simon Hunt
5b83ac2be4 ONOS-6415: NPE in Topo2Jsonifier
- check made for returned backing host being null.

Change-Id: Ib7df17c45d4b39a85662ec5e37dab4821da8225d
(cherry picked from commit 0a9b5a1c1d4f21a4426b1d2e62d1e951a38c2c04)
2017-05-16 23:50:19 +00:00
You Wang
39037cb50b Remove 'backupEnabled' option for intent-perf
Change-Id: I44975b347ef073fa7eca2b7d29f209327ad7b330
2017-05-16 22:37:05 +00:00
Marc De Leenheer
552eeb6ebb Use k-shortest paths in optical path provisioner (ONOS-6289).
Change-Id: Ida22317e674e1b30dc8b385e30ff347ad040b8c8
2017-05-16 14:43:16 -07:00
Yi Tseng
32c053c826 [ONOS-6462] Intent stuck in WITHDRAWING state with FlowObjective intent compiler
Reasons makes Intent stuck in WITHDRAWING state:
1. The patch for CORD-1180 caused next objective queued in the objective
system if there is no next group for that next objective.

2. Default single table pipeline removes next group from flow objective
store when removing forwarding objective.

3. The flow objective Intent installer will remove forwarding objective
first, then remove next objective.

4. The flow objective Intent install will wait until all objective context
completed, however, according to reason 1, 2 and 3, the next objective
will be queued forever since there will be no next group in the store. So
the Intent state will stuck in WITHDRAWING until the Intent manager retry.

To fix this issue, we need to modify default single table pipeline, make it
not remove next group when removing forwarding objective.

Change-Id: Ia51a3361f19b60332ca1a276583cdfc036d93343
2017-05-16 20:42:20 +00:00
Yuta HIGUCHI
0cc8b23e4f Bump build conf version to 1.11.0-SNAPSHOT
Change-Id: Iffef47ef056eb86da7266e4010ca5b2d3620d269
2017-05-16 16:20:48 +00:00
Yuta HIGUCHI
693b8eefdd Removing file added accidentally?
Change-Id: If3b163068d29759b091870f3354be4588f44823e
2017-05-16 16:20:18 +00:00
sangho
79d6a83e2b Reduces the port number range for snat to reduce snat handler initialization time.
- It took 25 secs and now it taks only 200 ms.
 - It is a temporary fix. It will be removed when OVS-SNAT features is merged.

Change-Id: If98ba8f4f59ca90b3300c64ea0da92c9558c4303
2017-05-16 06:17:29 +00:00
MaoLu
6685877935 Fix bug: treat path index as port number in Oplink openflow OPS.
Change-Id: Id9f19cdf194bfbb1d2385f27f041b08f3eff283c
2017-05-16 05:59:43 +00:00
Yuta HIGUCHI
f76f6d588f Add more log for debugging.
Change-Id: I384729ae6b96a5e6fb6529f92cd4606b0262d46e
2017-05-15 18:03:51 -07:00
Jordan Halterman
fcaa170862 [ONOS-6401] Bump Atomix dependency version to 1.0.8 for performance regression fixes
Change-Id: I925e421f752e97b9aefcb651f72e856fd5c91741
2017-05-15 22:35:46 +00:00
Yuta HIGUCHI
965da1f700 Fix wrong logger
Change-Id: Iacd56262fbe464fca5258383237caf1cd45cbcb5
2017-05-15 14:47:04 -07:00
MaoLu
e00b74253c Fix some problems for oplink netconf driver:
1. Uses NETCONF get operation instead of get-config.
    2. Prevents reply-error log flooding in netconf session when polling port power range with protection switch, which does not support power range configuration retrieving.
    3. Some code optimization.

Change-Id: I5c4d0b0f6681dd1bf6b8c7450daf07db0104a758
2017-05-15 19:45:11 +00:00
Yuta HIGUCHI
af0a4c2adb Ensure check-intent is testing specified Intent state
Change-Id: I896f54565e4dcd0ed58a68fc28c89cb04836caeb
2017-05-15 12:26:01 -07:00
Ray Milkey
08b03a9ec8 Starting snapshot 1.11.0-SNAPSHOT
Change-Id: I5aa84e241545dace6192243c0079924ddf899404
2017-05-15 18:40:20 +00:00
Jian Li
85355c4bf1 Further improve MapDB query performance with reduced number of get
Change-Id: I4026215d23bf9e1ea064f0d19cd853f9813c3005
2017-05-15 18:20:46 +00:00
Yoonseon Han
9e04379a87 [ONOS-5919] (vCore) separate Intent store
Change-Id: I3b5b67d7286dafdf11bf3d8d4acafb59a3034e22
2017-05-15 18:17:20 +00:00
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