Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cisco_asa_show_running-config_object_network.textfsm #1952

Merged
merged 10 commits into from
Jan 7, 2025
ppisnjak marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ Start
^\s+subnet\s+${NETWORK}\/${PREFIX_LENGTH}\s*
^\s+range\s+${START_IP}\s+${END_IP}\s*
^\s+host\s+${HOST}\s*
^\s+fqdn\s+${FQDN}\s*
^\s+fqdn\s+(?:v\d+\s+)?${FQDN}\s*
^. -> Error
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ object network internal-ipv6-subnet
subnet fd00::/8
object network fqdn_test
fqdn google.com
object network fqdn_test_v4
fqdn v4 example.com
object network fqdn_test_v6
fqdn v6 example.com
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
parsed_sample:
- description: ""
fqdn: ""
end_ip: ""
fqdn: ""
host: ""
name: "corp"
netmask: "255.0.0.0"
Expand All @@ -11,8 +11,8 @@ parsed_sample:
start_ip: ""
type: "subnet"
- description: ""
fqdn: ""
end_ip: ""
fqdn: ""
host: ""
name: "internal"
netmask: "255.255.255.0"
Expand All @@ -21,8 +21,8 @@ parsed_sample:
start_ip: ""
type: "subnet"
- description: ""
fqdn: ""
end_ip: ""
fqdn: ""
host: "10.10.11.1"
name: "host-10.10.11.1"
netmask: ""
Expand All @@ -31,8 +31,8 @@ parsed_sample:
start_ip: ""
type: "host"
- description: ""
fqdn: ""
end_ip: ""
fqdn: ""
host: "10.75.51.11"
name: "block"
netmask: ""
Expand All @@ -41,8 +41,8 @@ parsed_sample:
start_ip: ""
type: "host"
- description: "dmz GW ip"
fqdn: ""
end_ip: ""
fqdn: ""
host: "11.1.2.2"
name: "dmz"
netmask: ""
Expand All @@ -51,8 +51,8 @@ parsed_sample:
start_ip: ""
type: "host"
- description: ""
fqdn: ""
end_ip: ""
fqdn: ""
host: "10.1.11.8"
name: "server-vip"
netmask: ""
Expand All @@ -61,8 +61,8 @@ parsed_sample:
start_ip: ""
type: "host"
- description: ""
fqdn: ""
end_ip: "10.10.10.60"
fqdn: ""
host: ""
name: "visitors"
netmask: ""
Expand All @@ -71,8 +71,8 @@ parsed_sample:
start_ip: "10.10.10.4"
type: "range"
- description: ""
fqdn: ""
end_ip: "10.75.51.100"
fqdn: ""
host: ""
name: "contractor"
netmask: ""
Expand All @@ -81,8 +81,8 @@ parsed_sample:
start_ip: "10.75.51.15"
type: "range"
- description: ""
fqdn: ""
end_ip: ""
fqdn: ""
host: "2606:4700:4700::1111"
name: "cloudflare-ipv6-dns-primary"
netmask: ""
Expand All @@ -91,8 +91,8 @@ parsed_sample:
start_ip: ""
type: "host"
- description: ""
fqdn: ""
end_ip: ""
fqdn: ""
host: "2001:4860:4860::8888"
name: "google-ipv6-dns-primary"
netmask: ""
Expand All @@ -101,8 +101,8 @@ parsed_sample:
start_ip: ""
type: "host"
- description: ""
fqdn: ""
end_ip: "fd00::ffff"
fqdn: ""
host: ""
name: "internal-ipv6-range"
netmask: ""
Expand All @@ -111,8 +111,8 @@ parsed_sample:
start_ip: "fd00::"
type: "range"
- description: ""
fqdn: ""
end_ip: ""
fqdn: ""
host: ""
name: "internal-ipv6-subnet"
netmask: ""
Expand All @@ -121,12 +121,32 @@ parsed_sample:
start_ip: ""
type: "subnet"
- description: ""
fqdn: "google.com"
end_ip: ""
fqdn: "google.com"
host: ""
name: "fqdn_test"
netmask: ""
network: ""
prefix_length: ""
start_ip: ""
type: "fqdn"
- description: ""
end_ip: ""
fqdn: "example.com"
host: ""
name: "fqdn_test_v4"
netmask: ""
network: ""
prefix_length: ""
start_ip: ""
type: "fqdn"
- description: ""
end_ip: ""
fqdn: "example.com"
host: ""
name: "fqdn_test_v6"
netmask: ""
network: ""
prefix_length: ""
start_ip: ""
type: "fqdn"