diff options
author | 2025-03-27 19:29:29 +0530 | |
---|---|---|
committer | 2025-03-27 22:31:00 +0530 | |
commit | 1776ff2c780dfabbaa1c4a861b330d3dbe470fb6 (patch) | |
tree | 8948145f7afdcf17e176b109c726185e39b99868 /docs/opa/resources/cell_consistency_topology.rego | |
parent | 0031d096390953ef0ae8e6067e42a724f816be82 (diff) |
Issue-ID: POLICY-5329
Change-Id: I38d158446084f2822cefb6499b5b710f47e27e84
Signed-off-by: gururajarao79 <gb00566633@techmahindra.com>
Diffstat (limited to 'docs/opa/resources/cell_consistency_topology.rego')
-rw-r--r-- | docs/opa/resources/cell_consistency_topology.rego | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/opa/resources/cell_consistency_topology.rego b/docs/opa/resources/cell_consistency_topology.rego new file mode 100644 index 00000000..e8f22f7e --- /dev/null +++ b/docs/opa/resources/cell_consistency_topology.rego @@ -0,0 +1,6 @@ +package cell.consistency.topology +import rego.v1 +# Rule to check cell consistency +check_cell_consistency if { + input.cell != data.node.cell.consistency.allowedCellId +}
\ No newline at end of file |