-
Notifications
You must be signed in to change notification settings - Fork 186
Closed as not planned
Closed as not planned
Copy link
Labels
type: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Description
pynetbox version
v7.4.1
NetBox version
v4.2.2
Feature type
Data model extension
Proposed functionality
eg. available_ips.create({'address': xxxx}}
last_ip = new_firewall_linknet_prefix.available_ips.list()[-1]
firewall_ip = new_firewall_linknet_prefix.available_ips.create({'address': last_ip.address})Use case
Currently if I want to create an IP from the last item of available_ips.list(), I will have to create one (which is the next available IP) then update to the address I wanted
last_ip = new_firewall_linknet_prefix.available_ips.list()[-1]
firewall_ip = new_firewall_linknet_prefix.available_ips.create()
firewall_ip.address = last_ip.address
firewall_ip.save()This does not work
External dependencies
No response
Metadata
Metadata
Assignees
Labels
type: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application