Giter VIP home page Giter VIP logo

hula-hoop's People

Contributors

rachitnigam avatar

Stargazers

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

Watchers

 avatar  avatar

hula-hoop's Issues

Regarding hw deployment of the algorithm

Hi,
Have you deployed this algorithm in P4 based hardware? I am interested to know how many memory access is possible in each stage of the RMT pipeline. Can you kindly help me about that?

problem for running ./controller.py

Hi , can you help me? I can not make the system work properly
The problems show below.

++++++++++++++++++++++++++++++++++++++++++++++++

p4@p4:~/essay/Hula-hoop-master$ ./controller.py
Switch port mapping:
s100: 1:h1 2:h2 3:s202 4:s203
s101: 1:h3 2:h4 3:s202 4:s203
s102: 1:h5 2:h6 3:s206 4:s207
s103: 1:h7 2:h8 3:s206 4:s207
s104: 1:h10 2:h9 3:s210 4:s211
s105: 1:h11 2:h12 3:s210 4:s211
s106: 1:h13 2:h14 3:s214 4:s215
s107: 1:h15 2:h16 3:s214 4:s215
s202: 1:s100 2:s101 3:s300 4:s301
s203: 1:s100 2:s101 3:s302 4:s303
s206: 1:s102 2:s103 3:s300 4:s301
s207: 1:s102 2:s103 3:s302 4:s303
s210: 1:s104 2:s105 3:s300 4:s301
s211: 1:s104 2:s105 3:s302 4:s303
s214: 1:s106 2:s107 3:s300 4:s301
s215: 1:s106 2:s107 3:s302 4:s303
s300: 1:s202 2:s206 3:s210 4:s214
s301: 1:s202 2:s206 3:s210 4:s214
s302: 1:s203 2:s207 3:s211 4:s215
s303: 1:s203 2:s207 3:s211 4:s215
Established as controller for s207
Established as controller for s206
Established as controller for s203
Established as controller for s202
Established as controller for s215
Established as controller for s104
Established as controller for s105
Established as controller for s106
Established as controller for s107
Established as controller for s100
Established as controller for s101
Established as controller for s102
Established as controller for s103
Established as controller for s214
Established as controller for s210
Established as controller for s301
Established as controller for s302
Established as controller for s303
Established as controller for s300
Established as controller for s211
Installed P4 Program using SetForwardingPipelineConfig on s207
Installed P4 Program using SetForwardingPipelineConfig on s206
Installed P4 Program using SetForwardingPipelineConfig on s203
Installed P4 Program using SetForwardingPipelineConfig on s202
Installed P4 Program using SetForwardingPipelineConfig on s215
Installed P4 Program using SetForwardingPipelineConfig on s104
Installed P4 Program using SetForwardingPipelineConfig on s105
Installed P4 Program using SetForwardingPipelineConfig on s106
Installed P4 Program using SetForwardingPipelineConfig on s107
Installed P4 Program using SetForwardingPipelineConfig on s100
Installed P4 Program using SetForwardingPipelineConfig on s101
Installed P4 Program using SetForwardingPipelineConfig on s102
Installed P4 Program using SetForwardingPipelineConfig on s103
Installed P4 Program using SetForwardingPipelineConfig on s214
Installed P4 Program using SetForwardingPipelineConfig on s210
Installed P4 Program using SetForwardingPipelineConfig on s301
Installed P4 Program using SetForwardingPipelineConfig on s302
Installed P4 Program using SetForwardingPipelineConfig on s303
Installed P4 Program using SetForwardingPipelineConfig on s300
Installed P4 Program using SetForwardingPipelineConfig on s211
Running simple_switch_CLI --thrift-port 9190 <<EOF
mc_mgrp_create 2
mc_node_create 0 1 4 3
mc_node_associate 2 0
mc_mgrp_create 1
mc_node_create 0 2 4 3
mc_node_associate 1 1
mc_mgrp_create 4
mc_node_create 0 2 1
mc_node_associate 4 2
mc_mgrp_create 3
mc_node_create 0 2 1
mc_node_associate 3 3
EOF
Traceback (most recent call last):
File "./controller.py", line 177, in
main(args.p4info, args.bmv2_json, args.topo)
File "./controller.py", line 142, in main
install_smart_mcast(mn_topo, switches, p4info_helper)
File "./controller.py", line 52, in install_smart_mcast
print run_ssc_cmd(switch, command)
File "/home/p4/essay/Hula-hoop-master/utils/switch_utils.py", line 12, in run_ssc_cmd
out = subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
File "/usr/lib/python2.7/subprocess.py", line 574, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'simple_switch_CLI --thrift-port 9190 <<EOF
mc_mgrp_create 2
mc_node_create 0 1 4 3
mc_node_associate 2 0
mc_mgrp_create 1
mc_node_create 0 2 4 3
mc_node_associate 1 1
mc_mgrp_create 4
mc_node_create 0 2 1
mc_node_associate 4 2
mc_mgrp_create 3
mc_node_create 0 2 1
mc_node_associate 3 3
EOF' returned non-zero exit status 1

++++++++++++++++++++++++++++++++++++++++++++++
or maybe you could dig up the .ova file you simulate in Virtualbox to me.

thanks!

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.