Keong / Jimmy,
I have esr-thirdparty-sdnc and pnf. I also have esr-thirdparty-sdnc to pnf
relationship. If the esr-thirdparty-sdnc is deleted, the pnf has to be deleted.
I have AAI running in Onap OOM kubernetes deployment environment.
In the aai-traversal container,
root@aai-traversal:/opt/app/aai-traversal/resources/schema/onap/dbedgerules/v14/
DbEdgeRules_esr_v14.json
Initially the edgerule was as below. Deleting the esr-thirdparty-sdnc doesn't
delete the pnf for the below rule.
{
"from": "esr-thirdparty-sdnc",
"to": "pnf",
"label": "org.onap.relationships.inventory.AppliesTo",
"direction": "OUT",
"multiplicity": "ONE2MANY",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"SVC-INFRA": "NONE",
"prevent-delete": "NONE",
"default": "true"
}
I changed it to as below. Still cascaded deletion doesn't happen.
{
"from": "esr-thirdparty-sdnc",
"to": "pnf",
"label": " org.onap.relationships.inventory.AppliesTo"
"direction": "OUT",
"multiplicity": "ONE2MANY",
"contains-other-v": "NONE",
"delete-other-v": "${direction}",
"SVC-INFRA": "NONE",
"prevent-delete": "NONE",
"default": "true"
}
I also tried
{
"from": "esr-thirdparty-sdnc",
"to": "pnf",
"label": "tosca.relationships.network.LinksTo",
"direction": "OUT",
"multiplicity": "ONE2MANY",
"contains-other-v": "NONE",
"delete-other-v": "${direction}",
"SVC-INFRA": "NONE",
"prevent-delete": "NONE",
"default": "true"
}
Please find my questions below
1. Can the DbEdgeRules be changed in a deployment environment ?
2. If it can be done, am I changing in the right place ?
3. Please let me know if I am missing something here.
Any pointer is much appreciated.
Thanks,
Thiriloshini
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16136): https://lists.onap.org/g/onap-discuss/message/16136
Mute This Topic: https://lists.onap.org/mt/30451570/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-