Skip to content

Commit

Permalink
TC-OPCREDS-3.7: support DUTs with existing fabrics (#33511)
Browse files Browse the repository at this point in the history
* TC-OPCREDS-3.7: support DUTs with existing fabrics

* Restyled by prettier-yaml

---------

Co-authored-by: Restyled.io <commits@restyled.io>
  • Loading branch information
cecille and restyled-commits authored May 22, 2024
1 parent b5d13a7 commit 8d8cedf
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions src/app/tests/suites/certification/Test_TC_OPCREDS_3_7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ tests:
saveAs: TH1_Fabric_Index

- label:
"Step 3.2: TH1 does a non-fabric-filtered read of the Fabrics
attribute from the Node Operational Credentials cluster. Save the
FabricIndex for TH1 as TH1_Fabric_Index for future use."
"Step 3.2: TH1 does a fabric-filtered read of the Fabrics attribute
from the Node Operational Credentials cluster. Save the FabricIndex
for TH1 as TH1_Fabric_Index for future use."
identity: "alpha"
command: "readAttribute"
cluster: "Operational Credentials"
attribute: "Fabrics"
fabricFiltered: false
fabricFiltered: true
response:
value: [{ "FabricIndex": TH1_Fabric_Index, "Label": "" }]
constraints:
Expand Down Expand Up @@ -237,20 +237,30 @@ tests:

# verification: ""
- label:
"Step 13: TH2 does a non-fabric-filtered read of the Fabrics attribute
"Step 13a: TH1 does a fabric-filtered read of the Fabrics attribute
from the Node Operational Credentials cluster"
nodeId: 0x43211234
command: "readAttribute"
cluster: "Operational Credentials"
attribute: "Fabrics"
fabricFiltered: true
response:
value: [{ "FabricIndex": TH1_Fabric_Index, "Label": "" }]
constraints:
type: list

# verification: ""
- label:
"Step 13b: TH2 does a fabric-filtered read of the Fabrics attribute
from the Node Operational Credentials cluster"
identity: "beta"
nodeId: 0x43211234
command: "readAttribute"
cluster: "Operational Credentials"
attribute: "Fabrics"
fabricFiltered: false
fabricFiltered: true
response:
value:
[
{ "FabricIndex": TH1_Fabric_Index, "Label": "" },
{ "FabricIndex": TH2_Fabric_Index, "Label": "" },
]
value: [{ "FabricIndex": TH2_Fabric_Index, "Label": "" }]
constraints:
type: list

Expand Down

0 comments on commit 8d8cedf

Please sign in to comment.