mn-ccnx icon indicating copy to clipboard operation
mn-ccnx copied to clipboard

First try for a pull request

Open Phi-Ho opened this issue 10 years ago • 6 comments

Hi Christian,

This is my first pull request.

I hope you can make use of it.

Cheers,

PhiHo

Phi-Ho avatar May 20 '14 06:05 Phi-Ho

HI, I want to built a test for palying video online in mn-ccnx networks as following steps:

  1. Edit the the configuration file with the command "vim mn-ccnx/ccn_utils/miniccnx.conf" as

    [nodes] h1: _ ccnx:/,s1 h2: _ cpu=0.1 s1: _ ccnx:/test,s2 s2: _ ccnx:/test,h2 [routers] s1: ccnx:/test,s2 s2: ccnx:/test,h2 [links] h1:s1 bw=100 delay=5ms h2:s2 bw=100 delay=5ms s1:s2 bw=100 loss=1 delay=10ms

  2. Start miniccnx: "sudo miniccnx miniccnx.conf"

  3. Start xterm: "xterm h1 h1 h2 h2 h2 s1 s2"

  4. Start ccnx daemon " ccnd" at every node

  5. Start ccnr at node h2 " ccnr" (The daemon of ccnr is allowed to be started at only one node. In another way, node h2 has start the daemon ccnr, the other nodes cannt start the ccnr. That is a little weird and different with reall ccnx network. Why?)

  6. Upload the video file to "ccnx:/kungfu" with the commond: "ccnputfile ccnx:/kungfu/kf.mkv /home/kungfu.mkv"

  7. Open the vlc player, and open network stream with "ccnx:///kungfu/kf.mkv"

  8. vlc does not play well with error:

That is very simple test, but it does not work. Did i miss any key steps?

PS: The vlc has installed the plugin of ccnx.

Regards, Fuxing Ian Chen

IanFuxing avatar May 21 '14 02:05 IanFuxing

Hi,

Thank you for sharing your test.

I myself would like to learn about CCNx.

Have you tried with the original miniccnx?

Regards,

PhiHo

On Tue, May 20, 2014 at 10:18 PM, IanFuxing [email protected]:

HI, I want to built a test for palying video online in mn-ccnx networks as following steps:

  1. Edit the the configuration file with the command "vim mn-ccnx/ccn_utils/miniccnx.conf" as

[nodes] h1: _ ccnx:/,s1 h2: _ cpu=0.1 s1: _ ccnx:/test,s2 s2: _ ccnx:/test,h2 [routers] s1: ccnx:/test,s2 s2: ccnx:/test,h2 [links] h1:s1 bw=100 delay=5ms h2:s2 bw=100 delay=5ms s1:s2 bw=100 loss=1 delay=10ms

  1. Start miniccnx: "sudo miniccnx miniccnx.conf"
  2. Start xterm: "xterm h1 h1 h2 h2 h2 s1 s2"
  3. Start ccnx daemon " ccnd" at every node
  4. Start ccnr at node h2 " ccnr" (The daemon of ccnr is allowed to be started at only one node. In another way, node h2 has start the daemon ccnr, the other nodes cannt start the ccnr. That is a little weird and different with reall ccnx network. Why?)
  5. Upload the video file to "ccnx:/kungfu" with the commond: "ccnputfile ccnx:/kungfu/kf.mkv /home/kungfu.mkv"
  6. Open the vlc player, and open network stream with "ccnx:///kungfu/kf.mkv"
  7. vlc does not play well with error:

That is very simple test, but it does not work. Did i miss any key steps?

PS: The vlc has installed the plugin of ccnx.

Regards, Fuxing Ian Chen

— Reply to this email directly or view it on GitHubhttps://github.com/carlosmscabral/mn-ccnx/pull/4#issuecomment-43705592 .

Phi-Ho avatar May 21 '14 08:05 Phi-Ho

P.S: Please give me details of the environment (OS, version...) and what need be installed on the VM and the commands to run vlc player

On Wed, May 21, 2014 at 4:36 AM, Phiho Hoang [email protected] wrote:

Hi,

Thank you for sharing your test.

I myself would like to learn about CCNx.

Have you tried with the original miniccnx?

Regards,

PhiHo

On Tue, May 20, 2014 at 10:18 PM, IanFuxing [email protected]:

HI, I want to built a test for palying video online in mn-ccnx networks as following steps:

  1. Edit the the configuration file with the command "vim mn-ccnx/ccn_utils/miniccnx.conf" as

[nodes] h1: _ ccnx:/,s1 h2: _ cpu=0.1 s1: _ ccnx:/test,s2 s2: _ ccnx:/test,h2 [routers] s1: ccnx:/test,s2 s2: ccnx:/test,h2 [links] h1:s1 bw=100 delay=5ms h2:s2 bw=100 delay=5ms s1:s2 bw=100 loss=1 delay=10ms

  1. Start miniccnx: "sudo miniccnx miniccnx.conf"
  2. Start xterm: "xterm h1 h1 h2 h2 h2 s1 s2"
  3. Start ccnx daemon " ccnd" at every node
  4. Start ccnr at node h2 " ccnr" (The daemon of ccnr is allowed to be started at only one node. In another way, node h2 has start the daemon ccnr, the other nodes cannt start the ccnr. That is a little weird and different with reall ccnx network. Why?)
  5. Upload the video file to "ccnx:/kungfu" with the commond: "ccnputfile ccnx:/kungfu/kf.mkv /home/kungfu.mkv"
  6. Open the vlc player, and open network stream with "ccnx:///kungfu/kf.mkv"
  7. vlc does not play well with error:

That is very simple test, but it does not work. Did i miss any key steps?

PS: The vlc has installed the plugin of ccnx.

Regards, Fuxing Ian Chen

— Reply to this email directly or view it on GitHubhttps://github.com/carlosmscabral/mn-ccnx/pull/4#issuecomment-43705592 .

Phi-Ho avatar May 21 '14 09:05 Phi-Ho

Taking the hint from Fuxing Ian Chen, CCNxMininet class was created in ccnxmn/CCN_net.py.

If there are errors, please quote the errors, thanks.

Phi-Ho avatar May 21 '14 11:05 Phi-Ho

Hi IanFuxing,

I've just committed some changes.

Please try again and please quote the error messages.

I will try to setup the environment to reproduce the errors.

Regards,

PhiHo

On Wed, May 21, 2014 at 5:58 AM, Phiho Hoang [email protected] wrote:

P.S: Please give me details of the environment (OS, version...) and what need be installed on the VM and the commands to run vlc player

On Wed, May 21, 2014 at 4:36 AM, Phiho Hoang [email protected] wrote:

Hi,

Thank you for sharing your test.

I myself would like to learn about CCNx.

Have you tried with the original miniccnx?

Regards,

PhiHo

On Tue, May 20, 2014 at 10:18 PM, IanFuxing [email protected]:

HI, I want to built a test for palying video online in mn-ccnx networks as following steps:

  1. Edit the the configuration file with the command "vim mn-ccnx/ccn_utils/miniccnx.conf" as

[nodes] h1: _ ccnx:/,s1 h2: _ cpu=0.1 s1: _ ccnx:/test,s2 s2: _ ccnx:/test,h2 [routers] s1: ccnx:/test,s2 s2: ccnx:/test,h2 [links] h1:s1 bw=100 delay=5ms h2:s2 bw=100 delay=5ms s1:s2 bw=100 loss=1 delay=10ms

  1. Start miniccnx: "sudo miniccnx miniccnx.conf"
  2. Start xterm: "xterm h1 h1 h2 h2 h2 s1 s2"
  3. Start ccnx daemon " ccnd" at every node
  4. Start ccnr at node h2 " ccnr" (The daemon of ccnr is allowed to be started at only one node. In another way, node h2 has start the daemon ccnr, the other nodes cannt start the ccnr. That is a little weird and different with reall ccnx network. Why?)
  5. Upload the video file to "ccnx:/kungfu" with the commond: "ccnputfile ccnx:/kungfu/kf.mkv /home/kungfu.mkv"
  6. Open the vlc player, and open network stream with "ccnx:///kungfu/kf.mkv"
  7. vlc does not play well with error:

That is very simple test, but it does not work. Did i miss any key steps?

PS: The vlc has installed the plugin of ccnx.

Regards, Fuxing Ian Chen

— Reply to this email directly or view it on GitHubhttps://github.com/carlosmscabral/mn-ccnx/pull/4#issuecomment-43705592 .

Phi-Ho avatar May 21 '14 11:05 Phi-Ho

Received. Give us a few days to try it out. Many thanks!

Hi Christian,

This is my first pull request.

I hope you can make use of it.

Cheers,

PhiHo

You can merge this Pull Request by running

git pull https://github.com/Phi-Ho/mn-ccnx master

Or view, comment on, or merge it at:

https://github.com/carlosmscabral/mn-ccnx/pull/4 Commit Summary

  • ccnxmn is an extension of Mininet
  • Matching contents of ccnxmn.tar.gz
  • Fixing white spaces

File Changes

  • D INSTALLhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-0(32)
  • D INSTALL_mininethttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-1(123)
  • D LICENSEhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-2(33)
  • D Makefilehttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-3(65)
  • D README.mdhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-4(31)
  • D README_mininet.mdhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-5(134)
  • M bin/miniccnxhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-6(10)
  • D bin/mnhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-7(280)
  • A ccnxmn/CCN_cli.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-8(16)
  • A ccnxmn/CCN_node.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-9(148)
  • R ccnxmn/init.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-10(0)
  • R ccnxmn/conf_parser.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-11(6)
  • D custom/READMEhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-12(6)
  • D custom/carlos-topo.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-13(43)
  • D custom/topo-2sw-2host.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-14(34)
  • D doc/doxygen.cfghttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-15(1417)
  • D examples/READMEhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-16(102)
  • D examples/baresshd.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-17(32)
  • D examples/consoles.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-18(456)
  • D examples/controllers.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-19(64)
  • D examples/cpu.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-20(81)
  • D examples/emptynet.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-21(44)
  • D examples/hwintf.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-22(48)
  • D examples/limit.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-23(53)
  • D examples/linearbandwidth.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-24(110)
  • D examples/miniedit.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-25(771)
  • D examples/multiping.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-26(86)
  • D examples/multipoll.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-27(81)
  • D examples/multitest.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-28(35)
  • D examples/popen.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-29(36)
  • D examples/popenpoll.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-30(33)
  • D examples/router.gifhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-31(0)
  • D examples/scratchnet.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-32(68)
  • D examples/scratchnetuser.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-33(73)
  • D examples/server.gifhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-34(0)
  • D examples/simpleperf.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-35(49)
  • D examples/sshd.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-36(71)
  • D examples/tree1024.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-37(18)
  • D examples/treeping64.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-38(32)
  • A miniccnx.confhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-39(7)
  • D mininet/clean.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-40(60)
  • D mininet/cli.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-41(377)
  • D mininet/link.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-42(399)
  • D mininet/log.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-43(178)
  • D mininet/moduledeps.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-44(68)
  • D mininet/net.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-45(770)
  • D mininet/node.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-46(1252)
  • D mininet/term.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-47(60)
  • D mininet/test/test_hifi.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-48(127)
  • D mininet/test/test_nets.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-49(50)
  • D mininet/topo.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-50(230)
  • D mininet/topolib.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-51(36)
  • D mininet/util.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-52(473)
  • D mnexec.chttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-53(179)
  • M setup.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-54(24)
  • D util/build-ovs-packages.shhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-55(94)
  • D util/colorfiltershttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-56(21)
  • D util/doxify.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-57(89)
  • D util/install.shhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-58(562)
  • D util/kbuild/kbuildhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-59(71)
  • D util/kbuild/tun.patchhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-60(13)
  • D util/kbuild/version_vars.patchhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-61(18)
  • D util/nox-patches/0001-OpenFlow-tutorial-port-nox-destiny.patchhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-62(298)
  • D util/nox-patches/0002-nox-ubuntu12-hacks.patchhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-63(175)
  • D util/nox-patches/READMEhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-64(2)
  • D util/openflow-patches/READMEhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-65(5)
  • D util/openflow-patches/controller.patchhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-66(15)
  • D util/openflow-patches/datapath.patchhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-67(26)
  • D util/sch_htb-ofbuf/Makefilehttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-68(11)
  • D util/sch_htb-ofbuf/READMEhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-69(10)
  • D util/sch_htb-ofbuf/sch_htb.chttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-70(1644)
  • D util/sysctl_addonhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-71(17)
  • D util/unpep8https://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-72(198)
  • D util/versioncheck.pyhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-73(24)
  • D util/vm/.bash_profilehttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-74(24)
  • D util/vm/install-mininet-vm.shhttps://github.com/carlosmscabral/mn-ccnx/pull/4/files#diff-75(40)

Patch Links:

  • https://github.com/carlosmscabral/mn-ccnx/pull/4.patch
  • https://github.com/carlosmscabral/mn-ccnx/pull/4.diff

— Reply to this email directly or view it on GitHubhttps://github.com/carlosmscabral/mn-ccnx/pull/4 .

chesteve avatar May 21 '14 23:05 chesteve