Juniper / junos-terraform

Apache License 2.0
70 stars 24 forks source link

Error handling for process yang functionality #37

Closed riteshr612 closed 2 years ago

riteshr612 commented 2 years ago

This fixes #34

Added check for process yang being executed from venv. If not, then following error is printed for the user: ERROR: Please run this in a python3 virtual environment.

Added check for installation of pyang in venv. If not, then following error is printed for the user: ERROR: Please install pyang in the virtual environment.