Example #1
0
 def set_password(self, host, new_password):
     #new_password = new_password.decode('ISO-8859-1').strip()
     #log.info("Password getting set is ---- {0}".format(new_password))
     rest = RestConnection(host)
     status = rest._set_secrets_password(new_password)
     log.info("Status of set password command is - {0}".format(status))
Example #2
0
 def set_password(self, host, new_password):
     rest = RestConnection(host)
     status = rest._set_secrets_password(new_password)
     log.info("Status of set password command is - {0}".format(status))