Skip to content

Commit 8542510

Browse files
authored
Add rule_ (#167)
1 parent 8403b28 commit 8542510

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples_extended/snmp_config_hosts_only_expected.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323

2424

2525
@high(
26-
name='snmp_config_hosts_only_expected',
26+
name='rule_snmp_config_hosts_only_expected',
2727
platform=['cisco_ios', 'arista_eos'],
2828
)
29-
def snmp_config_hosts_only_expected(configuration):
29+
def rule_snmp_config_hosts_only_expected(configuration):
3030
expected_hosts = {'192.168.10.1', '192.168.10.2'}
3131

3232
# Ensure we are working with raw config text

examples_extended/snmp_host_validation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717

1818

1919
@high(
20-
name='snmp_host_validation',
20+
name='rule_snmp_host_validation',
2121
platform=['cisco_ios'],
2222
)
23-
def snmp_host_validation(configuration, commands, device):
23+
def rule_snmp_host_validation(configuration, commands, device):
2424
expected_hosts = {'192.168.10.1', '192.168.10.2'}
2525

2626
# Run the CLI command to get SNMP hosts

0 commit comments

Comments
 (0)