opened
ansiblejunky
username_0
Simple fix for the time being, until the repo gets revamped for Python3. 
Only added the requirement for `crytopgraphy` to version 3.0 since this prevents the existing error "invalid private key" that occurs when running the docker image. This should also fix any other issues with running fake-switches with python2 for now.
Fix invalid private key error
issue
created
fbouliane
username_1
Hello, welcome to the project & thanks for the patch. 
I see we have broken the 1.3.10 version on dockerhub and this should help.
the 1.3.8 tag should help in the meanwhile if you don't need the new features.
https://hub.docker.com/r/internap/fake-switches/tags?page=1&ordering=last_updated

Good practice for me would be to use a pip constraints, and release fake-switches 1.3.11 that 
 - Excludes cryptography > 3
 - Use contraints file to build the docker image.

This was really useful to dig why our internal ci was broken this morning ! Thanks for your support.
comment
created
ansiblejunky
username_0
Hi @username_1 and thanks for the welcome msg. Your app helped me a lot recently with a tech requirement I had. I was hoping to get this repo moving forward with some enhancements to support other devices, as I have struggled with spinning up or getting various network devices to support my customers. I work with Ansible and want to use your project as a way to emulate various devices. 

Let me know if you can merge this PR or if you need something else.

Cheers,
John
comment