Nate Foster ef64a2cfd8 Sigcomm 17 (#52)
This problem contains the tutorial exercises and solutions presented at SIGCOMM '17.
2017-10-03 16:30:47 -04:00

17 lines
700 B
Plaintext

table_add hula_src drop 10.0.3.0 =>
register_write dstindex_nhop_reg 2 1
table_add hula_fwd hula_dst 10.0.3.0 10.0.1.0 => 0
table_add hula_fwd hula_dst 10.0.3.0 10.0.2.0 => 1
table_add hula_fwd hula_dst 10.0.3.0 10.0.3.0 => 2
table_add dmac set_dmac 1 => 00:00:00:00:03:03
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