Git Product home page Git Product logo

renat's People

Contributors

auricv6 avatar bachng2017 avatar starrsl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

renat's Issues

error with item.sh

in some environment likes k8s with mounted NFS, item.sh returns error:

h.nguyen@bachng-renat-6f7f4685cc-n7sst:~/work/sample$ /home/h.nguyen/work/renat/tools/item.sh ex01
Traceback (most recent call last):
  File "/home/h.nguyen/work/renat/tools/item.sh", line 77, in <module>
    ans = input(_('Create local configuration file (local.yaml) or not [yes,no=default]:'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)

VChannel - Key Error - No local.yaml

https://github.com/bachng2017/RENAT/blob/master/VChannel.py#L305

The following code snippet makes no allowences for running VChannel in the absence of a local.yaml file.

As the code only warns if local.yaml is missing i can only assume it is intended that it is possible to test in its absence without it defaulting to the global devices information/manually specified connect statements.

Suggested fix open within a PR

https://github.com/bachng2017/RENAT/pull/7

Permission denied error for creating renate-sample directory

I am trying to run RENAT following the guide using a container. I am running into the below error in step 4 where I get permission denied errors. I do not know the sudo password for this container so I obviously cannot use that.

bash-4.2$ whoami robot bash-4.2$ pwd /home/robot/work/renat bash-4.2$ $RENAT_PATH/tools/project.sh renate-sample mkdir: cannot create directory ‘renate-sample’: Permission denied cp: target ‘renate-sample’ is not a directory find: ‘renate-sample’: No such file or directory created test project: renate-sample use item.sh to create test case

Is there a workaround for this issue?

items.sh returns error while copying folder

confirmed on python3 and mounted NFS

Traceback (most recent call last):
  File "/home/h.nguyen/work/renat/tools/item.sh", line 113, in <module>
    shutil.copytree(TEMPLATE, NAME)
  File "/usr/lib64/python3.6/shutil.py", line 365, in copytree
    raise Error(errors)
shutil.Error:
...

confused error message when appropriate router_mod is not implemented yet

When an unsupported (not yet implement) command is used, the error message is confused. Need more clear error message or a an auto-fallback mechanism

renat_server  | ------------------------------------------------------------------------------
renat_server  | 02. Get BGP neighbor                                                  | FAIL |
renat_server  | UnboundLocalError: local variable 'mod' referenced before assignment

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.