updates
This commit is contained in:
parent
8a605dfb9c
commit
12f6baefad
@ -8,7 +8,6 @@ import ast
|
|||||||
import argparse
|
import argparse
|
||||||
import sys
|
import sys
|
||||||
import inquirer
|
import inquirer
|
||||||
import json
|
|
||||||
from .core import node
|
from .core import node
|
||||||
|
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ hasip = router.test("show ip int brief","1.1.1.1")
|
|||||||
if hasip:
|
if hasip:
|
||||||
print("Router has ip 1.1.1.1")
|
print("Router has ip 1.1.1.1")
|
||||||
else:
|
else:
|
||||||
print("router don't has ip 1.1.1.1")
|
print("router does not have ip 1.1.1.1")
|
||||||
</code></pre>
|
</code></pre>
|
||||||
<h3 id="using-manager-configuration">Using manager configuration</h3>
|
<h3 id="using-manager-configuration">Using manager configuration</h3>
|
||||||
<pre><code>import connpy
|
<pre><code>import connpy
|
||||||
@ -211,7 +211,7 @@ hasip = router.test("show ip int brief","1.1.1.1")
|
|||||||
if hasip:
|
if hasip:
|
||||||
print("Router has ip 1.1.1.1")
|
print("Router has ip 1.1.1.1")
|
||||||
else:
|
else:
|
||||||
print("router don't has ip 1.1.1.1")
|
print("router does not have ip 1.1.1.1")
|
||||||
```
|
```
|
||||||
|
|
||||||
### Using manager configuration
|
### Using manager configuration
|
||||||
@ -257,7 +257,7 @@ from .connapp import connapp
|
|||||||
from pkg_resources import get_distribution
|
from pkg_resources import get_distribution
|
||||||
|
|
||||||
__all__ = ["node", "nodes", "configfile", "connapp"]
|
__all__ = ["node", "nodes", "configfile", "connapp"]
|
||||||
__version__ = "2.0.10"
|
__version__ = "2.0.0"
|
||||||
__author__ = "Federico Luzzi"
|
__author__ = "Federico Luzzi"
|
||||||
__pdoc__ = {
|
__pdoc__ = {
|
||||||
'core': False,
|
'core': False,
|
||||||
|
Loading…
Reference in New Issue
Block a user