API

Welcome to the Nutanix NEXT community. To get started please read our short welcome post. Thanks!

cancel
Showing results for 
Search instead for 
Did you mean: 

v1/switch API endpoint

SOLVED Go to solution
Adventurer

v1/switch API endpoint

It looks like Prism is using the "v1/switches" endpoint for "Network Switch Configuration". Is there a similar endpoint in v2.0? Or any plans to bring this endpoint over to v2.0?

 

Thanks,

Andrew

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator Moderator
Moderator

Re: v1/switch API endpoint

You'll eventually see that converge within the v3 networking API's AFAIK, thats a work in progress

Jon Kohler | Principal Architect, Nutanix | Nutanix NPX #003, VCDX #116 | @JonKohler
Please Kudos if useful!
3 REPLIES
Moderator Moderator
Moderator

Re: v1/switch API endpoint

You'll eventually see that converge within the v3 networking API's AFAIK, thats a work in progress

Jon Kohler | Principal Architect, Nutanix | Nutanix NPX #003, VCDX #116 | @JonKohler
Please Kudos if useful!
Nutanix Employee

Re: v1/switch API endpoint

Andrew,

 

As Jon mentioned, we are looking to converging the functionality in V3. Can you throw some light on how do you plan to use the v1/switches endpoint?

 

Thanks,

Tarak

 

Adventurer

Re: v1/switch API endpoint

I'm using GET/PUT/POST/DELETE against it to automatically populate the switches view in Prism when it's running AHV:

 

Screen Shot 2017-03-30 at 8.33.11 PM.png