Software Defined Networking
1757917 Members
2997 Online
108866 Solutions
New Discussion

Re: Flow Measurement in mininet (One Ping Only)

 
mmehdi
Occasional Advisor

Flow Measurement in mininet (One Ping Only)

Hello All

 

If we want to build the one-ping-only application, how can we do that? Is the following command correct?

 

./gen-sdn-app --template one-ping-only --directory ~/HPVANEx1/ \
--app onepingonlyex1 --company hp --subject OPOEx1 \

 

Also, after building the application and importing into the controller and eclipse, how we can run it on the controller webpage and see the results when the controller interacts with the network emulated in mininet?

 

I appreciate all your help in advance.

 

Thanks

Best

Mehdi

 

2 REPLIES 2
mmehdi
Occasional Advisor

Re: Flow Measurement in mininet (One Ping Only)

Hello All

 

I want to build the one-ping-only application and I have used the following command.

 

./gen-sdn-app --directory ~/HPVANOPOExnew/ --template one-ping-only \
--app opoexnew --company hp --subject Switchoponewex --app-name "oponew" \
--company-name "Hewlett Packard" --description "Application for Flow Measurement" \
--rest-path switchesopoexnew

 

Accordingly I have the following directory


HPVANOPOExnew/opol-bl/

 

where there are one "src" folder and two files including "opo.descriptor" and "pom.xml"

 

After setting the proxy using export "http_proxy=http: ..." and "export https_proxy=https: ...", I am using "mvn clean install" command, but I am getting the following error. I was wondering what is the problem and how I can build the "one-ping-only" application?

 

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building sdn-one-ping 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/easymock/easymock/3.1/easymock-3.1.jar
Downloading: https://repo.maven.apache.org/maven2/cglib/cglib-nodep/2.2.2/cglib-nodep-2.2.2.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.567 s
[INFO] Finished at: ...
[INFO] Final Memory: 12M/59M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project sdn-one-ping: Could not resolve dependencies for project com.hp.sample:sdn-one-ping:bundle:1.0.0-SNAPSHOT: The following artifacts could not be resolved: org.easymock:easymock:jar:3.1, cglib:cglib-nodep:jar:2.2.2: Could not transfer artifact org.easymock:easymock:jar:3.1 from/to central (https://repo.maven.apache.org/maven2): Connect to repo.maven.apache.org:<a number here>[repo.maven.apache.org/<an IP here>] failed: Connection refused -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException


Thank you very much
Best
Mehdi

 

mmehdi
Occasional Advisor

Re: Flow Measurement in mininet (One Ping Only)

Hello All

 

It seems that every time we have to: 1) Disable the App; 2) Run the Mininet and create the topology; 3) Enable the app 4) ping hosts one-by-one

 

Thanks

Best

Mehdi