Open abinmathewabraham opened 2 years ago
I feel we need to change the schema for this.
eigrp_routes
|------- 192.168.3.0/24
|
known_via
|
|------- 10.1.1.2
| |------- via - Ethernet0/0 (optional)
| |------- is_successor - True
| |------- rd - 2169856 (optional)
| |------- cd - 2195456 (optional)
|
|------- 10.1.1.3
| |------- via - Ethernet0/0 (optional)
| |------- is_successor - True
| |------- rd - 2169856 (optional)
| |------- cd - 2195456 (optional)
|
|------- 10.2.2.2
| |------- via - Ethernet1/0 (optional)
| |------- is_successor - True
| |------- rd - 2169856 (optional)
| |------- cd - 2195456 (optional)
|
|------- 10.2.2.3
| |------- via - Ethernet1/0 (optional)
| |------- is_successor - True
| |------- rd - 2169856 (optional)
| |------- cd - 2195456 (optional)
|
|------- 192.168.2.2
| |------- via - Serial2/1 (optional)
| |------- is_successor - False
| |------- rd - 2169856 (optional)
| |------- cd - 2681856 (optional)
|
|------- 192.168.1.2
|------- via - Serial2/0 (optional)
|------- is_successor - False
|------- rd - 2169856 (optional)
|------- cd - 2681856 (optional)
You can find me in cisco directory too.
@abinmathewabraham Genie Parser is open source. so can you consider contributing the fix/update?
reference: https://pubhub.devnetcloud.com/media/pyats-development-guide/docs/writeparser/writeparser.html
@abinmathewabraham Genie Parser is open source. so can you consider contributing the fix/update?
reference: https://pubhub.devnetcloud.com/media/pyats-development-guide/docs/writeparser/writeparser.html
Thanks. I will take a look.
Let the output for the 'show ip eigrp topology' be:
While using R1.parse("show ip eigrp topology") we get:
Observe the entry for
192.168.3.0/24
. It has four successors. If there are multiple successors, then we need to have multiple entries under192.168.3.0/24
. In this case, we need to have 4 successor entries and 2 non successor entries. The first 4 will be the successor entries and the last 2 will be non successors.