def entsw_c4k_config():
    """
    :return:
    """
    show_version()
    cat4_stations.show_version()

    config = lib.get_station_configuration()

    # LINECARD STATIONS
    # -----------------------------------------------------------------
    station_details = dict(
        product_line='C9400',
        server_ip='172.25.62.32',
        ts_ip='10.1.1.3',
        ts_start_port=2005,
        chassis='LINECARD_SEVEN_SLOT_1S',
        chassis_count=1
    )
    cat4_stations.linecard_pcbp2(config, **station_details)
    cat4_stations.linecard_pcb2c(config, **station_details)
    cat4_stations.linecard_pcbpm(config, **station_details)
    cat4_stations.linecard_pcbst(config, **station_details)
    cat4_stations.linecard_debug(config, **station_details)

    return
def entsw_c9400_config():
    """
    :return:
    """
    show_version()
    cat4_stations.show_version()

    config = lib.get_station_configuration()

    # SUPERVISOR STATIONS PCBP2, PCBST
    # -----------------------------------------------------------------
    station_details = dict(product_line='C9400',
                           server_ip='172.28.106.19',
                           ts_ip='10.1.1.3',
                           ts_start_port=2003,
                           psu_separate_control=False,
                           chassis='SUPERVISOR_SEVEN_SLOT_A',
                           chassis_count=1)
    cat4_stations.sup_pcbp2(config, **station_details)
    cat4_stations.sup_pcbst(config, **station_details)
    cat4_stations.sup_debug(config, **station_details)

    # SUPERVISOR STATIONS PCB2C
    # -----------------------------------------------------------------
    station_details = dict(product_line='C9400',
                           server_ip='172.28.106.19',
                           ts_ip='10.1.1.3',
                           ts_start_port=2003,
                           psu_separate_control=False,
                           chamber_ts_ip='10.1.1.3',
                           chamber_ts_port=2007,
                           chassis='SUPERVISOR_SEVEN_SLOT_A',
                           chassis_count=1)
    cat4_stations.sup_pcb2c(config, **station_details)

    # LINECARD STATIONS
    # -----------------------------------------------------------------
    station_details = dict(product_line='C9400',
                           server_ip='172.28.106.19',
                           ts_ip='10.1.1.3',
                           ts_start_port=2003,
                           chamber_ts_ip='10.1.1.3',
                           chamber_ts_port=2009,
                           poe_ts_ip=None,
                           poe_ts_start_port=None,
                           chassis='LINECARD_SEVEN_SLOT_2S',
                           chassis_count=1)
    cat4_stations.linecard_pcbp2(config, **station_details)
    cat4_stations.linecard_pcb2c(config, **station_details)
    cat4_stations.linecard_pcbpm(config, **station_details)
    cat4_stations.linecard_pcbst(config, **station_details)
    cat4_stations.linecard_debug(config, **station_details)

    return
Example #3
0
def entsw_c4k_config():
    """
    :return:
    """
    show_version()
    cat4_stations.show_version()

    config = lib.get_station_configuration()

    # SUP STATIONS
    # -----------------------------------------------------------------
    station_details = dict(product_line='C9400',
                           server_ip='172.28.106.75',
                           ts_ip='10.1.1.2',
                           ts_start_port=2005,
                           chamber_ts_ip='10.1.1.2',
                           chamber_ts_port=2021,
                           poe_ts_ip=None,
                           poe_ts_start_port=None,
                           chassis='SUPERVISOR_SEVEN_SLOT_A',
                           chassis_count=1)
    cat4_stations.sup_pcbp2(config, **station_details)
    cat4_stations.sup_pcb2c(config, **station_details)
    cat4_stations.sup_pcbst(config, **station_details)
    cat4_stations.sup_debug(config, **station_details)

    # LINECARD STATIONS
    # -----------------------------------------------------------------
    station_details = dict(product_line='C9400',
                           server_ip='172.28.106.75',
                           ts_ip='10.1.1.2',
                           ts_start_port=2005,
                           chamber_ts_ip='10.1.1.2',
                           chamber_ts_port=2021,
                           poe1_ts_ip=None,
                           poe1_ts_start_port=None,
                           poe_model='Edgar5',
                           chassis='LINECARD_SEVEN_SLOT_1S',
                           chassis_count=1)
    cat4_stations.linecard_pcbp2(config, **station_details)
    cat4_stations.linecard_pcb2c(config, **station_details)
    cat4_stations.linecard_pcbpm(config, **station_details)
    cat4_stations.linecard_pcbst(config, **station_details)
    cat4_stations.linecard_debug(config, **station_details)

    return
Example #4
0
def cat4_lab(server_ip, dwnld_server_ip):
    """
    :return:
    """
    show_version()
    cat4_stations.show_version()

    config = lib.get_station_configuration()

    # SUPERVISOR STATIONS PCBP2, PCBST
    # -----------------------------------------------------------------
    station_details = dict(
        product_line='C9400',
        server_ip=server_ip, dwnld_server_ip=dwnld_server_ip,
        ts_ip='10.89.133.9', ts_start_port=2003,
        psu_separate_control=False,
        chamber_ts_ip='10.89.133.9', chamber_ts_port=2018,
        chassis='SUPERVISOR_SEVEN_SLOT_A',
        chassis_count=1
    )
    cat4_stations.sup_pcbp2(config, **station_details)
    cat4_stations.sup_pcb2c(config, **station_details)
    cat4_stations.sup_pcbst(config, **station_details)
    cat4_stations.sup_debug(config, **station_details)

    # LINECARD STATIONS
    # -----------------------------------------------------------------
    station_details = dict(
        product_line='C9400',
        server_ip=server_ip, dwnld_server_ip=dwnld_server_ip,
        ts_ip='10.89.133.9', ts_start_port=2003,
        chamber_ts_ip='10.89.133.9', chamber_ts_port=2018,
        poe_ts_ip=None,
        poe_ts_start_port=None,
        chassis='LINECARD_SEVEN_SLOT_2S',
        chassis_count=1
    )
    cat4_stations.linecard_pcbp2(config, **station_details)
    cat4_stations.linecard_pcb2c(config, **station_details)
    cat4_stations.linecard_pcbpm(config, **station_details)
    cat4_stations.linecard_pcbst(config, **station_details)
    cat4_stations.linecard_debug(config, **station_details)

    return