10582 Commits

Author SHA1 Message Date
Yuta HIGUCHI
9f2d724c0b Added builder for PortDescription
Change-Id: I37cf78ba7d2cebb021806a0441f2bf231a855c28
2017-05-19 15:40:12 +00:00
Yuta HIGUCHI
498fa1d321 Bump Guava to 21.0
Change-Id: Id81705773d191db6a18153d8b2dd4abd2bfd0e60
2017-05-19 15:40:12 +00:00
Jimmy Jin
e9b7a02ff9 OpenFlow message processing for new loxi
Depends-On: Id69c8597eb4564653c56cdc90f2dcec50afbdd25

Change-Id: Ib14fbadd3debf98ce1d56343179f8e7929f8ade8
2017-05-19 15:40:12 +00:00
Simon Hunt
239f09e2f9 Replace usage of .html(...) with .text(...) where possible;
Wrap input with fs.sanitize(...) where .html() must be used.

Change-Id: I39e20b6fb561b3a1801579ca6a86a5f94483e4a9
2017-05-19 14:48:42 +00:00
Viswanath KSP
3568df76f9 [onos-6359] Phase-1 - Added changes to onos.jar to support embedded dependencies
[onos-6359] Uploaded patchset 2 addressing review comments

Change-Id: I9fb3ab6c144c0e1240a44a0542e79a4641a34e54
2017-05-19 14:34:28 +00:00
Murat Parlakisik
042c3a5baf ONOS-6219 Onos cell config manager
Change-Id: Icd6d8392e2f374b7a492d5d16e971ee1f3ecbaca
2017-05-19 14:31:54 +00:00
dingdamu
d3a0b215dd Fix latency constraint
1. Consider that the type "Duration" in the String is composed by
characters and numbers, it's not easy to convert it to double for
comparison, I modified the latency's annotation to
cfg.latency().toNanos().
2. Exclude two EdgeLinks for the calculation of the whole path's latency
3. The unit of latency in ONOS is not the same, so I set all the latency units to
nanoseconds.
4. Add the latency constraint option for ConnectivityIntentCommand.

Change-Id: Iddf5634880e43ed563db9978659db5eb9ee6c7f8
2017-05-19 02:01:23 +00:00
Sithara Punnassery
0da1a9cb81 ONOS 6447 Dynamic Config Update support
Change-Id: I2d91f9d26b5a5498db7c0c2d3ad5871658499ca7
2017-05-19 00:09:07 +00:00
Yi Tseng
f31d2d933d [ONOS-6486] Fix serializer error and NPE of VplsStore
Change-Id: I134203c92eb9e3ce70673b17561cc74a66b1eca8
2017-05-18 21:42:24 +00:00
Yuta HIGUCHI
4f8a377740 ONOS-6468 Fix for race condition between compilation and installation complete state.
- Fix for a bug where intent compilation complete state,
  can overwrites intent installation complete state,
  if intent installation completes before compilation complete state is written to the store.
  - Introduced internalState version on IntentData,
    which is effectively mutation count, in order to avoid
    batch write of compilation result overwriting installation result

Change-Id: I5d77dfbe496e690ebdf2b4f9643d2b64c4233182
2017-05-18 21:26:07 +00:00
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