Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add ipsec crypto test for Denverton platform
[csit.git]
/
resources
/
libraries
/
robot
/
shared
/
default.robot
diff --git
a/resources/libraries/robot/shared/default.robot
b/resources/libraries/robot/shared/default.robot
index
954f881
..
70f5da8
100644
(file)
--- a/
resources/libraries/robot/shared/default.robot
+++ b/
resources/libraries/robot/shared/default.robot
@@
-82,20
+82,22
@@
| | ... | try to initialize/disable.
| | ...
| | ... | *Arguments:*
| | ... | try to initialize/disable.
| | ...
| | ... | *Arguments:*
-| | ... | - force_init - Force to initialize. Type: boolean
+| | ... | - crypto_type - Crypto device type - HW_DH895xcc or HW_C3xxx.
+| | ... | Type: string, default value: HW_DH895xcc
| | ... | - numvfs - Number of VFs to initialize, 0 - disable the VFs
| | ... | - numvfs - Number of VFs to initialize, 0 - disable the VFs
-| | ... | (Optional). Type: integer, default value: ${32}
+| | ... | Type: integer, default value: ${32}
+| | ... | - force_init - Force to initialize. Type: boolean
| | ...
| | ... | *Example:*
| | ...
| | ...
| | ... | *Example:*
| | ...
-| | ... | \| Configure crypto device on all DUTs \|
${True
} \|
+| | ... | \| Configure crypto device on all DUTs \|
HW_DH895xcc \| ${32
} \|
| | ...
| | ...
-| | [Arguments] | ${
force_init}=${False} | ${numvfs}=${32
}
+| | [Arguments] | ${
crypto_type} | ${numvfs} | ${force_init}=${False
}
| | ...
| | ${duts}= | Get Matches | ${nodes} | DUT*
| | :FOR | ${dut} | IN | @{duts}
| | ...
| | ${duts}= | Get Matches | ${nodes} | DUT*
| | :FOR | ${dut} | IN | @{duts}
-| | | Crypto Device Verify | ${nodes['${dut}']} |
force_init=${force_init
}
-| | | ... |
numvfs=${numvfs
}
+| | | Crypto Device Verify | ${nodes['${dut}']} |
${crypto_type
}
+| | | ... |
${numvfs} | force_init=${force_init
}
| Configure AVF interfaces on all DUTs
| | [Documentation] | Configure virtual functions for AVF interfaces on PCI
| Configure AVF interfaces on all DUTs
| | [Documentation] | Configure virtual functions for AVF interfaces on PCI