diff --git a/AutomationFramework/test_cases/if_counters_state.yml b/AutomationFramework/test_cases/if_counters_state.yml new file mode 100644 index 0000000..5e220d0 --- /dev/null +++ b/AutomationFramework/test_cases/if_counters_state.yml @@ -0,0 +1,195 @@ + +- testcase: + name: if_state_in_broadcast_pkts + id: 1 + description: > + This test is to get The number of packets, delivered by this sub-layer to a higher (sub-)layer. + rpcs: + - template: if_state_in_broadcast_pkts.xml + operation: get + params: + interface_name: "eth1" + out_broadcast_pkts: "" + +- testcase: + name: if_state_in_discards + id: 2 + description: > + This test is to get The number of inbound packets that were chosen to be discarded + rpcs: + - template: if_state_in_discards.xml + operation: get + params: + interface_name: "eth1" + in_discards: "" + +- testcase: + name: if_state_in_errors + id: 3 + description: > + This test is to get the number of inbound packets that contained errors . + rpcs: + - template: if_state_in_errors.xml + operation: get + params: + interface_name: "eth1" + in_errors: "" + +- testcase: + name: if_state_in_fcs_errors + id: 4 + description: > + This test is to get the number of received packets which had errors in the frame check sequence (FCS), i.e., framing errors. + rpcs: + - template: if_state_in_fcs_errors.xml + operation: get + params: + interface_name: "eth1" + in_fcs_errors: "" + +- testcase: + name: if_state_in_multicast_pkts + id: 5 + description: > + This test is to get The number of packets, delivered by this sub-layer to a higher (sub-)layer, that were addressed to a multicast address at this sub-layer + rpcs: + - template: if_state_in_multicast_pkts.xml + operation: get + params: + interface_name: "eth1" + in_multicast_pkts: "" + +- testcase: + name: if_state_in_octets + id: 6 + description: > + This test is to get the total number of octets received on the interface, including framing characters. + rpcs: + - template: if_state_in_octets.xml + operation: get + params: + interface_name: "eth1" + in_octects: "" + +- testcase: + name: if_state_in_pkts + id: 7 + description: > + This test is to get The total number of packets received on the interface, including all unicast, multicast, broadcast and bad packets etc. + rpcs: + - template: if_state_in_pkts.xml + operation: get + params: + interface_name: "eth1" + in_pkts: "" + +- testcase: + name: if_state_in_unicast_pkts + id: 8 + description: > + This test is to get The number of packets, delivered by this sub-layer to a higher (sub-)layer, that were not addressed to a multicast or broadcast address at this sub-layer + rpcs: + - template: if_state_in_unicast_pkts.xml + operation: get + params: + interface_name: "eth1" + in_unicast_pkts: "" + +- testcase: + name: if_state_in_unknown_protos + id: 9 + description: > + This test is to get the number of packets received via the interface that were discarded because of an unknown or unsupported protocol.(For packet-oriented interfaces) + rpcs: + - template: if_state_in_unknown_protos.xml + operation: get + params: + interface_name: "eth1" + in_unknown_protos: "" + +- testcase: + name: if_state_out_broadcast_pkts + id: 10 + description: > + This test is to get the total number of packets that higher-level protocols requested be transmitted, and that were addressed to a broadcast address at this sub-layer, including those that were discarded or not sent. + rpcs: + - template: if_state_out_broadcast_pkts.xml + operation: get + params: + interface_name: "eth1" + out_broadcast_pkts: "" + + +- testcase: + name: if_state_out_discards + id: 11 + description: > + This test is to get the number of outbound packets that were chosen to be discarded even though no errors had been detected to prevent their being transmitted. + rpcs: + - template: if_state_out_discards.xml + operation: get + params: + interface_name: "eth1" + out_discards: "" + +- testcase: + name: if_state_out_errors + id: 12 + description: > + This test is to get (For packet-oriented interfaces) the number of outbound packets that could not be transmitted because of errors. (For character-oriented or fixed-length interfaces)to get the +number of outbound transmission units that could not be transmitted because of errors. + rpcs: + - template: if_state_out_errors.xml + operation: get + params: + interface_name: "eth1" + out_errors: "" + +- testcase: + name: if_state_out_multicast_pkts + id: 13 + description: > + This test is to get the total number of packets that higher-level protocols requested be transmitted, and that were addressed to a multicast address at this sub-layer, including those that were discarded or not sent. + rpcs: + - template: if_state_out_multicast_pkts.xml + operation: get + params: + interface_name: "eth1" + out_multicast_pkts: "" + +- testcase: + name: if_state_out_octets + id: 14 + description: > + This test is to get type of component by the system. + rpcs: + - template: if_state_out_octets.xml + operation: get + params: + interface_name: "eth1" + out_octets: "" + +- testcase: + name: if_state_out_pkts + id: 15 + description: > + This test is to get the total number of octets transmitted out of the interface, including framing characters. + rpcs: + - template: if_state_out_pkts.xml + operation: get + params: + interface_name: "eth1" + out_pkts: "" + + +- testcase: + name: if_state_out_unicast_pkts + id: 16 + description: > + This test is to get The total number of packets that higher-level protocols requested be transmitted, and that were not addressed to a multicast or broadcast address at this sub-layer, including those that were discarded or not sent. + rpcs: + - template: if_state_out_unicast_pkts.xml + operation: get + params: + interface_name: "eth1" + out_unicast_pkts: "" diff --git a/AutomationFramework/test_cases/templates/if_state_in_broadcast_pkts.xml b/AutomationFramework/test_cases/templates/if_state_in_broadcast_pkts.xml new file mode 100644 index 0000000..7c087f1 --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_in_broadcast_pkts.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{in_broadcast_pkts}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_in_discards.xml b/AutomationFramework/test_cases/templates/if_state_in_discards.xml new file mode 100644 index 0000000..d610b3c --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_in_discards.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{in_discards}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_in_errors.xml b/AutomationFramework/test_cases/templates/if_state_in_errors.xml new file mode 100644 index 0000000..f4320f4 --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_in_errors.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{in_errors}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_in_fcs_errors.xml b/AutomationFramework/test_cases/templates/if_state_in_fcs_errors.xml new file mode 100644 index 0000000..2b5a2e5 --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_in_fcs_errors.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{in_fcs_errors}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_in_multicast_pkts.xml b/AutomationFramework/test_cases/templates/if_state_in_multicast_pkts.xml new file mode 100644 index 0000000..f8d45fd --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_in_multicast_pkts.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{in_multicast_pkts}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_in_octets.xml b/AutomationFramework/test_cases/templates/if_state_in_octets.xml new file mode 100644 index 0000000..3a7c429 --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_in_octets.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{in_octects}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_in_pkts.xml b/AutomationFramework/test_cases/templates/if_state_in_pkts.xml new file mode 100644 index 0000000..1ae1e66 --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_in_pkts.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{in_pkts}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_in_unicast_pkts.xml b/AutomationFramework/test_cases/templates/if_state_in_unicast_pkts.xml new file mode 100644 index 0000000..f24df09 --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_in_unicast_pkts.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{in_unicast_pkts}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_in_unknown_protos.xml b/AutomationFramework/test_cases/templates/if_state_in_unknown_protos.xml new file mode 100644 index 0000000..f5eb9cc --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_in_unknown_protos.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{in_unknown_protos}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_out_broadcast_pkts.xml b/AutomationFramework/test_cases/templates/if_state_out_broadcast_pkts.xml new file mode 100644 index 0000000..149349d --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_out_broadcast_pkts.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{out_broadcast_pkts}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_out_discards.xml b/AutomationFramework/test_cases/templates/if_state_out_discards.xml new file mode 100644 index 0000000..c332c54 --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_out_discards.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{out_discards}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_out_errors.xml b/AutomationFramework/test_cases/templates/if_state_out_errors.xml new file mode 100644 index 0000000..9e5a9e1 --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_out_errors.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{out_errors}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_out_multicast_pkts.xml b/AutomationFramework/test_cases/templates/if_state_out_multicast_pkts.xml new file mode 100644 index 0000000..4503c36 --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_out_multicast_pkts.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{out_multicast_pkts}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_out_octets.xml b/AutomationFramework/test_cases/templates/if_state_out_octets.xml new file mode 100644 index 0000000..6fc3317 --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_out_octets.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{out_octets}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_out_pkts.xml b/AutomationFramework/test_cases/templates/if_state_out_pkts.xml new file mode 100644 index 0000000..587b9b3 --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_out_pkts.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{out_pkts}} + + + + + + \ No newline at end of file diff --git a/AutomationFramework/test_cases/templates/if_state_out_unicast_pkts.xml b/AutomationFramework/test_cases/templates/if_state_out_unicast_pkts.xml new file mode 100644 index 0000000..72518f9 --- /dev/null +++ b/AutomationFramework/test_cases/templates/if_state_out_unicast_pkts.xml @@ -0,0 +1,14 @@ + + + + + {{interface_name}} + + + {{out_unicast_pkts}} + + + + + + \ No newline at end of file