Skip to content
Discussion options

You must be logged in to vote

You cannot generally use the _for auto generated keys to assign.

What you want instead is...

Interface.device.primary_ip4 = address or interface.device.primary_ip6 = address and then interface.device.save()

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@smgray315uk
Comment options

@DanSheps
Comment options

@smgray315uk
Comment options

@candlerb
Comment options

@smgray315uk
Comment options

Answer selected by smgray315uk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants