Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot set description when creating a vlan #89

Open
karmab opened this issue Jun 11, 2020 · 3 comments
Open

cannot set description when creating a vlan #89

karmab opened this issue Jun 11, 2020 · 3 comments
Labels

Comments

@karmab
Copy link

karmab commented Jun 11, 2020

when creating a vlan with a description, i get an error

import packet
manager = packet.Manager(auth_token="yourapiauthtoken")
data = {'project_id': project_id, 'facility': facility, 'description': name}
manager.create_vlan(**data)

i get

TypeError: create_vlan() got an unexpected keyword argument 'description'
@displague
Copy link
Member

Thanks for reporting this @karmab!

I can confirm that there is a mismatch here. The documentation suggests the description field is available, while the client is not implementing it.

@vielmetti vielmetti added the bug label Jun 11, 2020
@vielmetti
Copy link
Member

@mmlb please take a look?

@karmab
Copy link
Author

karmab commented Jun 15, 2020

fixed by #87

@karmab karmab changed the title cant set description when creating a vlan cannot set description when creating a vlan Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants