Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Totally a newbie #4

Open
eoluak opened this issue Aug 27, 2015 · 6 comments
Open

Totally a newbie #4

eoluak opened this issue Aug 27, 2015 · 6 comments

Comments

@eoluak
Copy link

eoluak commented Aug 27, 2015

Hello,
I caught interest in your work and I will like to test run it. Can you guide me on how to do this?

Sorry to ask dumb question.

@eoluak eoluak closed this as completed Aug 27, 2015
@eoluak eoluak reopened this Aug 27, 2015
@goncaloSemedo
Copy link
Owner

Hi!

First of all i am glad you caught interest in this project.

If is your first time with SDNs you should learn it first.

If is your first time with floodlight, I recommend this tutorial: http://networkstatic.net/tutorial-to-build-a-floodlight-sdn-openflow-controller-module/

This project was developed using a testbed, but you can use mininet (serach minet is google and youu will find it).

Just download the project and import it in eclipse. I dont quite remember all the configuration needed, it (is been a long time since last time I worked on it). Nevertheless you have install some scripts (they are at the scripts folder), some for the switches and some for the hosts.

The switch's scripts are used to calculate the bandwidth while the others are used to retrieve important stats about the hosts like cpu load.

The bandwidth calculation is not the best way to do it. If you want, do not use the scripts and make the controller periodically ask for switche's port Statistics, and analise the bits/s.

I think this is all, if you have any difficulties feel free to ask me.

Best regards
Gonçalo Semedo

@eoluak
Copy link
Author

eoluak commented Aug 27, 2015

Thanks for your quick response.

I will give it a try. I am familiar with SDN. I usually just clone projects and try them out. Not a fan of programming as such, but I will have it loaded to eclipse and see what I can make of it.

Many thanks.

I will get back to you if I have any concerns.

Cheers.

Sent from my iPad

On 27 Aug 2015, at 14:19, goncaloSemedo notifications@github.com wrote:

Hi!

First of all i am glad you caught interest in this project.

If is your first time with SDNs you should learn it first.

If is your first time with floodlight, I recommend this tutorial: http://networkstatic.net/tutorial-to-build-a-floodlight-sdn-openflow-controller-module/

This project was developed using a testbed, but you can use mininet (serach minet is google and youu will find it).

Just download the project and import it in eclipse. I dont quite remember all the configuration needed, it (is been a long time since last time I worked on it). Nevertheless you have install some scripts (they are at the scripts folder), some for the switches and some for the hosts.

The switch's scripts are used to calculate the bandwidth while the others are used to retrieve important stats about the hosts like cpu load.

The bandwidth calculation is not the best way to do it. If you want, do not use the scripts and make the controller periodically ask for switche's port Statistics, and analise the bits/s.

I think this is all, if you have any difficulties feel free to ask me.

Best regards
Gonçalo Semedo


Reply to this email directly or view it on GitHub.

@eoluak
Copy link
Author

eoluak commented Aug 29, 2015

Hi,
I have been able to get the project up and running, but I have a few extra guide I'll like to request from you or anyone in this project. How do I find the service tables, so I can add entries and where also is the REST API used. Thanks

@goncaloSemedo
Copy link
Owner

Hi,

Have you configured the load balancer module as described in
https://floodlight.atlassian.net/wiki/display/floodlightcontroller/Load+Balancer
?

After that you need to add services using curl:

curl –x POST –d '{"service_name":" BioApp ","algorithm":"3","port":"6789"}'
http:///quantum/v1.0/services/

where service name can be anything you like;

algorithm is the identifier of the algorithm you want to use:

Algorithm - 1: Shortest Latency-Path Server (SL-PS): chooses the server
whose path between itself and the client offers the lowest latency.

Algorithm - 2: Highest Throughput-Path Server (HT-PS): chooses the server
whose path between itself and the client has the best throughput.

Algorithm - 3: Least CPU usage (CPU): in this algorithm, the server is with
lowest CPU usage is chosen.

And finally the port is what the application use to identify the flow, for
example:

All the packets with destination port 80, use the Shortest Latency-Path
Server algorithm.

Best regards

2015-08-29 12:09 GMT+01:00 eoluak notifications@github.com:

Hi,
I have been able to get the project up and running, but I have a few extra
guide I'll like to request from you or anyone in this project. How do I
find the service tables, so I can add entries and where also is the REST
API used. Thanks


Reply to this email directly or view it on GitHub
#4 (comment).

@eoluak
Copy link
Author

eoluak commented Sep 1, 2015

Hello.

I have been able to get the concept of the REST API. I had issues with the permission on the project folder, that's why I wasn't achieving success, but I have been able to rectify that out.

I hope this will be the final question coming from me as regards this project...lol

How do I test run these three algorithms after defining adding the services?

Like the floodlight balancer - they were able to use 'h1 ping -c1 10.0.0.100'

Warm regards
Emmanuel

Date: Mon, 31 Aug 2015 01:23:16 -0700
From: notifications@github.com
To: MALOB@noreply.github.com
CC: eoakinyemi02@hotmail.com
Subject: Re: [MALOB] Totally a newbie (#4)

Hi,

Have you configured the load balancer module as described in

https://floodlight.atlassian.net/wiki/display/floodlightcontroller/Load+Balancer

?

After that you need to add services using curl:

curl –x POST –d '{"service_name":" BioApp ","algorithm":"3","port":"6789"}'

http:///quantum/v1.0/services/

where service name can be anything you like;

algorithm is the identifier of the algorithm you want to use:

Algorithm - 1: Shortest Latency-Path Server (SL-PS): chooses the server

whose path between itself and the client offers the lowest latency.

Algorithm - 2: Highest Throughput-Path Server (HT-PS): chooses the server

whose path between itself and the client has the best throughput.

Algorithm - 3: Least CPU usage (CPU): in this algorithm, the server is with

lowest CPU usage is chosen.

And finally the port is what the application use to identify the flow, for

example:

All the packets with destination port 80, use the Shortest Latency-Path

Server algorithm.

Best regards

2015-08-29 12:09 GMT+01:00 eoluak notifications@github.com:

Hi,

I have been able to get the project up and running, but I have a few extra

guide I'll like to request from you or anyone in this project. How do I

find the service tables, so I can add entries and where also is the REST

API used. Thanks

Reply to this email directly or view it on GitHub

#4 (comment).


Reply to this email directly or view it on GitHub.

@goncaloSemedo
Copy link
Owner

Hi,

When I did this project, I used wget to make http requests (latency test),
FTP (bandwidth test) and a genom treatment program (cpu test).

Just make clients do different types of requests to servers.

Best regards
Gonçalo Semedo

2015-09-01 16:29 GMT+01:00 eoluak notifications@github.com:

Hello.

I have been able to get the concept of the REST API. I had issues with the
permission on the project folder, that's why I wasn't achieving success,
but I have been able to rectify that out.

I hope this will be the final question coming from me as regards this
project...lol

How do I test run these three algorithms after defining adding the
services?

Like the floodlight balancer - they were able to use 'h1 ping -c1
10.0.0.100'

Warm regards
Emmanuel

Date: Mon, 31 Aug 2015 01:23:16 -0700
From: notifications@github.com
To: MALOB@noreply.github.com
CC: eoakinyemi02@hotmail.com
Subject: Re: [MALOB] Totally a newbie (#4)

Hi,

Have you configured the load balancer module as described in

https://floodlight.atlassian.net/wiki/display/floodlightcontroller/Load+Balancer

?

After that you need to add services using curl:

curl –x POST –d '{"service_name":" BioApp ","algorithm":"3","port":"6789"}'

http:///quantum/v1.0/services/

where service name can be anything you like;

algorithm is the identifier of the algorithm you want to use:

Algorithm - 1: Shortest Latency-Path Server (SL-PS): chooses the server

whose path between itself and the client offers the lowest latency.

Algorithm - 2: Highest Throughput-Path Server (HT-PS): chooses the server

whose path between itself and the client has the best throughput.

Algorithm - 3: Least CPU usage (CPU): in this algorithm, the server is with

lowest CPU usage is chosen.

And finally the port is what the application use to identify the flow, for

example:

All the packets with destination port 80, use the Shortest Latency-Path

Server algorithm.

Best regards

2015-08-29 12:09 GMT+01:00 eoluak notifications@github.com:

Hi,

I have been able to get the project up and running, but I have a few
extra

guide I'll like to request from you or anyone in this project. How do I

find the service tables, so I can add entries and where also is the REST

API used. Thanks

Reply to this email directly or view it on GitHub

<#4 (comment)
.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#4 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants