Coder Social home page Coder Social logo

mn-ccnx's People

Contributors

caio92 avatar carlosmscabral avatar chesteve avatar ocaio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mn-ccnx's Issues

PIT tables.

Hi there. I was wondering if there's some way to access or even define the max size of the pit tables in mini-ccnx.

Thanks for your time.

SDN and openflow

Hi all,
As the Miniccnx page says, it is based on Mininet and Mininet is a great way to develop OpenFlow and Software-Defined Networking systems. I want to know is there any possibilities in miniccnx package to implement a network based on SDN, for example having some controllers which make and control the FIB tables of routers.

installing problem

Recently i am installing mini-ccnx,
when i execute ''sudo ./mn-ccnx/util/install.sh'',after a few miniutes i get a following mistake:
installing Mininet /mini-ccnx core
/mn-ccnx
PYTHONPATH=. help2man -N -n "create a Mininet network."
--no-discard-stderr bin/mn -o mn.1
help2man: can't get `--help' info from bin/mn
make: *** [mn.1] mistake 2
i can not solve this mistake after a lot of effort,please help me

sudo: miniccnx: command not found

hello,
I need your help,
i have just installed miniccnx on my VM ( ubuntu 16.04 LTS):
sudo apt-get install git
git clone git://github.com/chesteve/mn-ccnx
sudo ./mn-ccnx/util/install.sh -fnv

no problem at this level but when i tried to run sudo miniccnx or sudo miniccnx miniccnx.conf
with miniccnx.conf a file with an example:
[nodes]
h1: app1 ccnx:/,s1
h2: _ cpu=0.1
s1: _ ccnx:/test,h2
[links]
h1:s1 bw=100
h2:s1 bw=100 loss=1 delay=10ms

but i got sudo: miniccnx: command not found
even if i have already the mn-ccnx reperatory.

My respects.

installation error

Hi all,
when i installed the mn-ccnx, all steps were succeeded but i had this error: "Les paquets suivants contiennent des dépendances non satisfaites : openvswitch-controller : Dépend: openvswitch-pki (= 2.0.2-0ubuntu0.14.04.2) mais ne sera pas installé"
Error! Bad return status for module build on kernel: 3.13.0-46-generic (x86_64)
My PC already contains an other installation of a simulator based on openflow, may be there is a problem in file system. Really i didn't found a solution to fix this problem, although i downloaded the mn-ccnx image to work with VM but the decompression of zip downloaded was failed every time on saying that it is damaged or unknown format. Please, it is so urgent, help me.

communication between hosts

hello, I'm following the tutorial the following link: https://github.com/chesteve/mn-ccnx/wiki/Tutorial. However, in the topic "Running a simple CCN application", when I try to make the communication between two hosts (h1 and h2) with a router (s1) between them, get timeouts as a result. This is because the host has different address range associated with each of a router interface. I wonder if is need to configure a routing algorithm to make communication between the two hosts. I would also know if is possible make a linear topology with only hosts on the same network, so everyone with an address in the same range?

Install probelms

I am using ubuntu12.10 to clone mn-ccnx project. I find that mn-ccnx/util/install.sh and mn-ccnx/bin/* do not have permissions of execution. So a little problems will happen.

Is this project discontinued?

I'm quite new to the CCN area and I'm wondering if this is still the recommended tool to simulate container-based CCN.

  1. ccnx.org now points to https://wiki.fd.io/view/Cicn
  2. Therefore also the ccnx download inside the install script is unreachable
  3. This project also refers to github.com/NDN-Routing/ccnping which has been obsoleted

If it's discouraged to work with the code in this repo, you might want to mention that in the project description and README.

sudo miniccnx No script named 'miniccnx'

I hava installed CCNx and Miniccnx ,but when I execute the command "sudo miniccnx",error like this appears:
Traceback (most recent call last):
File "/usr/local/bin/miniccnx", line 4, in
import('pkg_resources').run_script('mininet===2.3.0d1', 'miniccnx')
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 735, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 1644, in run_script
raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'miniccnx'
How can I fix it ?Anybody knows ? I will appreciat it if you could help me!!!

"No section" with commond "miniccnx --testbed"

hello
i have install quagga and ospfn on my VM successfully , while when i change to the sopfn/ directory and issue the commond "miniccnx --testbed", the terminal show "No section" error ,(i.e. "ConfigParser.NoSectionError: No section: 'preferences'") , while in the install section , i've got a same problem with this error , and at that time i follow your suggestion and modify the file miniccnx.conf add [preferences](and it's related detail) and so on , it works, while this time ,did i have to do the same work to solve the problem?but it's in ospfn ! how can i solve the problem?

How to emulate end host mobility?

I plan to emulate a scenario where the end hosts move from one switch to another.

I read the tutorials on Mini-CCNx github webiste, and wrote a configuration file to create about 40 NDN nodes. The ccnping command worked fine. So I think I have understood the basic grammar of the configuration file.

But how could I implement the mobility of end hosts by configuration file?
Is it possible to use Mini-CCNx to emulate the scenario where the end hosts move around?

The github miniccnx website mentions that “you can dynamically interact with the topology, bring the links down, and check how the routing algorithm converges!”, Where can I get more details of dynamically changing the topology?

Looking forward to your replay! Thanks!

Best regards.

Yunmei Xiao

ConfigParser.NoSectionError:

I keep on getting this error when I create a topology. I'm using the virtual machine disk image( .vdi) given on the INSTALL wiki (the bz2 compressed file).

`Traceback (most recent call last):
File "/usr/local/bin/miniccnx", line 5, in
pkg_resources.run_script('mininet==2.0.0', 'miniccnx')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1401, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/mininet-2.0.0-py2.7.egg/EGG-INFO/scripts/miniccnx", line 145, in

File "/usr/local/lib/python2.7/dist-packages/mininet-2.0.0-py2.7.egg/EGG-INFO/scripts/miniccnx", line 91, in execute

File "build/bdist.linux-x86_64/egg/sources/conf_parser.py", line 303, in parse_preferences
File "/usr/lib/python2.7/ConfigParser.py", line 347, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'preferences'
`
If I add a preferences section on the miniccnx.conf error changes to
'Value Error: Need one or more value to unpack'

Please, shed some lights on the miniccnx.conf file and tell more about what sections are must and, also formats of the sections.
Thank you!

error appears when commond "sudo miniccnx"

When I commond "sudo miniccnx",errors appears like this: “/usr/local/lib/python2.7/dist-packages/requests/init.py:80: RequestsDependencyWarning: urllib3 (1.22) or chardet (2.3.0) doesn't match a supported version!”.
,but network is created.When Adding metrics collectors ,it seems like this
"Host h1: database miniccnx_data already exists: appending data.
Host h2: database miniccnx_data already exists: appending data.
Host s1: database miniccnx_data already exists: appending data."
Idon't know how to handle this ,who can give me a hand?many thanks ! @Caio92 @carlosmscabral @chesteve

how to play the video by use of mini-ccnx

Recently I want to play video based CCNx by use of the mini-ccnx ,but have some error.
I build a topology:h1-s1-s2-h2; on h2 node,I putfile the video into ccnx:/, and want to play it on the node h1 by use of the VLC, xterm every node, in every node run ccnd, but when run ccnr on one node, then other nodes cann't run ccnr. it always can't play. But in actual physical environment , I use the CCNx in every PC's LIUNX , the test sucessed. please help me , Thanks!

Error executing miniccnx

Hello, I have successfully build Mini-CCNx in a Ubuntu 12.04 LTS (with CCNx 0.8.2).

I have tried to recreate tutorial example (h1, h2 y r1) with miniccnxedit, but when I try to run miniccnx, it trows the following error messages:

$sudo miniccnx
Parse of miniccnx.conf done.
*** Creating network
*** Adding hosts:
h1 h2 r1
*** Adding links:
(100.00Mbit) (100.00Mbit) (h1, r1) (100.00Mbit 10 delay 1% loss) (100.00Mbit 10 delay 1% loss) (h2, r1)
*** Configuring hosts
h1 h2 r1
*** Adding metrics collectors:
Traceback (most recent call last):
File "/usr/local/bin/miniccnx", line 4, in
import('pkg_resources').run_script('mininet==2.0.0', 'miniccnx')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 735, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 1659, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/mininet-2.0.0-py2.7.egg/EGG-INFO/scripts/miniccnx", line 145, in

File "/usr/local/lib/python2.7/dist-packages/mininet-2.0.0-py2.7.egg/EGG-INFO/scripts/miniccnx", line 99, in execute

File "build/bdist.linux-x86_64/egg/mininet/net.py", line 173, in init
File "build/bdist.linux-x86_64/egg/mininet/net.py", line 352, in build
File "build/bdist.linux-x86_64/egg/sources/metrics.py", line 249, in init
File "build/bdist.linux-x86_64/egg/sources/metrics.py", line 186, in checkDatabase
File "/usr/local/lib/python2.7/dist-packages/influxdb/client.py", line 447, in get_list_database
return list(self.query("SHOW DATABASES").get_points())
File "/usr/local/lib/python2.7/dist-packages/influxdb/client.py", line 317, in query
expected_response_code=expected_response_code
File "/usr/local/lib/python2.7/dist-packages/influxdb/client.py", line 238, in request
raise e

requests.exceptions.ConnectionError: ('Connection aborted.', error(111, 'Connection refused'))

It seems to be the problem is in InfluxDB, but it is running ok:
$sudo /etc/init.d/influxdb status
influxd Process is running [ OK ]

Any suggestion is welcome?

Using the pre-configured VM

hello
i have installed the .vdi file of miniccnx on virtual box and i have these problems:

1- why when I run ¨sudo mn¨ command in terminal for running mininet these errors appears:

Traceback (most recent call last):
File "/usr/local/bin/mn", line 5, in
pkg_resources.run_script('mininet==2.0.0', 'mn')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1388, in run_script
raise ResolutionError("No script named %r" % script_name)
pkg_resources.ResolutionError: No script named 'mn'

2- when I test your configuration file for h1--s1--h2 these errors appear :

Traceback (most recent call last):
File "/usr/local/bin/miniccnx", line 5, in
pkg_resources.run_script('mininet==2.0.0', 'miniccnx')
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 528, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1401, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python2.7/dist-packages/mininet-2.0.0-py2.7.egg/EGG-INFO/scripts/miniccnx", line 145, in

File "/usr/local/lib/python2.7/dist-packages/mininet-2.0.0-py2.7.egg/EGG-INFO/scripts/miniccnx", line 91, in execute

File "build/bdist.linux-x86_64/egg/sources/conf_parser.py", line 303, in parse_preferences
File "/usr/lib/python2.7/ConfigParser.py", line 347, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'preferences'

3- in miniccnxedit i can easily put hosts and routers but don´t links; how the links work in editor?
how can I put links and join hosts and routers ?

Is it possible that I modify the code so as to use NDNx instead of CCNx?

I plan to use NDNx instead of CCNx. I guess Mini-CCNx calls commands like "export" "ccndstart" "ccndc" and so on, then I need to replace these CCNx-related commands with respective NDNx commands. Is that correct?
Is it possible that I modify the code so as to use NDNx instead of CCNx?

Thanks for your time!

Yunmei Xiao

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.