Skip to content

Commit ea02387

Browse files
netpickermailsanjayhere
authored and
imi
committed
Tests and juniper (#95)
* adding wireless tests * renamed vendor names * testing juniper file * testing with rule_11.py * updated the first rule * adding EXAMPLES.md --------- Co-authored-by: mailsanjayhere <mailsanjayhere@gmail.com>
1 parent 00cc71e commit ea02387

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

EXAMPLES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
<img src="https://ktbyers.github.io/netmiko/images/netmiko_logo_gh.pnghttps://netpicker.io/wp-content/uploads/2024/01/netpicker-logo-276x300.png">
3+
4+
5+
Compliance Examples
6+
===================
7+
8+
A set of common Netpicker compliance use-cases
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from comfy.compliance import medium
2+
3+
4+
@medium(
5+
name='rule_1_1_ensure_device_is_running_current_junos_software',
6+
platform=['juniper'],
7+
commands=dict(chk_cmd='')
8+
)
9+
def rule_1_1_ensure_device_is_running_current_junos_software(commands, ref):
10+
assert '' in commands.chk_cmd, ref

0 commit comments

Comments
 (0)