Ask is moving to Stack Overflow and Serverfault.com! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

vinllen's profile - activity

2017-09-26 13:45:37 -0700 received badge  Notable Question (source)
2017-01-04 05:17:16 -0700 received badge  Popular Question (source)
2016-12-21 17:30:48 -0700 commented answer A question about in-memory DataStore and hard-disk DataStore

sorry, but no response

2016-12-13 18:17:23 -0700 asked a question A question about in-memory DataStore and hard-disk DataStore

After following documents in the wiki, I'm still confusing of the relationship between in-memory DataStore and hard-disk DataStore(Snapshot+journay, is it called DistributedDataStore?).

For example, a data store writing operation will write the given data into the in-memory DataStore, but I've no idea whether this transaction return immediately when successfully write into the in-memory DataStore or return until merge into the hard-disk DataStore.

As I know, in-memory is just a cache that contains nodes with type NormalizedNode. But the "hard-disk" DataStore use AKKA and RAFT to store serialization data into the hard disk which can persist data.

When I checking the source code of data writing transaction, I found the BI serializes data which means write data into the hard disk. In my point of view, it may cost some time to write data into hard-disk. Why not accept the mechanism of writing data into memory and using another process/thread to make data between memory and disk consistent?

And, Is data reading transaction read data from cache or hard-disk ?

Please point me out if I have any misunderstanding of DataStore in MD-SAL. Many thanks for any advice.

Best Regards,

2016-12-13 18:16:25 -0700 asked a question A question about in-memory DataStore and hard-disk DataStore

After following documents in the wiki, I'm still confusing of the relationship between in-memory DataStore and hard-disk DataStore(Snapshot+journay, is it called DistributedDataStore?).

For example, a data store writing operation will write the given data into the in-memory DataStore, but I've no idea whether this transaction return immediately when successfully write into the in-memory DataStore or return until merge into the hard-disk DataStore.

As I know, in-memory is just a cache that contains nodes with type NormalizedNode. But the "hard-disk" DataStore use AKKA and RAFT to store serialization data into the hard disk which can persist data.

When I checking the source code of data writing transaction, I found the BI serializes data which means write data into the hard disk. In my point of view, it may cost some time to write data into hard-disk. Why not accept the mechanism of writing data into memory and using another process/thread to synchronous data between memory and disk.

And, Is data reading transaction read data from cache or hard-disk ?

Please point me out if I have any misunderstanding of DataStore in MD-SAL. Many thanks for any advice.

Best Regards,

2016-09-28 22:27:38 -0700 received badge  Famous Question (source)
2016-09-20 00:28:10 -0700 commented answer "Unable to login" via DLUX

@jamoluhrsen solve it already, thanks

2016-09-20 00:23:29 -0700 commented question fail to install dlux-web

sove it already, thanks @bhavesh07

2016-09-20 00:15:34 -0700 received badge  Popular Question (source)
2016-09-20 00:15:34 -0700 received badge  Notable Question (source)
2016-09-18 04:36:15 -0700 answered a question "Unable to login" via DLUX

Same problem in Beryllium, cannot solve

2016-09-12 01:29:53 -0700 asked a question fail to install dlux-web

I git clone dlux form github, and then switch branch to release/beryllium, and issue occurs when i execute mvn clean install -DskipTests:

...
[ERROR] node-pre-gyp ERR! Tried to download: https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.14/fse-v1.0.14-node-v14-linux-x64.tar.gz
[ERROR] node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.14 and node@0.12.7 (node-v14 ABI) (falling back to source compile with node-gyp)
[ERROR] Usage: gyp_main.py [options ...] [build_file ...]
[ERROR]
[ERROR] gyp_main.py: error: no such option: --no-parallel
[ERROR] gyp ERR! configure error
[ERROR] gyp ERR! stack Error: `gyp` failed with exit code: 2
[ERROR] gyp ERR! stack     at ChildProcess.onCpExit (/home/chenxing05/beryllium/dlux/dlux-web/node/npm/node_modules/node-gyp/lib/configure.js:357:16)
[ERROR] gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
[ERROR] gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
[ERROR] gyp ERR! System Linux 3.2.60
[ERROR] gyp ERR! command "node" "/home/chenxing05/beryllium/dlux/dlux-web/node/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/home/chenxing05/beryllium/dlux/dlux-web/node_modules/fsevents/lib/binding/Release/node-v14-linux-x64/fse.node" "--module_name=fse" "--module_path=/home/chenxing05/beryllium/dlux/dlux-web/node_modules/fsevents/lib/binding/Release/node-v14-linux-x64"
[ERROR] gyp ERR! cwd /home/chenxing05/beryllium/dlux/dlux-web/node_modules/fsevents
[ERROR] gyp ERR! node -v v0.12.7
[ERROR] gyp ERR! node-gyp -v v2.0.2
[ERROR] gyp ERR! not ok
[ERROR] node-pre-gyp ERR! build error
[ERROR] node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp configure --fallback-to-build --module=/home/chenxing05/beryllium/dlux/dlux-web/node_modules/fsevents/lib/binding/Release/node-v14-linux-x64/fse.node --module_name=fse --module_path=/home/chenxing05/beryllium/dlux/dlux-web/node_modules/fsevents/lib/binding/Release/node-v14-linux-x64' (1)
[ERROR] node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/chenxing05/beryllium/dlux/dlux-web/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
[ERROR] node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
[ERROR] node-pre-gyp ERR! stack     at maybeClose (child_process.js:1015:16)
[ERROR] node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
[ERROR] node-pre-gyp ERR! System Linux 3.2.60
[ERROR] node-pre-gyp ERR! command "node" "/home/chenxing05/beryllium/dlux/dlux-web/node_modules/fsevents/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
[ERROR] node-pre-gyp ERR! cwd /home/chenxing05/beryllium/dlux/dlux-web/node_modules/fsevents
[ERROR] node-pre-gyp ERR! node -v v0.12.7
[ERROR] node-pre-gyp ERR! node-pre-gyp -v v0.6.29
[ERROR] node-pre-gyp ERR! not ok
...
[INFO] dlux.core.resources ............................... SUCCESS [0.247s]
[INFO] dlux.common.topbar.resources ...................... SUCCESS [0.259s]
[INFO] dlux.resources .................................... SUCCESS [0.223s]
[INFO] DLUX - DLUX Static Web ............................ FAILURE [1:37.365s]
[INFO] loader ............................................ SKIPPED
[INFO] loader.implementation ............................. SKIPPED
[INFO] DLUX - Bundles .................................... SKIPPED
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:49.011s
[INFO] Finished at: Mon Sep 12 16:25:50 CST 2016
[INFO] Final Memory: 53M/921M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.24:grunt (grunt) on project dlux-web: Failed to run task: 'grunt --no-color' failed. (error code 3) -> [Help 1]
[ERROR]

I don't kown the reason, any suggestion? thankyou

2016-03-08 16:26:56 -0700 received badge  Famous Question (source)
2015-10-17 07:02:53 -0700 marked best answer How to use both of vtn and ovsdb

Hi, Dear all:
  When i start the run.sh, the command shows: Usage: ./run.sh -virt {ovsdb | opendove | vtn} [advanced options]. But i want to use both of the ovsdb, vnt and controller, it looks like i can use one of them. It cannot support to "./run.sh -virt ovsdb -virt vtn". Could anyone help me ?

2015-10-17 07:02:53 -0700 marked best answer difference between osgi command and karaf

Hi, Dear all:
  When i start odl, i find it can use the run.sh to start osgi command, and it also works well to start the karaf file. What's the difference?

2015-10-17 07:02:52 -0700 marked best answer How to insert VTN into controller

Hi, Dear all:
   I git clone the controller and vtn ,after then i use mvn to install them. But I don't kown how to combine them together, now i can start them separately with two karaf.
  Great appreciate for anyone's reply.
Best regards,
Vinllen

2015-10-17 07:02:50 -0700 marked best answer How does VTN forwarding packets in tenant virtual network

Hi, Dear all:
  After reading this post, i kown the vtn mapping virtual network to Physical Network Resources. What i want to kown is that how does the vtn forwarding packets ? Does the vtn use tunnel to provide multi-tenant virtual network on an SDN controller?
 Greate appreciation for anyone's reply.

Best regards,
Vinllen

2015-10-17 07:02:47 -0700 marked best answer org.opendaylight.controller.model:model-ping:jar:1.0-1-SNAPSHOT is missing

Hi, Dear all: I following the "ping" program which is given here: https://wiki.opendaylight.org/view/Ping :

  1. compiling and generating the APIs and the bundle
  2. mvn install Ping plugin
  3. ...

Error occured in the second step : when i excute the command "mvn install", the log show:

[INFO] ------------------------------------------------------------------------
[INFO] Building sample-ping-provider 1.0-1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.opendaylight.controller.model:model-ping:jar:1.0-1-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.757 s
[INFO] Finished at: 2015-03-31T17:20:22+08:00
[INFO] Final Memory: 17M/170M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sample-ping-provider: Could not resolve dependencies for project org.opendaylight.controller.samples:sample-ping-provider:bundle:1.0-1-SNAPSHOT: Failure to find org.opendaylight.controller.model:model-ping:jar:1.0-1-SNAPSHOT in http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ was cached in the local repository, resolution will not be reattempted until the update interval of opendaylight-snapshot has elapsed or updates are forced -> [Help 1]

I have already copy the model-ping-1.1-SNAPSHOT.jar into the directory distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins/

And my odl version is stabel/hydron, and my maven version is 3.3.1. So I wonder why i lack the org.opendaylight.controller.model:model-ping:jar:1.0-1-SNAPSHOT ? When i switch my maven to 3.0.5, it show's that i lack the org.opendaylight.controller.model:model-ping:jar:1.2-0-SNAPSHOT . It's very strange. Could anyone give me a advice ? Greate appreciate for anyone's replay.

2015-10-17 07:02:47 -0700 marked best answer plugin osgi bundle failed

Hi, Dear all:

I write a sample plugin "ping", and then i want insert this bundle into my controller. But error occurs when i start it in the OSGI, it show:

gogo: BundleException: The bundle "org.opendaylight.controller.ping.plugin_0.4.0.SNAPSHOT [98]" could not be resolved. Reason: Missing Constraint: Import-Package: org.opendaylight.controller.sal.binding.api; version="[1.1.0,2.0.0)"

Referring from this post page, I understand that I've got a newer version of a plug-in without its dependencies.

The error shows that the minimum version number of org.opendaylight.controller.sal.binding.api is 1.1.0, and mine version is 1.0-1 as i lookup in my directory of controller/opendaylight/distribution/opendaylight/target/distribution.opendaylight-osgipackage/opendaylight/plugins.

My question is how to switch the version from 1.0-1 to 1.1, i can find the 1.1 version of sal.binding.api in my directory: ~/.m2/repository/org/opendaylight/controller/sal-binding-api/1.1-SNAPSHOT.

As i look into my pom.xml, i foud my dependency is 1.1:

<dependency>
      <groupId>org.opendaylight.controller</groupId>
      <artifactId>sal-binding-api</artifactId>
      <version>1.1-SNAPSHOT</version>
    </dependency>

I think it's very strange.

Great appreciation for anyone's reply!

Best Regards, Vinllen

2015-10-17 07:02:45 -0700 marked best answer no directory named distribution

Hi, Dear all: I git clone the opendaylight source code from the url: https://git.opendaylight.org/gerrit/p/controller.git , after then, i spend many time to "mvn clean install" it and get success finally:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 06:04 min
[INFO] Finished at: 2015-03-31T00:17:02+08:00
[INFO] Final Memory: 426M/799M
[INFO] ------------------------------------------------------------------------

But i found that there is no directory "distribution" after controller/opendaylight. Is there has new changes in the new code and how can i start the odl? Thankyou verymuch for anyone's reply.

2015-09-30 06:54:53 -0700 received badge  Famous Question (source)
2015-08-27 04:57:42 -0700 received badge  Popular Question (source)
2015-08-27 04:57:42 -0700 received badge  Notable Question (source)
2015-07-06 04:58:10 -0700 received badge  Famous Question (source)
2015-07-06 04:47:37 -0700 received badge  Famous Question (source)
2015-06-12 00:38:52 -0700 received badge  Famous Question (source)
2015-05-11 05:22:40 -0700 received badge  Notable Question (source)
2015-05-08 12:12:04 -0700 received badge  Notable Question (source)
2015-05-08 12:07:44 -0700 received badge  Popular Question (source)
2015-05-07 22:48:54 -0700 received badge  Notable Question (source)
2015-05-05 02:21:26 -0700 asked a question Traffice Engineer in odl

Hi, Dear all,

I want to do traffice engineer in odl like computing path in current bandwidth and determinte which datapath will be used to transfer packets. But I don't kown the api in odl of bandwidth or whether there has a progin in odl can do the TE(traffice Engineer).

Greate appreciate for anyone's reply.

Best regards, Vinllen

2015-05-05 01:36:57 -0700 received badge  Notable Question (source)
2015-05-05 01:36:57 -0700 received badge  Famous Question (source)
2015-05-02 03:03:05 -0700 received badge  Popular Question (source)
2015-04-30 09:00:37 -0700 commented answer which feature does odl use to send the flow

Thankyou disideris

2015-04-30 09:00:12 -0700 commented answer which feature does odl use to send the flow

Thankyou Ashwini~

2015-04-30 01:59:19 -0700 asked a question which feature does odl use to send the flow

Hi, Dear all:
  My odl is /stable/helium, i found that if i uninstall the l2switch in the karaf, i can also ping successfully between two hosts. So i wonder which feature does odl use to sending the flow to the ovs ?
  Greate appreciate for anyone's reply.
Best regards,
Vinllen

2015-04-29 05:14:16 -0700 asked a question How to connect the vtn-coordinator to controller

Hi, Dear all:
  As followed the install guide which is post by the wiki, i find that it only install the vtn-coordinator and the vtn-manager.In ohter word, i think it just install the coordinator and vtn-manager without combine them together.
  I install the coordinator and the controller in the same machine, but i wonder how to connect the coordinator to the controller.
  Greate appreciate for anyone's reply.
Best regards,
Vinllen

2015-04-26 23:35:03 -0700 marked best answer vtn logical_ports restapi return null

Hi, Dear all:
  I followed this post to build a simple vtn test with mininet, every executions works well except this command :

curl --user admin:adminpass -H 'content-type: application/json' -X GET http://127.0.0.1:8083/vtn-webapi/controlleains/\(DEFAULT\)/logical_ports.json

It returns {"logical_ports":[]}, but i install my vtn manager into the controller. It looks like something doesn't install in my controller.
  Great appreciate for anyone's reply.
Best regards,
Vinllen

2015-04-26 23:33:19 -0700 commented answer vtn logical_ports restapi return null

Dear Karthik, Thankyou for your detailed answers, sorry for delayed response. But i also hava a problem when execute the command. I use the postman to get the domain information with this command "http://127.0.0.1:8083/vtn-webapi/controllers/controllerone/domains/", but it return null : { "domains": [] } and the "http://127.0.0.1:8083/vtn-webapi/controllers/controllerone/domains/\(DEFAULT\)" return error: { "err_code": "40400", "err_msg": "Not Found" }

2015-04-26 19:36:26 -0700 received badge  Famous Question (source)
2015-04-21 14:35:25 -0700 received badge  Notable Question (source)