ucscsdk/utils/ucscfirmware.py
def _is_valid_cisco_connection(cisco_username, cisco_password, proxy_str):
    '''
    This internal method validates connection to the cisco for firmware update
    TODO: Need to verify connection to cisco from central
    '''
    image_list = []
    image_list = get_ucsc_cco_image_list(username=cisco_username,
                                         password=cisco_password,
                                         proxy=proxy_str)

    if image_list == []:
        UcscWarning("Connection to cisco.com failed")
        return False
    return True

    This internal method validates connection to the cisco for firmware update
    TODO: Need to verify connection to cisco from central
    
This internal method validates connection to the cisco for firmware update
TODO: Need to verify connection to cisco from central
This internal method validates connection to the cisco for firmware update TODO : Need to verify connection to cisco from central
def _is_valid_cisco_connection(cisco_username, cisco_password, proxy_str):
    image_list = []
    image_list = get_ucsc_cco_image_list(username=cisco_username,
                                         password=cisco_password,
                                         proxy=proxy_str)
    if image_list == []:
        UcscWarning("Connection to cisco.com failed")
        return False
    return True
def _is_valid_cisco_connection ( cisco_username , cisco_password , proxy_str ) : image_list = [ ] image_list = get_ucsc_cco_image_list ( username = cisco_username , password = cisco_password , proxy = proxy_str ) if image_list == [ ] : UcscWarning ( "Connection to cisco.com failed" ) return False return True
This internal method validates connection to the cisco for firmware update
TODO: Need to verify connection to cisco from central
This internal method validates connection to the cisco for firmware update TODO : Need to verify connection to cisco from central
'''
    This internal method validates connection to the cisco for firmware update
    TODO: Need to verify connection to cisco from central
    '''
cisco_username
cisco_password
proxy_str