handle=ipv6_2_handle,
    action='start_protocol',
)
if _result_['status'] != IxiaHlt.SUCCESS:
    ErrorHandler('test_control', _result_)

print "Waiting for 30 seconds"
time.sleep(30)

############################################################################
# Retrieve protocol statistics                                             #
############################################################################
print "Fetching MLD aggregated statistics"
protostats = ixiangpf.emulation_mld_info(\
    handle = deviceGroup_1_handle,
    type   = 'host',
    mode   = 'aggregate',
                                         )
if protostats['status'] != IxiaHlt.SUCCESS:
    ErrorHandler('emulation_mld_info', protostats)

pprint(protostats)

############################################################################
# Configure L2-L3 traffic                                                  #
# 1. Endpoints : Source->IPv6, Destination->Multicast group                #
# 2. Type      : Multicast IPv6 traffic                                    #
# 3. Flow Group: On IPv6 Destination Address                               #
# 4. Rate      : 1000 packets per second                                   #
# 5. Frame Size: 512 bytes                                                 #
# 6. Tracking  : IPv6 Destination Address                                  #
Esempio n. 2
0
    handle=mldQuerier_1_handle,
    mode='start',
)
if _result_['status'] != IxiaHlt.SUCCESS:
    ErrorHandler('emulation_mld_control', _result_)

print "Waiting for 30 seconds"
time.sleep(30)

############################################################################
# Retrieve protocol statistics                                             #
############################################################################
print "Fetching MLD Host aggregated statistics"
protostats = ixiangpf.emulation_mld_info(\
    handle = deviceGroup_1_handle,
    type   = 'host',
    mode   = 'aggregate',
                                         )
if protostats['status'] != IxiaHlt.SUCCESS:
    ErrorHandler('emulation_mld_info', protostats)

pprint(protostats)

print "Fetching MLD Querier aggregated statistics"
protostats = ixiangpf.emulation_mld_info(\
    handle = deviceGroup_2_handle,
    type   = 'querier',
    mode   = 'aggregate',
                                         )
if protostats['status'] != IxiaHlt.SUCCESS:
    ErrorHandler('emulation_mld_info', protostats)