2 | Documentation | Security validation |
3 | ... | This suite requires declaring ${ACTUAL_NODEPORTS_FILE} |
4 | Default tags | security |
5 | Library | OperatingSystem |
6 | Library | ONAPLibrary.JSON |
9 | ${EXPECTED_NODEPORTS_FILE} | ../assets/security/ExpectedNodePorts.json |
12 Validate present NodePorts
13 | | ${expected_nodeports}= | Get file | ${EXPECTED_NODEPORTS_FILE} |
14 | | ${actual_nodeports}= | Get file | ${ACTUAL_NODEPORTS_FILE} |
15 | | JSON should contain sub JSON | ${expected_node_ports} | ${actual_node_ports} |