def get_platform_params_for_commands(iib_ver):
    """Returns parameters for internal functions depending on Integration Bus version."""
    mqsilist_brokers = "get_brokers_status"
    mqsilist_integration_nodes = "get_integration_nodes_status"
    # See IBM diagnostic messages:
    # https://www.ibm.com/support/knowledgecenter/en/SSMKHH_9.0.0/com.ibm.etools.mft.bipmsgs.doc/ay_bip1.htm
    # Also you can use command: mqsiexplain <bip_code>
    bip_codes_broker = {
        # BIPCode: [broker_name_position, qm_name_position, status_position, trim_last_dot_in_qm_name]
        'BIP1284I': [2, 6, 8, 'false'],
        'BIP1285I': [2, 6, 8, 'false'],
        'BIP1293I': [2, 14 ,7, 'true'],
        'BIP1294I': [2, 14 ,7, 'true'],
        'BIP1295I': [2, 17, 13, 'true'],
        'BIP1296I': [2, 22, 4, 'true'],
        'BIP1297I': [2, 14, 7, 'true'],
        'BIP1298I': [2, 17, 4, 'true']
    }
    # https://www.ibm.com/support/knowledgecenter/en/SSMKHH_10.0.0/com.ibm.etools.mft.bipmsgs.doc/ay_bip1.htm
    bip_codes_integration_nodes = {
        # BIPCode: [broker_name_position, qm_name_position, status_position, trim_last_dot_in_qm_name]
        'BIP1284I': [3, 8, 14, 'false'],
        'BIP1285I': [3, 7, 9, 'false'],
        'BIP1295I': [3, 19, 15, 'true'],
        'BIP1296I': [3, 24 ,5, 'true'],
        'BIP1298I': [3, 18, 5, 'true'],
        'BIP1325I': [3, None, 9, 'false'],
        'BIP1326I': [3, None, 5, 'false'],
        'BIP1340I': [3, None, 5, 'false'],
        'BIP1353I': [3, 8, 10, 'false'],
        'BIP1366I': [3, 19, 15, 'true'],
        'BIP1376I': [3, 19, 15, 'true'],
        'BIP1377I': [3, 24, 5, 'true']
    }
    bip_codes_broker_components = {
        # BIPCode: [component_type, positions: broker_name, egname, status]
        'BIP1286I': ['exec_groups', 6, 3, 8],
        'BIP1287I': ['exec_groups', 6, 3, 8],
        # BIPCode: [component_type, positions: egname, appname, status]
        'BIP1275I': ['applications', 6, 2, 8],
        'BIP1276I': ['applications', 6, 2, 8],
        # BIPCode: [component_type, positions: egname, appname, msgflowname, status]
        'BIP1277I': ['message_flows', 7, 11, 3, 9],
        'BIP1278I': ['message_flows', 7, 11, 3, 9]}
    bip_codes_integration_nodes_components = {
        'BIP1286I': ['exec_groups', 7, 3, 9],
        'BIP1287I': ['exec_groups', 7, 3, 9],
        'BIP1275I': ['applications', 6, 2, 8],
        'BIP1276I': ['applications', 6, 2, 8],
        'BIP1277I': ['message_flows', 7, 11, 3, 9],
        'BIP1278I': ['message_flows', 7, 11, 3, 9]}
    if iib_ver == "9":
        return mqsilist_brokers, bip_codes_broker, bip_codes_broker_components
    if iib_ver == "10":
        return mqsilist_integration_nodes, bip_codes_integration_nodes, bip_codes_integration_nodes_components