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.
Correction to previous commit - new files were not added to commit
- Loading branch information
Dragos Stan
committed
Jun 7, 2018
1 parent
0de2b9d
commit 53f9f04
Showing
3 changed files
with
230 additions
and
0 deletions.
There are no files selected for viewing
77 changes: 77 additions & 0 deletions
77
...d_data/test_get_interfaces/normal/_show__interface_ethernet1_1.143__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,77 @@ | ||
<response status="success"> | ||
<result> | ||
<ifnet> | ||
<addr6/> | ||
<vr>default</vr> | ||
<tag>143</tag> | ||
<ndpmon>False</ndpmon> | ||
<id>256</id> | ||
<mgt_subnet>False</mgt_subnet> | ||
<mssadjv6>0</mssadjv6> | ||
<service/> | ||
<ra>False</ra> | ||
<zone>Untrust</zone> | ||
<counters> | ||
<ifnet> | ||
<entry> | ||
<icmp_frag>0</icmp_frag> | ||
<ifwderrors>0</ifwderrors> | ||
<ierrors>0</ierrors> | ||
<macspoof>0</macspoof> | ||
<pod>0</pod> | ||
<flowstate>6562634</flowstate> | ||
<ipspoof>0</ipspoof> | ||
<teardrop>0</teardrop> | ||
<ibytes>1517276149752</ibytes> | ||
<noarp>1817</noarp> | ||
<noroute>6</noroute> | ||
<noneigh>0</noneigh> | ||
<nomac>0</nomac> | ||
<l2_encap>0</l2_encap> | ||
<zonechange>141</zonechange> | ||
<other_conn>0</other_conn> | ||
<obytes>14382743220420</obytes> | ||
<land>0</land> | ||
<name>ethernet1/1.143</name> | ||
<tcp_conn>1</tcp_conn> | ||
<neighpend>0</neighpend> | ||
<ipackets>2946678872</ipackets> | ||
<opackets>2959498700</opackets> | ||
<l2_decap>0</l2_decap> | ||
<udp_conn>0</udp_conn> | ||
<idrops>22692146</idrops> | ||
</entry> | ||
</ifnet> | ||
<hw/> | ||
</counters> | ||
<dad>False</dad> | ||
<mssadjv4>0</mssadjv4> | ||
<inband> | ||
<profile>profile1</profile> | ||
<userid_sl_service_udp>False</userid_sl_service_udp> | ||
<userid_sl_service_ssl>False</userid_sl_service_ssl> | ||
<http>False</http> | ||
<response_pages>False</response_pages> | ||
<snmp>False</snmp> | ||
<ping>True</ping> | ||
<telnet>False</telnet> | ||
<http_ocsp>False</http_ocsp> | ||
<ssh>False</ssh> | ||
<https>False</https> | ||
<userid_service>False</userid_service> | ||
</inband> | ||
<fwd_type>vr</fwd_type> | ||
<addr> | ||
<member>1.2.3.4/28</member> | ||
</addr> | ||
<name>ethernet1/1.143</name> | ||
<tunnel/> | ||
<vsys>vsys1</vsys> | ||
<dyn-addr/> | ||
<mtu>1500</mtu> | ||
<tcpmss>False</tcpmss> | ||
<mode>layer3</mode> | ||
</ifnet> | ||
<dp>dp0</dp> | ||
</result> | ||
</response> |
81 changes: 81 additions & 0 deletions
81
...mocked_data/test_get_interfaces/normal/_show__interface_tunnel.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,81 @@ | ||
<response status="success"> | ||
<result> | ||
<ifnet> | ||
<addr6/> | ||
<vr>default</vr> | ||
<tag>0</tag> | ||
<ndpmon>False</ndpmon> | ||
<id>259</id> | ||
<mgt_subnet>False</mgt_subnet> | ||
<mssadjv6>0</mssadjv6> | ||
<service> | ||
<member>OSPF</member> | ||
</service> | ||
<ra>False</ra> | ||
<zone>zone1</zone> | ||
<counters> | ||
<ifnet> | ||
<entry> | ||
<icmp_frag>0</icmp_frag> | ||
<ifwderrors>0</ifwderrors> | ||
<ierrors>0</ierrors> | ||
<macspoof>0</macspoof> | ||
<pod>0</pod> | ||
<flowstate>1500</flowstate> | ||
<ipspoof>0</ipspoof> | ||
<teardrop>0</teardrop> | ||
<ibytes>211026364169</ibytes> | ||
<noarp>24657</noarp> | ||
<noroute>0</noroute> | ||
<noneigh>0</noneigh> | ||
<nomac>0</nomac> | ||
<l2_encap>0</l2_encap> | ||
<zonechange>328677</zonechange> | ||
<other_conn>0</other_conn> | ||
<obytes>754983279630</obytes> | ||
<land>0</land> | ||
<name>tunnel.100</name> | ||
<tcp_conn>0</tcp_conn> | ||
<neighpend>0</neighpend> | ||
<ipackets>480301653</ipackets> | ||
<opackets>686223089</opackets> | ||
<l2_decap>0</l2_decap> | ||
<udp_conn>0</udp_conn> | ||
<idrops>5958707</idrops> | ||
</entry> | ||
</ifnet> | ||
<hw/> | ||
</counters> | ||
<dad>False</dad> | ||
<mssadjv4>0</mssadjv4> | ||
<inband> | ||
<profile>profile1</profile> | ||
<userid_sl_service_udp>False</userid_sl_service_udp> | ||
<userid_sl_service_ssl>False</userid_sl_service_ssl> | ||
<http>False</http> | ||
<response_pages>False</response_pages> | ||
<snmp>False</snmp> | ||
<ping>True</ping> | ||
<telnet>False</telnet> | ||
<http_ocsp>False</http_ocsp> | ||
<ssh>False</ssh> | ||
<https>False</https> | ||
<userid_service>False</userid_service> | ||
</inband> | ||
<fwd_type>vr</fwd_type> | ||
<addr> | ||
<member>2.3.4.5/30</member> | ||
</addr> | ||
<name>tunnel.100</name> | ||
<tunnel> | ||
<member>ipsec-tunnel-100</member> | ||
</tunnel> | ||
<vsys>vsys1</vsys> | ||
<dyn-addr/> | ||
<mtu>1400</mtu> | ||
<tcpmss>False</tcpmss> | ||
<mode>layer3</mode> | ||
</ifnet> | ||
<dp>dp0</dp> | ||
</result> | ||
</response> |
72 changes: 72 additions & 0 deletions
72
...nit/mocked_data/test_get_interfaces/normal/_show__interface_tunnel__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,72 @@ | ||
<response status="success"> | ||
<result> | ||
<ifnet> | ||
<dad>False</dad> | ||
<mssadjv4>0</mssadjv4> | ||
<addr/> | ||
<service/> | ||
<tunnel/> | ||
<vsys>vsys1</vsys> | ||
<dyn-addr/> | ||
<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> | ||
<other_conn>0</other_conn> | ||
<obytes>0</obytes> | ||
<land>0</land> | ||
<name>tunnel</name> | ||
<tcp_conn>0</tcp_conn> | ||
<neighpend>0</neighpend> | ||
<ipackets>0</ipackets> | ||
<opackets>0</opackets> | ||
<l2_decap>0</l2_decap> | ||
<udp_conn>0</udp_conn> | ||
<idrops>0</idrops> | ||
</entry> | ||
</ifnet> | ||
</counters> | ||
<addr6/> | ||
<ra>False</ra> | ||
<tcpmss>False</tcpmss> | ||
<tag>0</tag> | ||
<mode>layer3</mode> | ||
<mssadjv6>0</mssadjv6> | ||
<ndpmon>False</ndpmon> | ||
<zone>N/A</zone> | ||
<id>4</id> | ||
<mgt_subnet>False</mgt_subnet> | ||
<name>tunnel</name> | ||
</ifnet> | ||
<hw> | ||
<name>tunnel</name> | ||
<duplex>[n/a]</duplex> | ||
<type>6</type> | ||
<state_c>auto</state_c> | ||
<mac>e4:a7:49:aa:bb:cc</mac> | ||
<state>up</state> | ||
<duplex_c>auto</duplex_c> | ||
<mode>layer3</mode> | ||
<speed_c>auto</speed_c> | ||
<speed>[n/a]</speed> | ||
<id>4</id> | ||
<untag>False</untag> | ||
<counters/> | ||
</hw> | ||
<dp>dp0</dp> | ||
</result> | ||
</response> |