diff --git a/tools/marvin/marvin/lib/vcenter.py b/tools/marvin/marvin/lib/vcenter.py index bab740e9440..85b50b39a3c 100644 --- a/tools/marvin/marvin/lib/vcenter.py +++ b/tools/marvin/marvin/lib/vcenter.py @@ -184,12 +184,11 @@ class Vcenter(): if __name__ == '__main__': - # vc_object = Vcenter("10.147.60.13", "Administrator", "password_123") - vc_object = Vcenter("10.102.192.248", "administrator", "vCenter!9") + vc_object = Vcenter("10.x.x.x", "username", "password") print '###get one dc########' - print(vc_object.get_datacenters(name='Jayashree DC')) + print(vc_object.get_datacenters(name='testDC')) print '###get multiple dcs########' for i in vc_object.get_datacenters(): @@ -214,4 +213,4 @@ if __name__ == '__main__': for i in vc_object.get_dvportgroups(): print(i) - print vc_object.get_vms(name='VM1') \ No newline at end of file + print vc_object.get_vms(name='VM1')