VMware Cloud Community
nick800
Contributor
Contributor
Jump to solution

Getting "NetworkPath"(classID:Network) via vro function or REST API for Infrastructure Reservations

On the Network Tab of a Reservation you have the left column of "Network Adapters" that end up with values on the Reservation object like this(bolded) below. However on this return I only get the ones that have already been mapped. Wondering if it's possible to get the list of available network adapters available to a given reservation regardless of whether it is mapped or not? Tried a few locations but couldn't find it in the ipam-service, and StaticIPv4Ranges seems to be something else. Thanks!

{

                            "type": "complex",

                            "componentTypeId": "com.vmware.csp.iaas.blueprint.service",

                            "componentId": null,

                            "classId": "Infrastructure.Reservation.Network",

                            "typeFilter": null,

                            "values": {

                                "entries": [

                                    {

                                        "key": "networkPath",

                                        "value": {

                                            "type": "entityRef",

                                            "classId": "Network",

                                            "id": "c025b200-b4b6-44d8-a999-0cd81f6cb407",

                                            "componentId": null,

                                            "label": "VRA_NCE_1DT_2730_PGU"

                                        }

                                    },

                                    {

                                        "key": "networkProfile",

                                        "value": {

                                            "type": "entityRef",

                                            "classId": "networkProfile",

                                            "id": "1ab03b25-2e22-421d-8d53-0f035e2a5b7b",

                                            "componentId": null,

                                            "label": "VRA_NCE_1DT_2730_PGU"

                                        }

                                    }

                                ]

                            }

                        },

Reply
0 Kudos
1 Solution

Accepted Solutions
nick800
Contributor
Contributor
Jump to solution

The information is in the HostNics object, though still trying to decipher why there are 9 rows for the same HostNicName. ( I see they are mapped by HostNictoReservation )

View solution in original post

Reply
0 Kudos
1 Reply
nick800
Contributor
Contributor
Jump to solution

The information is in the HostNics object, though still trying to decipher why there are 9 rows for the same HostNicName. ( I see they are mapped by HostNictoReservation )

Reply
0 Kudos