[nox-dev] NOX GUI how to show user and server?

2011-03-07 Thread
Hi all,
I'm using NOX gui to picture my openflow network, but the gui tool can only
display the switch and the link between them. So, if I want to show the user
and server in the network, how can I detect them?

Does anybody can help me, I will greatly appreciately your help.

Thanks.

XieFeng
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


Re: [nox-dev] NOX GUI how to show user and server?

2011-03-07 Thread
Thanks Kyriakos.

XieFeng




2011/3/8 Kyriakos Zarifis kyr.zari...@gmail.com

 Hey XieFeng,

 the component 'trackhost_pktin' tracks hosts as they appear in the network
 (meaning, as long as they have generated some traffic).
 If you add 'trackhost_pktin' to the list of components when you start NOX,
 hosts should show up too.


   On Mon, Mar 7, 2011 at 7:27 PM, 谢峰 xiefen...@gmail.com wrote:

   Hi all,
 I'm using NOX gui to picture my openflow network, but the gui tool can
 only display the switch and the link between them. So, if I want to show the
 user and server in the network, how can I detect them?

 Does anybody can help me, I will greatly appreciately your help.

 Thanks.

 XieFeng

 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev



___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev


[nox-dev] The difference between GUI and ENVI

2011-02-28 Thread
Hi all,

Does anybody know the difference between GUI and ENVI, or they are just the
same application with the same function?
many thanks!
regards,

XieFeng
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] The difference between GUI and ENVI

2011-02-28 Thread
Hi all,

Does anybody know the difference between GUI and ENVI, or they are just the
same application with the same function?
many thanks!
regards,

XieFeng
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] how to install nox gui?

2011-02-22 Thread
Hi alls, I want to use nox gui to display the openflow network topology, I
don't know how to install it and use it. Somebody can help me?
thanks.

Xie Feng
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] how to install nox gui?

2011-02-22 Thread
I've done as you said. It works, thank you very much.

Xie Feng

在 2011年2月22日 下午6:38,Kyriakos Zarifis kyr.zari...@gmail.com写道:

 The first command will list the available remote branches. The branch
 destiny will appear in the list.
 The second command is the one that actually pulls the code from that
 branch.

 In this case, since you want to checkout the branch destiny, you need to
 use destiny as the remote branch name. name of your choice can be any
 name of your choice. (It would make sense to name it destiny)



 2011/2/22 谢峰 xiefen...@gmail.com

 Hi Kyriakos,
 I don't know how to checkout NOX from the branch, maybe I should excute
 this two codes below:

git branch -a
git checkout -b name of your choice origin/remote branch name


 But I don't know what is name of your choice and remote branch name.

 Thanks

 Xie Feng



 2011/2/22 Kyriakos Zarifis kyr.zari...@gmail.com

 Hi Xie Feng,

 have you taken a look at http://noxrepo.org/noxwiki/index.php/NOX_GUI ?

 ( the GUI is currently only available in the destiny branch, so you'd
 have to checkout NOX from that branch. The process for that is described
 here
 http://noxrepo.org/noxwiki/index.php/NOX_Installation#Installation )

 On Tue, Feb 22, 2011 at 2:06 AM, 谢峰 xiefen...@gmail.com wrote:

 Hi alls, I want to use nox gui to display the openflow network topology,
 I don't know how to install it and use it. Somebody can help me?
 thanks.

 Xie Feng

 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org







___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] what function can the spanning_tree provide?

2010-12-28 Thread
Hi,all
The spanning_tree component can break the loop in the network, select the
shortest path for the flow.  But when I cut the shortest path, the ping
operation will stop, it represents that the nox doesn't
select another path for me. So, how solve this problem: if I want to change
a new route immediately when the current path is down?
thanks
regards
xiefeng
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] how to add a new component

2010-12-26 Thread
Hi, all
I have download tha Spanning_Tree component, but I don't know how to use
it.
someone can help me?
thanks,
xiefeng
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] how to add a new component

2010-12-26 Thread
I've done as the steps and I modified the nox.json, after the installation,
In this file *build/src/etc/nox.json, I see packet-in-event first say
spanning_tree component.*

2010/12/26 Kyriakos Zarifis kyr.zari...@gmail.com

 Hi Xiefeng,

 have you taken a look at this? (
 http://www.openflowswitch.org/wk/index.php/Basic_Spanning_Tree#Installation)
 there are a few minor outdated instructions ( for example cd noxcore
 should be cd nox and nox.xml should be nox.json) but the main idea is
 described there.

   On Sun, Dec 26, 2010 at 3:27 PM, 谢峰 xiefen...@gmail.com wrote:

   Hi, all
 I have download tha Spanning_Tree component, but I don't know how to use
 it.
 someone can help me?
 thanks,
 xiefeng


 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org





-- 
Feng Xie
Ph.D. Candidate
Network Security Lab, Research Institute of Information Technology
Tsinghua National Laboratory for Information Science and Technology
Dept. of Automation, Tsinghua Univ., Beijing, China, 100084.
Tel.: +86-010-6277-2656
Email: xiefen...@gmail.com
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] how to add a new component

2010-12-26 Thread
When I'm running nox_core with spanning_tree, it says the description is
not found. so I  run nox_core with routing, it's okay. but it seems not
to have the function of spanning_tree.

在 2010年12月27日 上午1:44,Kyriakos Zarifis kyr.zari...@gmail.com写道:

  Are you running nox_core with spanning_tree? What are the sings that
 spanning_tree is not working? Can you attach a log with any relevant error
 messages?

 2010/12/26 谢峰 xiefen...@gmail.com

  I modified the file:spanning_tree/Makefile.am as follow:


 include ../../../Make.vars
 EXTRA_DIST =\
 meta.json\
 __init__.py \
 spanning_tree.py
 NOX_RUNTIMEFILES = meta.json\
 __init__.py \
 spanning_tree.py
 all-local:
 @dlist=$(NOX_RUNTIMEFILES);for f in $$dlist; do \
   if test -f $(srcdir)/$$f  test ! -f $$f; then \
 ln -sf $(srcdir)/$$f $(builddir)/$$f;\
   fi;\
 done;
 and I modified the file spanning_tree/meta.json as follow:


 {
 components: [
 {
 python: nox.apps.spanning_tree.spanning_tree,
 dependencies: [
 python,
 discovery
 ],
 name: spanning_tree,
 }
 ]
 }

 Is there some problem, but during the installation, there is no error.
 however, it seems the spanning_tree doesn't work.
 Thanks for your help.

 regards

 xiefeng
 在 2010年12月26日 下午10:37,谢峰 xiefen...@gmail.com写道:

 I've done as the steps and I modified the nox.json, after the
 installation, In this file *build/src/etc/nox.json, I see
 packet-in-event first say spanning_tree component.*

 2010/12/26 Kyriakos Zarifis kyr.zari...@gmail.com

 Hi Xiefeng,

 have you taken a look at this? (
 http://www.openflowswitch.org/wk/index.php/Basic_Spanning_Tree#Installation)
 there are a few minor outdated instructions ( for example cd noxcore
 should be cd nox and nox.xml should be nox.json) but the main idea is
 described there.

   On Sun, Dec 26, 2010 at 3:27 PM, 谢峰 xiefen...@gmail.com wrote:

   Hi, all
 I have download tha Spanning_Tree component, but I don't know how to
 use it.
 someone can help me?
 thanks,
 xiefeng


 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org












-- 
Feng Xie
Ph.D. Candidate
Network Security Lab, Research Institute of Information Technology
Tsinghua National Laboratory for Information Science and Technology
Dept. of Automation, Tsinghua Univ., Beijing, China, 100084.
Tel.: +86-010-6277-2656
Email: xiefen...@gmail.com
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] how to add a new component

2010-12-26 Thread
I've updated the file configure.ac.in and src/etc/nox.json. And then I
modified the file spanning_tree/Makefile.am and spanning_tree/meta.json as
follow:


include ../../../Make.vars
EXTRA_DIST =\
meta.json\
__init__.py \
spanning_tree.py
NOX_RUNTIMEFILES = meta.json\
__init__.py \
spanning_tree.py
all-local:
@dlist=$(NOX_RUNTIMEFILES);for f in $$dlist; do \
  if test -f $(srcdir)/$$f  test ! -f $$f; then \
ln -sf $(srcdir)/$$f $(builddir)/$$f;\
  fi;\
done;
and I modified the file spanning_tree/meta.json as follow:


{
components: [
{
python: nox.apps.spanning_tree.spanning_tree,
dependencies: [
python,
discovery
],
name: spanning_tree,
}
]
}

Is there any problem?
在 2010年12月27日 上午9:42,kk yap yap...@stanford.edu写道:

 Hi,

 Did you update configure.ac.in?

 Regards
 KK


 2010/12/26 谢峰 xiefen...@gmail.com

 When I'm running nox_core with spanning_tree, it says the description
 is not found. so I  run nox_core with routing, it's okay. but it seems
 not to have the function of spanning_tree.

 在 2010年12月27日 上午1:44,Kyriakos Zarifis kyr.zari...@gmail.com写道:

  Are you running nox_core with spanning_tree? What are the sings that
 spanning_tree is not working? Can you attach a log with any relevant error
 messages?

 2010/12/26 谢峰 xiefen...@gmail.com

  I modified the file:spanning_tree/Makefile.am as follow:


 include ../../../Make.vars
 EXTRA_DIST =\
 meta.json\
 __init__.py \
 spanning_tree.py
 NOX_RUNTIMEFILES = meta.json\
 __init__.py \
 spanning_tree.py
 all-local:
 @dlist=$(NOX_RUNTIMEFILES);for f in $$dlist; do \
   if test -f $(srcdir)/$$f  test ! -f $$f; then \
 ln -sf $(srcdir)/$$f $(builddir)/$$f;\
   fi;\
 done;
 and I modified the file spanning_tree/meta.json as follow:


 {
 components: [
 {
 python: nox.apps.spanning_tree.spanning_tree,
 dependencies: [
 python,
 discovery
 ],
 name: spanning_tree,
 }
 ]
 }

 Is there some problem, but during the installation, there is no error.
 however, it seems the spanning_tree doesn't work.
 Thanks for your help.

 regards

 xiefeng
 在 2010年12月26日 下午10:37,谢峰 xiefen...@gmail.com写道:

 I've done as the steps and I modified the nox.json, after the
 installation, In this file *build/src/etc/nox.json, I see
 packet-in-event first say spanning_tree component.*

 2010/12/26 Kyriakos Zarifis kyr.zari...@gmail.com

 Hi Xiefeng,

 have you taken a look at this? (
 http://www.openflowswitch.org/wk/index.php/Basic_Spanning_Tree#Installation)
 there are a few minor outdated instructions ( for example cd noxcore
 should be cd nox and nox.xml should be nox.json) but the main idea 
 is
 described there.

   On Sun, Dec 26, 2010 at 3:27 PM, 谢峰 xiefen...@gmail.com wrote:

   Hi, all
 I have download tha Spanning_Tree component, but I don't know how
 to use it.
 someone can help me?
 thanks,
 xiefeng


 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org












 --
 Feng Xie
 Ph.D. Candidate
 Network Security Lab, Research Institute of Information Technology
 Tsinghua National Laboratory for Information Science and Technology
 Dept. of Automation, Tsinghua Univ., Beijing, China, 100084.
 Tel.: +86-010-6277-2656
 Email: xiefen...@gmail.com


 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org





-- 
Feng Xie
Ph.D. Candidate
Network Security Lab, Research Institute of Information Technology
Tsinghua National Laboratory for Information Science and Technology
Dept. of Automation, Tsinghua Univ., Beijing, China, 100084.
Tel.: +86-010-6277-2656
Email: xiefen...@gmail.com
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] how to add a new component

2010-12-26 Thread
It's ok, I've done re-run ./boot.sh, ./configure and the installation is
successful.

thanks KK.

xiefeng

在 2010年12月27日 上午10:17,kk yap yap...@stanford.edu写道:

 Sorry to ask the obvious, but you did re-run ./boot.sh, ./configure and
 make right?  You can tell that I cannot find obvious problems in the files
 you posted.

 Regards
 KK

 2010/12/26 谢峰 xiefen...@gmail.com

 I've updated the file configure.ac.in and src/etc/nox.json. And then I
 modified the file spanning_tree/Makefile.am and spanning_tree/meta.json as
 follow:


 include ../../../Make.vars
 EXTRA_DIST =\
 meta.json\
 __init__.py \
 spanning_tree.py
 NOX_RUNTIMEFILES = meta.json\
 __init__.py \
 spanning_tree.py
 all-local:
 @dlist=$(NOX_RUNTIMEFILES);for f in $$dlist; do \
   if test -f $(srcdir)/$$f  test ! -f $$f; then \
 ln -sf $(srcdir)/$$f $(builddir)/$$f;\
   fi;\
 done;
 and I modified the file spanning_tree/meta.json as follow:


  {
 components: [
 {
 python: nox.apps.spanning_tree.spanning_tree,
 dependencies: [
 python,
 discovery
 ],
 name: spanning_tree,
 }
 ]
 }

 Is there any problem?
 在 2010年12月27日 上午9:42,kk yap yap...@stanford.edu写道:

 Hi,

 Did you update configure.ac.in?

 Regards
 KK


 2010/12/26 谢峰 xiefen...@gmail.com

 When I'm running nox_core with spanning_tree, it says the description
 is not found. so I  run nox_core with routing, it's okay. but it seems
 not to have the function of spanning_tree.

 在 2010年12月27日 上午1:44,Kyriakos Zarifis kyr.zari...@gmail.com写道:

  Are you running nox_core with spanning_tree? What are the sings that
 spanning_tree is not working? Can you attach a log with any relevant error
 messages?

 2010/12/26 谢峰 xiefen...@gmail.com

  I modified the file:spanning_tree/Makefile.am as follow:


 include ../../../Make.vars
 EXTRA_DIST =\
 meta.json\
 __init__.py \
 spanning_tree.py
 NOX_RUNTIMEFILES = meta.json\
 __init__.py \
 spanning_tree.py
 all-local:
 @dlist=$(NOX_RUNTIMEFILES);for f in $$dlist; do \
   if test -f $(srcdir)/$$f  test ! -f $$f; then \
 ln -sf $(srcdir)/$$f $(builddir)/$$f;\
   fi;\
 done;
 and I modified the file spanning_tree/meta.json as follow:


 {
 components: [
 {
 python: nox.apps.spanning_tree.spanning_tree,
 dependencies: [
 python,
 discovery
 ],
 name: spanning_tree,
 }
 ]
 }

 Is there some problem, but during the installation, there is no error.
 however, it seems the spanning_tree doesn't work.
 Thanks for your help.

 regards

 xiefeng
 在 2010年12月26日 下午10:37,谢峰 xiefen...@gmail.com写道:

 I've done as the steps and I modified the nox.json, after the
 installation, In this file *build/src/etc/nox.json, I see
 packet-in-event first say spanning_tree component.*

 2010/12/26 Kyriakos Zarifis kyr.zari...@gmail.com

 Hi Xiefeng,

 have you taken a look at this? (
 http://www.openflowswitch.org/wk/index.php/Basic_Spanning_Tree#Installation)
 there are a few minor outdated instructions ( for example cd
 noxcore should be cd nox and nox.xml should be nox.json) but 
 the main
 idea is described there.

   On Sun, Dec 26, 2010 at 3:27 PM, 谢峰 xiefen...@gmail.com wrote:

   Hi, all
 I have download tha Spanning_Tree component, but I don't know how
 to use it.
 someone can help me?
 thanks,
 xiefeng


 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org












 --
 Feng Xie
 Ph.D. Candidate
 Network Security Lab, Research Institute of Information Technology
 Tsinghua National Laboratory for Information Science and Technology
 Dept. of Automation, Tsinghua Univ., Beijing, China, 100084.
 Tel.: +86-010-6277-2656
 Email: xiefen...@gmail.com


 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org





 --
 Feng Xie
 Ph.D. Candidate
 Network Security Lab, Research Institute of Information Technology
 Tsinghua National Laboratory for Information Science and Technology
 Dept. of Automation, Tsinghua Univ., Beijing, China, 100084.
 Tel.: +86-010-6277-2656
 Email: xiefen...@gmail.com





-- 
Feng Xie
Ph.D. Candidate
Network Security Lab, Research Institute of Information Technology
Tsinghua National Laboratory for Information Science and Technology
Dept. of Automation, Tsinghua Univ., Beijing, China, 100084.
Tel.: +86-010-6277-2656
Email: xiefen...@gmail.com
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] How does the routing module calculate shortest path?

2010-12-22 Thread
hi, kk,
thank you very much.

xiefeng

2010/12/23 kk yap yap...@stanford.edu

 Hi,

 The routing_module calculates based on hop count, with weight of each hop
 being 1.  If you are interested in the algorithm, look at A New Approach to
 Dynamic All Pairs Shortest Paths by C. Demetrescu.  (This is documented in
 the doxygen documentation.)

 Regards
 KK

   On 22 December 2010 18:37, 谢峰 xiefen...@gmail.com wrote:


 Hi, all

 Anybody knows how the routing module calculate the shortest path between
 two points? the weight value is the hops (the shortest path with the least
 hops) or other parameters?

 many thanks!

 regards.

 xiefeng

 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org





-- 
Feng Xie
Ph.D. Candidate
Network Security Lab, Research Institute of Information Technology
Tsinghua National Laboratory for Information Science and Technology
Dept. of Automation, Tsinghua Univ., Beijing, China, 100084.
Tel.: +86-010-6277-2656
Email: xiefen...@gmail.com
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


Re: [nox-dev] Setting up flows at startup

2010-12-16 Thread
Hello, Akbar, Murphy

I want to dump the topology so that I can see the topology in the console.
how should I do? Can I add some code into the routing.cc file, but I don't
know exactly what the detailed nodes information stored in. Can you help me.

thanks.

regards

fengxie

2010/12/16 Syed Akbar Mehdi akbar.me...@seecs.nust.edu.pk

 Thanks Murphy. This makes more sense, since datapaths may connect and leave
 at various times.


 On Thu, Dec 16, 2010 at 4:38 PM, Murphy McCauley jam...@nau.edu wrote:

 Welcome to nox-dev, Akbar.

 You should actually do this when the switches connect (in response to the
 datapath join event) rather than at NOX/component startup, as the switches
 won't have connected at that point.

 -- Murphy

 On Dec 16, 2010, at 3:19 AM, Syed Akbar Mehdi wrote:

  Hi,
 
  I am writing Nox components using C++. I want to install some 'default'
 flows at startup (e.g. if I want to say that all ARP packets should be sent
 to the controller). I understand that I should probably put the relevant
 code in either configure() or install() (which one should it be?). How do I
 get the IDs of all datapaths that are connected to the controller when
 initialize() or configure() is called for a component?
 
  Regards,
  Akbar
  ___
  nox-dev mailing list
  nox-dev@noxrepo.org
  http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org



 ___
 nox-dev mailing list
 nox-dev@noxrepo.org
 http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org




-- 
Feng Xie
Ph.D. Candidate
Network Security Lab, Research Institute of Information Technology
Tsinghua National Laboratory for Information Science and Technology
Dept. of Automation, Tsinghua Univ., Beijing, China, 100084.
Tel.: +86-010-6277-2656
Email: xiefen...@gmail.com
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] dump the topology in the console

2010-12-16 Thread
Hello, all,

I want to dump the topology so that I can see the topology in the console.
how should I do? Should I add some codes into the routing.cc or nox_main.cc
file, but I don't know exactly what the detailed nodes information stored
in. Can anybody help me.

thanks.

regards

fengxie

-- 
Feng Xie
Ph.D. Candidate
Network Security Lab, Research Institute of Information Technology
Tsinghua National Laboratory for Information Science and Technology
Dept. of Automation, Tsinghua Univ., Beijing, China, 100084.
Tel.: +86-010-6277-2656
Email: xiefen...@gmail.com
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] how to creat a topology?

2010-12-13 Thread
Hi all,

I want to do some experiments to test the performance of the routing
algorithm that nox routing component used.

so I need a huge topology with  a lot of switchs and hosts. Is anyone knows
how to add switchs and hosts manually.

thanks!

FengXie
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


[nox-dev] how to show the topology

2010-12-10 Thread
Hi all,
I want to show the topology of  network in the console. So maybe I should
find where the data (such as datapathid and port) are stored and which
structure are they.

Is anyone can help me. thanks very much.

regards

fengxie
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org