Sigcomm 17 (#52)
This problem contains the tutorial exercises and solutions presented at SIGCOMM '17.
This commit is contained in:
16
SIGCOMM_2017/exercises/hula/s2-commands.txt
Normal file
16
SIGCOMM_2017/exercises/hula/s2-commands.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
table_add hula_src drop 10.0.2.0 =>
|
||||
register_write dstindex_nhop_reg 1 1
|
||||
table_add hula_fwd hula_dst 10.0.2.0 10.0.1.0 => 0
|
||||
table_add hula_fwd hula_dst 10.0.2.0 10.0.2.0 => 1
|
||||
table_add hula_fwd hula_dst 10.0.2.0 10.0.3.0 => 2
|
||||
table_add dmac set_dmac 1 => 00:00:00:00:02:02
|
||||
|
||||
register_write srcindex_qdepth_reg 0 256
|
||||
register_write srcindex_qdepth_reg 1 256
|
||||
register_write srcindex_qdepth_reg 2 256
|
||||
table_add hula_bwd hula_set_nhop 10.0.1.0/24 => 0
|
||||
table_add hula_bwd hula_set_nhop 10.0.2.0/24 => 1
|
||||
table_add hula_bwd hula_set_nhop 10.0.3.0/24 => 2
|
||||
table_add hula_nhop hula_get_nhop 10.0.1.0/24 => 0
|
||||
table_add hula_nhop hula_get_nhop 10.0.2.0/24 => 1
|
||||
table_add hula_nhop hula_get_nhop 10.0.3.0/24 => 2
|
||||
Reference in New Issue
Block a user