Update facts (#101)

* Update facts.py

* Update facts.py

* Update plugins/modules/facts.py

Co-authored-by: Egor Zaitsev <heuels@gmail.com>

* Update plugins/modules/facts.py

Co-authored-by: Egor Zaitsev <heuels@gmail.com>

* Update plugins/modules/facts.py

Co-authored-by: Egor Zaitsev <heuels@gmail.com>

* Update plugins/modules/facts.py

Co-authored-by: Egor Zaitsev <heuels@gmail.com>

* Update plugins/modules/facts.py

Co-authored-by: Egor Zaitsev <heuels@gmail.com>

* Update plugins/modules/facts.py

Co-authored-by: Egor Zaitsev <heuels@gmail.com>

* Update plugins/modules/facts.py

Co-authored-by: Egor Zaitsev <heuels@gmail.com>

* Update plugins/modules/facts.py

Co-authored-by: Egor Zaitsev <heuels@gmail.com>

* Update plugins/modules/facts.py

Co-authored-by: Egor Zaitsev <heuels@gmail.com>

* Update plugins/modules/facts.py

Co-authored-by: Egor Zaitsev <heuels@gmail.com>

* Create 101_update_facts.yml

* Update plugins/modules/facts.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update changelogs/fragments/101_update_facts.yml

Co-authored-by: Felix Fontein <felix@fontein.de>

* add test default function

* add test data

* Update routing_ospf_neighbor_print_detail_without-paging

* add test function "Routing"

* added information of version

* Removed extra spaces

* add one more version, "ansible_net_cpu_load"

* remove many blank lines

* remove 'too many blank lines'

* renamed arhitec to arch

* Update facts.py

* Update test_facts.py

* Update test_facts.py

* one more

* remove one route

* Update test_facts.py

* remove one neighbor

Co-authored-by: Egor Zaitsev <heuels@gmail.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
adeptvin1 2020-08-21 21:04:09 +10:00 committed by Felix Fontein
parent cc273e7ec1
commit f1ae008c4d
9 changed files with 519 additions and 2 deletions

View file

@ -0,0 +1,19 @@
Flags: X - disabled, A - active, D - dynamic,
C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme,
B - blackhole, U - unreachable, P - prohibit
0 ADC dst-address=10.10.66.0/30 pref-src=10.10.66.1 gateway=bridge1
gateway-status=bridge1 reachable distance=0 scope=10
routing-mark=altegro
2 A S dst-address=0.0.0.0/0 gateway=85.15.75.109
gateway-status=85.15.75.109 reachable via Internet-VTK distance=1
scope=30 target-scope=10
3 ADC dst-address=10.10.1.0/30 pref-src=10.10.1.1 gateway=GRE_TYRMA
gateway-status=GRE_TYRMA reachable distance=0 scope=10
4 DC dst-address=10.10.1.4/30 pref-src=10.10.1.5 gateway=RB2011
gateway-status=RB2011 unreachable distance=255 scope=10
5 ADC dst-address=10.10.2.0/30 pref-src=10.10.2.1 gateway=VLAN_SAT.ROUTER
gateway-status=VLAN_SAT.ROUTER reachable distance=0 scope=10

View file

@ -0,0 +1,10 @@
Flags: * - default, X - disabled
0 *X name="default" as=65530 router-id=0.0.0.0 redistribute-connected=no
redistribute-static=no redistribute-rip=no redistribute-ospf=no
redistribute-other-bgp=no out-filter="" client-to-client-reflection=yes
ignore-as-path-len=no routing-table=""
1 name="MAIN_AS_STARKDV" as=64520 router-id=10.10.50.1
redistribute-connected=no redistribute-static=no redistribute-rip=no
redistribute-ospf=no redistribute-other-bgp=no out-filter=""
client-to-client-reflection=yes ignore-as-path-len=no routing-table=""

View file

@ -0,0 +1,13 @@
Flags: X - disabled, E - established
0 E name="iBGP_BRAS.TYRMA" instance=MAIN_AS_STARKDV remote-address=10.10.100.1
remote-as=64520 tcp-md5-key="" nexthop-choice=default multihop=no
route-reflect=yes hold-time=3m ttl=default in-filter="" out-filter=""
address-families=ip,l2vpn,vpnv4 update-source=LAN_KHV
default-originate=never remove-private-as=no as-override=no passive=no
use-bfd=yes
1 E name="iBGP_BRAS_SAT" instance=MAIN_AS_STARKDV remote-address=10.10.50.230
remote-as=64520 tcp-md5-key="" nexthop-choice=default multihop=no
route-reflect=yes hold-time=3m ttl=default in-filter="" out-filter=""
address-families=ip default-originate=never remove-private-as=no
as-override=no passive=no use-bfd=yes

View file

@ -0,0 +1,7 @@
Flags: L - label-present
0 L route-distinguisher=64520:666 dst-address=10.10.66.8/30 gateway=10.10.100.1
interface=GRE_TYRMA in-label=6136 out-label=6136 bgp-local-pref=100
bgp-origin=incomplete bgp-ext-communities="RT:64520:666"
1 L route-distinguisher=64520:666 dst-address=10.10.66.0/30 interface=bridge1
in-label=1790 bgp-ext-communities="RT:64520:666"

View file

@ -0,0 +1,10 @@
Flags: X - disabled, * - default
0 * name="default" router-id=10.10.50.1 distribute-default=never redistribute-connected=no
redistribute-static=no redistribute-rip=no redistribute-bgp=no redistribute-other-ospf=no
metric-default=1 metric-connected=20 metric-static=20 metric-rip=20 metric-bgp=auto
metric-other-ospf=auto in-filter=ospf-in out-filter=ospf-out
1 name="OSPF_ALTEGRO" router-id=10.10.66.1 distribute-default=never redistribute-connected=no
redistribute-static=no redistribute-rip=no redistribute-bgp=no redistribute-other-ospf=no
metric-default=1 metric-connected=20 metric-static=20 metric-rip=20 metric-bgp=auto
metric-other-ospf=auto in-filter=ospf-in out-filter=ospf-out routing-table=altegro

View file

@ -0,0 +1,3 @@
0 instance=default router-id=10.10.100.1 address=10.10.1.2 interface=GRE_TYRMA priority=1
dr-address=0.0.0.0 backup-dr-address=0.0.0.0 state="Full" state-changes=15 ls-retransmits=0
ls-requests=0 db-summaries=0 adjacency=6h8m46s