{"action":"opened","issue":{"url":"https://api.github.com/repos/digitalocean/pynetbox/issues/119","repository_url":"https://api.github.com/repos/digitalocean/pynetbox","labels_url":"https://api.github.com/repos/digitalocean/pynetbox/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/digitalocean/pynetbox/issues/119/comments","events_url":"https://api.github.com/repos/digitalocean/pynetbox/issues/119/events","html_url":"https://github.com/digitalocean/pynetbox/issues/119","id":386194690,"node_id":"MDU6SXNzdWUzODYxOTQ2OTA=","number":119,"title":"save() on tags attribute for VLAN and interface objects not storing changes","user":{"login":"jord-bh","id":33550653,"node_id":"MDQ6VXNlcjMzNTUwNjUz","avatar_url":"https://avatars3.githubusercontent.com/u/33550653?v=4","gravatar_id":"","url":"https://api.github.com/users/jord-bh","html_url":"https://github.com/jord-bh","followers_url":"https://api.github.com/users/jord-bh/followers","following_url":"https://api.github.com/users/jord-bh/following{/other_user}","gists_url":"https://api.github.com/users/jord-bh/gists{/gist_id}","starred_url":"https://api.github.com/users/jord-bh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jord-bh/subscriptions","organizations_url":"https://api.github.com/users/jord-bh/orgs","repos_url":"https://api.github.com/users/jord-bh/repos","events_url":"https://api.github.com/users/jord-bh/events{/privacy}","received_events_url":"https://api.github.com/users/jord-bh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-30T13:48:06Z","updated_at":"2018-11-30T13:48:06Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nsorry to bother once more with this issue, but it seems like the fix for #94 only works for tags on a device or interface object, but not for tags on VLAN or IPAdress-objects:\r\n\r\n```\r\n>>> import pynetbox\r\n>>> pynetbox.__version__\r\n'3.4.10'\r\n>>> nb = pynetbox.api(url='https://sub.domain.tld/', token='0123456789abcdef0123456789abcdef01234567')\r\n\r\n>>> intf = nb.dcim.interfaces.get(1)\r\n>>> intf.tags\r\n[]\r\n>>> intf.tags.append('27')\r\n>>> intf.save()\r\nTrue\r\n>>> nb.dcim.interfaces.get(1).tags\r\n['27']\r\n\r\n>>> dvc = nb.dcim.devices.get(1)\r\n>>> dvc.tags\r\n[]\r\n>>> dvc.tags.append('27')\r\n>>> dvc.save()\r\nTrue\r\n>>> nb.dcim.devices.get(1).tags\r\n['27']\r\n\r\n>>> ip = nb.ipam.ip_addresses.get(1)\r\n>>> ip.tags\r\n[]\r\n>>> ip.tags.append('27')\r\n>>> ip.save()\r\nFalse\r\n>>> nb.ipam.ip_addresses.get(1).tags\r\n[]\r\n\r\n>>> vlan = nb.ipam.vlans.get(1)\r\n>>> vlan.tags\r\n[]\r\n>>> vlan.tags.append('27')\r\n>>> vlan.save()\r\nFalse\r\n>>> nb.ipam.vlans.get(1).tags\r\n[]\r\n```"}}
{"actor":{"display_login":"jord-bh"}}