Replies: 7 comments
-
Should we change |
Beta Was this translation helpful? Give feedback.
-
@sc68cal Not sure if we are on the same page, but when I am checking API I can see that only unique property is id:
I made small correction of my initial request. If we would be able to use id not a string (name / displayname / slug) then it problem won't exist. From ansible point of view imho 2 possible scenerios:
or
hope that it's more clear now :) |
Beta Was this translation helpful? Give feedback.
-
Yes that sounds reasonable to me. I think the second example where |
Beta Was this translation helpful? Give feedback.
-
technically possible to get in the next release or this is too optimistic? :) |
Beta Was this translation helpful? Give feedback.
-
Are you working on it? |
Beta Was this translation helpful? Give feedback.
-
This works for me:
Returns:
|
Beta Was this translation helpful? Give feedback.
-
I believe that I've somehow missed that, but really works as we wanted in our technical assumptions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
NetBox version
v3.4.4
Feature type
Change to existing Module
Proposed functionality
possiblity to add netbox.netbox.netbox_vm_interface using virtual_machine id (expected int) as an option besides currently used virtual_machine (expected string) parameter
Use case
In case if in Netbox 2 or more virtual machines exist with the same name in 2 or more tenants, there is no technical possibility to use netbox.netbox.netbox_vm_interface module to add interface to one of these machines, as more than 1 result will be presented.
Adding option to add via virtual_machine_id (unique value) will fix this problem.
Technically using API request we are able to filter specic interface using:
GET /api/virtualization/interfaces/?virtual_machine_id=
External dependencies
n/a
Beta Was this translation helpful? Give feedback.
All reactions