the dbedgerules json
Issue-Id: AAI-198
Change-Id: I426563d7647f521fd9542773cf46f679b26a8801
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
public static final Multimap<String, String> EdgeRules = new ImmutableSetMultimap.Builder<String, String>()
<#list edgeRules as edgeRule>
.putAll("${edgeRule["nodes"]}",
public static final Multimap<String, String> EdgeRules = new ImmutableSetMultimap.Builder<String, String>()
<#list edgeRules as edgeRule>
.putAll("${edgeRule["nodes"]}",
- "${edgeRule["edge"]},${edgeRule["direction"]},${edgeRule["multiplicity"]},${edgeRule["lineage"]},${edgeRule["usesResource"]},${edgeRule["hasDelTarget"]},${edgeRule["SVC-INFRA"]}")
+ "${edgeRule["edge"]},${edgeRule["direction"]},${edgeRule["multiplicity"]},${edgeRule["lineage"]},${edgeRule["uses-resource"]},${edgeRule["has-del-target"]},${edgeRule["SVC-INFRA"]}")
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"SVC-INFRA": "${direction}",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"SVC-INFRA": "${direction}",
- "prevent-delete": "NONE"
+ "prevent-delete": "!${direction}"
},
{
"from": "l3-interface-ipv6-address-list",
},
{
"from": "l3-interface-ipv6-address-list",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"SVC-INFRA": "${direction}",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"SVC-INFRA": "${direction}",
- "prevent-delete": "NONE"
+ "prevent-delete": "!${direction}"
},
{
"from": "l3-network",
},
{
"from": "l3-network",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"SVC-INFRA": "${direction}",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"SVC-INFRA": "${direction}",
- "prevent-delete": "NONE"
+ "prevent-delete": "!${direction}"
},
{
"from": "l3-interface-ipv6-address-list",
},
{
"from": "l3-interface-ipv6-address-list",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"SVC-INFRA": "${direction}",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"SVC-INFRA": "${direction}",
- "prevent-delete": "NONE"
+ "prevent-delete": "!${direction}"
},
{
"from": "l3-network",
},
{
"from": "l3-network",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"SVC-INFRA": "${direction}",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"SVC-INFRA": "${direction}",
- "prevent-delete": "NONE"
+ "prevent-delete": "!${direction}"
},
{
"from": "l3-interface-ipv6-address-list",
},
{
"from": "l3-interface-ipv6-address-list",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"SVC-INFRA": "${direction}",
"contains-other-v": "NONE",
"delete-other-v": "NONE",
"SVC-INFRA": "${direction}",
- "prevent-delete": "NONE"
+ "prevent-delete": "!${direction}"
},
{
"from": "l3-network",
},
{
"from": "l3-network",