Primary Requirement ID | Secondary Requirement ID | Unit Test ID | LUTF ID | Unit Test Description |
---|
cfg-095 | cfg-160 |
| test_udsp_basic_01 | - Setup: configure single network, 3 NIDs on the network
- Execute UDSP "Show" command
- Verify that the resulting YAML file doesn't contain any policy description
|
cfg-125, cfg-100 | cfg-115, cfg-125 |
| test_udsp_basic_02 it seems the tc only add rule to 1 network instead of NID, also not lower the priority | - Setup: configure single network, 3 NIDs on the network
- Add UDSP rule that gives two of the interfaces highest priority
- Execute UDSP "Show" command
- Verify that the resulting YAML file contains policy description as expected
- Add UDSP rule that lowers the priority of one of the NIDs with highest priority back to default
- Execute UDSP "Show" command
- Verify that the resulting YAML file contains policy description as expected
|
cfg-110 |
|
| test_udsp_basic_03 tc only delete rule on network, didndoesn't delete the rule on NID | - Setup: configure two networks, two NIDs on each network
- Add UDSP rule that gives one of the networks highest priority
- Add UDSP rule that gives the highest priority to one of the NIDs on the network with the highest priority
- Execute UDSP "Show" command
- Verify that the resulting YAML file contains policy description as expected (for network and NID)
- Delete UDSP rule that gives the highest priority to one of the NIDs
- Execute UDSP "Show" command
- Verify that the resulting YAML file contains policy description as expected (for network)
- Delete UDSP rule that gives the highest priority to one of the networks
- Execute UDSP "Show" command
- Verify that the resulting YAML file doesn't contain any policy description
|
cfg-115 |
|
| test_udsp_basic_04 tc doesn't delete rule | - Setup: configure single network, 3 NIDs on the network locally, 3 NIDs on the remote peer
- Add UDSP rule that gives priority to one of the remote peer's NIDs
- Execute UDSP "Show" command
- Verify that the resulting YAML file contains policy description as expected
- Delete UDSP rule that gives the highest priority to the remote peer's NID
- Execute UDSP "Show" command
- Verify that the resulting YAML file doesn't contain any policy description
|
cfg-120 |
|
| test_udsp_basic_05 tc doesn't delete rule | - Setup: configure single network, 3 NIDs on the network locally, 3 NIDs on the local peer
- Add UDSP rule that gives priority to a pair of the local NID and peer's NID
- Execute UDSP "Show" command
- Verify that the resulting YAML file contains policy description as expected
- Delete UDSP rule that gives the highest priority to the NID pair
- Execute UDSP "Show" command
- Verify that the resulting YAML file doesn't contain any policy description
|
|
|
| test_udsp_basic_06 tc doesn't delete rule | - Configure single local network with two NIDs on the network
- Configure two routers/gateways each providing access to a remote network
- Configure remote peer to have access to the remote network with two NIDs
- Add UDSP rule that designates a pair of a router and remote peer NID as preferred
- Execute UDSP "Show" command
- Verify that the resulting YAML file contains policy description as expected
- Delete UDSP rule that gives the highest priority to the router/remote NID pair
- Execute UDSP "Show" command
- Verify that the resulting YAML file doesn't contain any policy description
|
TODO: add N:1, 1:N, N:N mapping tests |
|
|
|
|
TODO: update requirements to cover router-related rules |
|
|
|
|