GDCC

API

cmd_gdcc.set_pktid_gdcc(gdcc_id, value)[source]

set the packet id of data packets

cmd_gdcc.rst_lnks_gdcc(gdcc_id, mask)[source]

reset the links of an gdcc

cmd_gdcc.reset_n_check_gdcc(gdcc_id)[source]

reset and check an gdcc and its channels

cmd_gdcc.get_macdest_gdcc(gdcc_id)[source]

get the unicast mac address of a gdcc

cmd_gdcc.set_macdest_gdcc(gdcc_id, macaddr)[source]

set the unicast mac address of a gdcc

cmd_gdcc.get_version_gdcc(gdcc_id)[source]

get the version number of a gdcc

cmd_gdcc.init_gdcc(gdcc_id, mac_addr, pc_dev, simul)[source]

initialize a gdcc

cmd_gdcc.init_fin_gdcc(gdcc_id)[source]

Finalize initialization of gdcc

cmd_gdcc.deinit_gdcc(gdcc_id)[source]

deinitialize the gdcc

cmd_gdcc.config_gdcc(gdcc_id, trans_delay)[source]

configure an gdcc

cmd_gdcc.dump_all_gdcc()[source]

display details about registered gdccs

cmd_gdcc.send_difpkt_gdcc(gdcc_id, difport, data)[source]

send a data packet to a dif

cmd_gdcc.send_diffc_gdcc(gdcc_id, mask, data)[source]

send a fast command to a dif

cmd_gdcc.get_lnks_locked_gdcc(gdcc_id)[source]

get the links locked of a gdcc

cmd_gdcc.get_status_gdcc(gdcc_id)[source]

get the status of every gdcc channel

cmd_gdcc.get_trans_delay_gdcc(gdcc_id)[source]

get the transmission delay value of a gdcc

cmd_gdcc.set_trans_delay_gdcc(gdcc_id, delay)[source]

set the transmission delay value of a gdcc

cmd_gdcc.get_difnb_gdcc(gdcc_id)[source]

returns the number of dif attached to a gdcc

cmd_gdcc.set_global_reset_gdcc(gdcc_id)[source]

set global reset

cmd_gdcc.set_pktgen_enable_gdcc(gdcc_id, enablepktgen)[source]

set value of enable register for gdcc pkt generator

cmd_gdcc.set_pktgen_control_gdcc(gdcc_id, control)[source]

set value of control register for the gdcc pkt generator

cmd_gdcc.get_register_control_gdcc(gdcc_id)[source]

get the register control value

cmd_gdcc.set_pktgen_parameter_gdcc(gdcc_id, pkt_size, pkt_nbr, delay_btwpkt, pkt_seed)[source]

set the parameters for gdcc pkt generator