cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
420
Views
0
Helpful
1
Replies

Access of Vcenter VM from CPO

vigneswaram
Level 1
Level 1

Hi team,

 

Could you please help me how to access a vm from CPO? Below are my scenario details:

Scenario:

1) I have created one VM in Vcenter

2) I need to run some windows commands in Vcenter's VM using CPO activities.

 

Regards,

Vignesh.

 

 

 

1 Reply 1

Shaun Roberts
Cisco Employee
Cisco Employee

Assuming it's a windows VM since you mentioned windows commands you will need to create a windows target for it and then you can use windows commands against that.

 

You can create the target manually in the definitions->target area or you could create the target in a process/automatically via the Northbound Web Services and a call to the TARGET WSDL.

 

If you want more info on that, check out my blog on the NBWS:

 

https://supportforums.cisco.com/blog/9914016/pondering-automation-how-i-saved-bundle-switching-cpo

 

 

--Shaun

--Shaun Roberts
Principal Engineer, CX
shaurobe@cisco.com