#<tags variable name>                   : ports,serial_number,manufacturer,model_name,software_version
        #<tags name>                            : ports,serial-number,manufacturer,model-name,software-version
        #<port-id's range/subtags of ports>     : see below three format
        #<port-id's range>                      : 1-5, 1,2,3
        #subtags of ports                       : port-type,has_opm,has_oxc
        # 1.                                    : 1-24/port-type,has_opm,has_oxc
        # 2.                                    : 1,2,3...24/has_opm
        # 3.                                    : 'allInfo'  (If you need all ports info)

        selectedProductInfo('ports,serial_number,manufacturer,model_name,software_version','ports,serial-number,manufacturer,model-name,software-version', '1/port-type,has_opm,has_oxc', 'selectedProductInfo.xml')



### main

if __name__ == '__main__':
    productInfo('connectSwitch')
    #productInfo('product-Information')
    productInfo('selectedProductInfo')
    #productInfo('product-Information')
    #productInfo('port_has_oxc')
    #productInfo('port_has_opm')
    #productInfo('port_type')
    #productInfo('port_id')
    #productInfo('ports')
    #productInfo('software_version')
    #productInfo('model_name')
    #productInfo('manufacturer')


        # <port-id's range/subtags of ports>     : see below three format
        # <port-id's range>                      : 1-5, 1,2,3
        # subtags of ports                       : port-type,has_opm,has_oxc
        # 1.                                    : 1-24/port-type,has_opm,has_oxc
        # 2.                                    : 1,2,3...24/has_opm
        # 3.                                    : 'allInfo'  (If you need all ports info)

        selectedProductInfo(
            "ports,serial_number,manufacturer,model_name,software_version",
            "ports,serial-number,manufacturer,model-name,software-version",
            "1-24/port-type,has_opm,has_oxc",
            "selectedProductInfo.xml",
        )


### main

if __name__ == "__main__":
    productInfo("connectSwitch")
    productInfo("product-Information")
    productInfo("selectedProductInfo")
#    productInfo('product-Information')
#    productInfo('port_has_oxc')
#    productInfo('port_has_opm')
#    productInfo('port_type')
#    productInfo('port_id')
#    productInfo('ports')
#    productInfo('software_version')
#    productInfo('model_name')
#    productInfo('manufacturer')