-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgenie_verifications.robot
55 lines (39 loc) · 1.67 KB
/
genie_verifications.robot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Genie Devnet Lab-3b: Execute Genie Verifications
# ================================================
*** Settings ***
Library ats.robot.pyATSRobot
Library genie.libs.robot.GenieRobot
Library unicon.robot.UniconRobot
*** Variables ***
# Defining variables that can be used elsewhere in the test data.
${testbed} default_testbed.yaml
*** Test Cases ***
# Creating testcases using available Genie, pyATS & Unicon keywords
# Connect to UUT device using CLI
connect to UUT device
use genie testbed "${testbed}"
connect to devices "uut"
# Verification-1: Verify_BgpAllNexthopDatabase
# 1. Connect to the device and execute 'show bgp all nexthop-database'
# 2. Create Python datastructure after parsing show command output
#
execute Verify_BgpAllNexthopDatabase
run verification "Verify_BgpAllNexthopDatabase" on device "uut"
# Verification-2: Verify_Interface
# 1. Connect to the device and execute 'show interface'
# 2. Create Python datastructure after parsing show command output
#
execute Verify_Interface
run verification "Verify_Interface" on device "uut"
# Verification-3: Verify_BgpProcessVrfAll
# 1. Connect to the device and execute 'show bgp process vrf all'
# 2. Create Python datastructure after parsing show command output
#
execute Verify_BgpProcessVrfAll
run verification "Verify_BgpProcessVrfAll" on device "uut"
# Verification-4: Verify_IpOspfInterface_vrf_all
# 1. Connect to the device and execute 'show ip ospf interface vrf all'
# 2. Create Python datastructure after parsing show command output
#
execute Verify_IpOspfInterface_vrf_all
run verification "Verify_IpOspfInterface_vrf_all" on device "uut"