if _result_['status'] != IxiaHlt.SUCCESS:
    ixnHLT_errorHandler('multivalue_config', _result_)

multivalue_2_handle = _result_['multivalue_handle']

# Configuring SYSTEM1-lacp-LHS with Actor Key, System Id and flags
print("Configuring SYSTEM1-lacp-LHS with Actor Key, System Id and flags")
_result_ = ixiangpf.emulation_lacp_link_config(
    mode="create",
    handle=ethernet_1_handle,
    active="1",
    session_type="lacp",
    actor_key=multivalue_1_handle,
    actor_port_num="1",
    actor_port_num_step="0",
    actor_port_pri="1",
    actor_port_pri_step="0",
    actor_system_id=multivalue_2_handle,
    administrative_key="1",
    collecting_flag="1",
    distributing_flag="1",
    sync_flag="1",
    aggregation_flag="1",
)
if _result_['status'] != IxiaHlt.SUCCESS:
    ixnHLT_errorHandler('emulation_lacp_link_config', _result_)

lacp_1_handle = _result_['lacp_handle']

# Creating LACP on top of Ethernet Stack for the second Device Group
print("\nCreating LACP on top of Ethernet Stack for the second Device Group")
        nest_enabled            = "0",
        overlay_value           = "666,666",
        overlay_value_step      = "666,666",
        overlay_index           = "1,2",
        overlay_index_step      = "0,0",
        overlay_count           = "1,1",
    )
if _result_['status'] != IxiaHlt.SUCCESS:
    ixnHLT_errorHandler('multivalue_config', _result_)

sys1_lhs_lagId_multivalue_handle = _result_['multivalue_handle']

_result_ = ixiangpf.emulation_lacp_link_config(
    mode              = "create",
    handle            = ethernet_1_handle,
    active            = "1",
    session_type      = "staticLag",
    lag_id            = sys1_lhs_lagId_multivalue_handle,
)
if _result_['status'] != IxiaHlt.SUCCESS:
    ixnHLT_errorHandler('emulation_lacp_link_config', _result_)
staticLag_1_handle = _result_['staticLag_handle']

# Creating Static LAG on top of Ethernet Stack for the second Device Group with LAG id 777
print("\nCreating Static LAG on top of Ethernet Stack for the second Device Group with LAG id 777")
_result_ = ixiangpf.multivalue_config(
        pattern                 = "single_value",
        single_value            = "1",
        nest_step               = "1",
        nest_owner              = '%s' % (topology_2_handle),
        nest_enabled            = "0",