Page MenuHomePhabricator

Python Management LibraryProject
ActivePublic

Details

Description

A Python library for managing VyOS routers

Recent Activity

Jul 24 2017

syncer added a hashtag to Python Management Library: #pml.
Jul 24 2017, 5:55 PM
syncer set the icon for Python Management Library to Project.
Jul 24 2017, 5:55 PM

Sep 2 2016

Hochikong closed T133: Add a generic method set() and delete() as Resolved.

Have finished

Sep 2 2016, 9:04 AM · Python Management Library

Aug 21 2016

Hochikong added a comment to T133: Add a generic method set() and delete().

I have create an issue on pexpect's github homepage,and they told me to use "echo $?" to get the exit code,but I can't type "?" on VyOS.How to deal with it?

Aug 21 2016, 1:53 PM · Python Management Library
Hochikong created T133: Add a generic method set() and delete().
Aug 21 2016, 7:56 AM · Python Management Library
Hochikong closed T86: Python management library methods give timeouts as Resolved.

Finish the problem

Aug 21 2016, 7:52 AM · Python Management Library

Aug 18 2016

Hochikong added a comment to T86: Python management library methods give timeouts.

Hi!I HAVE FIXED MOST OF PROBLEMS AND ADD BGP SUPPORT,BY THE WAY I HAVE CHANGED THE API STYLE AND REWRITED THE README FILE.

Aug 18 2016, 8:44 AM · Python Management Library

Aug 17 2016

Hochikong added a comment to T86: Python management library methods give timeouts.

@syncer
OK,I will test it and add a BGP support

Aug 17 2016, 3:18 AM · Python Management Library

Aug 16 2016

syncer added a comment to T86: Python management library methods give timeouts.

Hello @Hochikong ,
can you just run basic tests and report back how it goes,
we then can go to next step maybe.

Aug 16 2016, 8:05 AM · Python Management Library

Aug 15 2016

Hochikong added a comment to T86: Python management library methods give timeouts.

waiting for tested

Aug 15 2016, 1:16 PM · Python Management Library

Aug 11 2016

Hochikong added a comment to T86: Python management library methods give timeouts.

Anybody can test the improved library?

Aug 11 2016, 5:44 AM · Python Management Library

Aug 6 2016

jhendryUK added a watcher for Python Management Library: jhendryUK.
Aug 6 2016, 6:56 PM

Jul 24 2016

Hochikong added a comment to T86: Python management library methods give timeouts.

Now you can test it again.I have fix the problem

Jul 24 2016, 4:58 PM · Python Management Library
Hochikong added a comment to T86: Python management library methods give timeouts.
from pxssh import pxssh
Jul 24 2016, 3:53 AM · Python Management Library

Jul 23 2016

Hochikong added a comment to T86: Python management library methods give timeouts.

I have find out a solution.Use pexpect.pxssh to execute the commands and return the result.
pexpect can provide python3 support and maybe deal with the timeout problem(You can try it when I have finish fixing)

Jul 23 2016, 8:14 AM · Python Management Library
Hochikong added a comment to T86: Python management library methods give timeouts.

When I try to use paramiko connect to vyos but it doesn't work when I send some command,it only works on the other commands

Jul 23 2016, 7:38 AM · Python Management Library

Jul 18 2016

Hochikong added a comment to T86: Python management library methods give timeouts.

@syncer Sorry,recently I was busy with some research on Machine Learning.

Jul 18 2016, 2:51 AM · Python Management Library

Jul 17 2016

syncer closed T85: Python management library is not Python3 compatible as Wontfix.

This should be moved to paramiko

Jul 17 2016, 9:38 PM · Rejected
syncer lowered the priority of T86: Python management library methods give timeouts from Unbreak Now! to High.
Jul 17 2016, 9:37 PM · Python Management Library
syncer added a comment to T86: Python management library methods give timeouts.

Should this be rewritten with paramiko?

Jul 17 2016, 9:37 PM · Python Management Library

Jun 30 2016

Hochikong added a comment to T85: Python management library is not Python3 compatible.

@afics so maybe py3 support should be on hold...but this task just about py2 style exception syntax therefore this task is finished,right?

Jun 30 2016, 12:36 PM · Rejected
afics added a comment to T85: Python management library is not Python3 compatible.

Your core dependecy exscript is not compatible with python3. It seems like someone started working on it but didn't finish and abandoned the port. I guess you don't want to port it, so I guess python3 support is on hold for now :/

Jun 30 2016, 7:59 AM · Rejected
Hochikong added a comment to T85: Python management library is not Python3 compatible.

I think this task can be closed

Jun 30 2016, 2:32 AM · Rejected

Jun 14 2016

Hochikong added a comment to T86: Python management library methods give timeouts.

Do you find out the problem in your test?

Jun 14 2016, 3:30 AM · Python Management Library

Jun 12 2016

Hochikong added a comment to T85: Python management library is not Python3 compatible.

waiting for

Jun 12 2016, 4:39 PM · Rejected

Jun 11 2016

EwaldvanGeffen closed T83: Remove autogenerated files from git as Resolved.
Jun 11 2016, 4:08 PM · Python Management Library
Hochikong added a comment to T83: Remove autogenerated files from git.

This task have solved

Jun 11 2016, 3:24 PM · Python Management Library

Jun 9 2016

Hochikong added a comment to T86: Python management library methods give timeouts.

When I was testing vyroute,I never met such a timeout.Only I enter a error data the timeout exception will raises

Jun 9 2016, 3:19 PM · Python Management Library
dmbaturin added a comment to T86: Python management library methods give timeouts.

Well, I'll reiterate. Interactice SSH works fine to the device in question. The library is giving timeouts. Interactice SSH is not giving me timeouts. From this I deduce that the problem must be in the library, or in exscript.

Jun 9 2016, 3:04 PM · Python Management Library
syncer closed T84: Add proper .gitignore to the python management library as Resolved.

closing this as solved

Jun 9 2016, 1:35 PM · Python Management Library

Jun 8 2016

syncer assigned T86: Python management library methods give timeouts to Hochikong.
Jun 8 2016, 4:41 PM · Python Management Library
Hochikong added a comment to T86: Python management library methods give timeouts.

Well,I have find a soluntion.

Jun 8 2016, 7:07 AM · Python Management Library

Jun 7 2016

Hochikong added a comment to T84: Add proper .gitignore to the python management library.

Have fixed

Jun 7 2016, 1:29 PM · Python Management Library
Hochikong added a comment to T83: Remove autogenerated files from git.

I have push the code and finish T83

Jun 7 2016, 1:17 PM · Python Management Library
Hochikong added a comment to T86: Python management library methods give timeouts.

I think high-level tools should read the return before they feed back to user,if func return a time out error,high-level tools can ignore it.Now I only find one solution is add a statement to check the return,if func return a timeout error,it will modify the self.__status.

Jun 7 2016, 1:02 PM · Python Management Library
dmbaturin added a comment to T86: Python management library methods give timeouts.

Well, you realize that "execute one more time" is absolutely not an option for a library that is supposed to allow making configuration changes unattended from SDN controllers etc. among other things, right? ;)

Jun 7 2016, 11:14 AM · Python Management Library
dmbaturin added a comment to T83: Remove autogenerated files from git.

Oops. Fixed, try now.

Jun 7 2016, 11:09 AM · Python Management Library
Hochikong added a comment to T86: Python management library methods give timeouts.

I donno whether you have found the below content in vyroute's readme file(you can visit that file):

Jun 7 2016, 11:03 AM · Python Management Library
Hochikong added a comment to T83: Remove autogenerated files from git.

I cannot push my code.Because observers group no python-vyos-mgmt repo{F1661}

Jun 7 2016, 10:31 AM · Python Management Library

Jun 6 2016

dmbaturin created T86: Python management library methods give timeouts.
Jun 6 2016, 4:29 PM · Python Management Library
dmbaturin created T85: Python management library is not Python3 compatible.
Jun 6 2016, 4:16 PM · Rejected
dmbaturin created T84: Add proper .gitignore to the python management library.
Jun 6 2016, 2:33 PM · Python Management Library
dmbaturin created T83: Remove autogenerated files from git.
Jun 6 2016, 2:25 PM · Python Management Library

Jun 5 2016

Hochikong added a watcher for Python Management Library: Hochikong.
Jun 5 2016, 1:54 PM
syncer updated the image for Python Management Library from F1650: fa-briefcase-violet.png to F1634: fa-flask-green.png.
Jun 5 2016, 12:07 PM
syncer added a member for Python Management Library: kostiantyn.
Jun 5 2016, 12:07 PM
syncer set the icon for Python Management Library to Experimental.
Jun 5 2016, 12:07 PM
dmbaturin created Python Management Library.
Jun 5 2016, 9:52 AM