NetBox v2.10.3 : netbox.netbox.netbox_ip_address : AttributeError: 'dict' object has no attribute 'serialize'
#1368
Replies: 1 comment
-
This is a 4 year old version of netbox and this collection. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
netbox.netbox.netbox_ip_address
errors with NetBox web application version2.10.3
I've been trying a lot of different combinations of versions of collection and python pip packages, but I can't get the
netbox.netbox.netbox_ip_address
module to work. Can you tell me what I'm doing wrong, or help me to get it right?tl;dr
3.1.2
netbox.netbox.netbox_ip_address
gives `AttributeError: 'dict' object has no attribute 'serialize'3.0.0
netbox.netbox.netbox_ip_address
givesstate is new but any of the following are missing: address, prefix
2.10.3
Breakdown
I have used these files, and applying them with the corresponding commands:
Ansible Galaxy Collection
requirements.yml
ansible-galaxy install -r requirements.yml
PIP / Python Packages
requirements.txt
source /home/username/local/virtualenvs/ans_netbox/bin/activate
pip install -r requirements.txt
A quick check of the ansible version
ansible-playbook --version
Test Playbook for
netbox.netbox.netbox_ip_address
Using the following playbook
netbox_an_ip.yml
Invoked with:
ansible-playbook netbox_an_ip.yml --check -vvv
Result with
netbox.netbox
version3.1.2
I either get this result with
netbox.netbox
version3.1.2
Result with
netbox.netbox
version3.0.0
Or I get this result with
netbox.netbox
version3.0.0
Other Permutations I have tried:
I can only get these two results, despit trying all these version of the
netbox.netbox
collectionI have also tried, while staying on each netbox.netbox version, the following versions of
pynetbox
with pipBeta Was this translation helpful? Give feedback.
All reactions