forked from housepbass/napalm-panos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request napalm-automation-community#58 from napalm-automat…
…ion-community/develop Merge to Master
- Loading branch information
Showing
9 changed files
with
511 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
"""setup.py file.""" | ||
|
||
import uuid | ||
|
||
from setuptools import setup, find_packages | ||
from pip.req import parse_requirements | ||
|
||
__author__ = 'Gabriele Gerbino <[email protected]>' | ||
|
||
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1()) | ||
reqs = [str(ir.req) for ir in install_reqs] | ||
with open("requirements.txt", "r") as fs: | ||
reqs = [r for r in fs.read().splitlines() if (len(r) > 0 and not r.startswith("#"))] | ||
|
||
setup( | ||
name="napalm-panos", | ||
version="0.5.1", | ||
version="0.5.2", | ||
packages=find_packages(), | ||
author="Gabriele Gerbino", | ||
author_email="[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
...cked_data/test_get_interfaces/normal/_show__interface_loopback.100__interface___show_.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<response status="success"> | ||
<result> | ||
<ifnet> | ||
<mssadjv4>0</mssadjv4> | ||
<name>loopback.100</name> | ||
<service/> | ||
<tunnel/> | ||
<vsys>vsys1</vsys> | ||
<counters> | ||
<ifnet> | ||
<entry> | ||
<icmp_frag>0</icmp_frag> | ||
<ifwderrors>0</ifwderrors> | ||
<ierrors>0</ierrors> | ||
<macspoof>0</macspoof> | ||
<pod>0</pod> | ||
<flowstate>0</flowstate> | ||
<ipspoof>0</ipspoof> | ||
<teardrop>0</teardrop> | ||
<ibytes>0</ibytes> | ||
<noarp>0</noarp> | ||
<noroute>0</noroute> | ||
<noneigh>0</noneigh> | ||
<nomac>0</nomac> | ||
<l2_encap>0</l2_encap> | ||
<zonechange>0</zonechange> | ||
<obytes>0</obytes> | ||
<land>0</land> | ||
<name>loopback.100</name> | ||
<neighpend>0</neighpend> | ||
<ipackets>0</ipackets> | ||
<opackets>0</opackets> | ||
<l2_decap>0</l2_decap> | ||
<idrops>0</idrops> | ||
</entry> | ||
</ifnet> | ||
<hw/> | ||
</counters> | ||
<dyn-addr/> | ||
<tcpmss>False</tcpmss> | ||
<mtu>1500</mtu> | ||
<addr6/> | ||
<ra>False</ra> | ||
<vr>default</vr> | ||
<tag>0</tag> | ||
<mode>layer3</mode> | ||
<fwd_type>vr</fwd_type> | ||
<mssadjv6>0</mssadjv6> | ||
<zone>foobar</zone> | ||
<id>256</id> | ||
<mgt_subnet>False</mgt_subnet> | ||
<addr> | ||
<member>155.1.1.1/32</member> | ||
</addr> | ||
</ifnet> | ||
<dp>dp0</dp> | ||
</result> | ||
</response> |
Oops, something went wrong.