| { |
| "rules": [ |
| { |
| "from": "l-interface", |
| "to": "logical-link", |
| "label": "tosca.relationships.network.LinksTo", |
| "direction": "OUT", |
| "multiplicity": "MANY2MANY", |
| "contains-other-v": "NONE", |
| "delete-other-v": "${direction}", |
| "prevent-delete": "NONE", |
| "default": "true", |
| "description":"" |
| }, |
| { |
| "from": "logical-link", |
| "to": "l-interface", |
| "label": "org.onap.relationships.inventory.Source", |
| "direction": "OUT", |
| "multiplicity": "ONE2MANY", |
| "contains-other-v": "NONE", |
| "delete-other-v": "!${direction}", |
| "prevent-delete": "NONE", |
| "default": "false", |
| "description":"" |
| }, |
| { |
| "from": "logical-link", |
| "to": "l-interface", |
| "label": "org.onap.relationships.inventory.Destination", |
| "direction": "OUT", |
| "multiplicity": "ONE2MANY", |
| "contains-other-v": "NONE", |
| "delete-other-v": "!${direction}", |
| "prevent-delete": "NONE", |
| "default": "false", |
| "description":"" |
| }, |
| { |
| "from": "l-interface", |
| "to": "lag-interface", |
| "label": "org.onap.relationships.inventory.BelongsTo", |
| "direction": "OUT", |
| "multiplicity": "MANY2ONE", |
| "contains-other-v": "!${direction}", |
| "delete-other-v": "!${direction}", |
| "prevent-delete": "NONE", |
| "default": "true", |
| "description":"" |
| }, |
| { |
| "from": "lag-interface", |
| "to": "logical-link", |
| "label": "org.onap.relationships.inventory.Uses", |
| "direction": "OUT", |
| "multiplicity": "MANY2MANY", |
| "contains-other-v": "NONE", |
| "delete-other-v": "${direction}", |
| "prevent-delete": "NONE", |
| "default": "true", |
| "description":"" |
| }, |
| { |
| "from": "bloop", |
| "to": "bloop", |
| "label": "links", |
| "direction": "OUT", |
| "multiplicity": "ONE2ONE", |
| "contains-other-v": "IN", |
| "delete-other-v": "NONE", |
| "prevent-delete": "NONE", |
| "default": "true", |
| "description": "for testing same type direction flip requirement" |
| } |
| ] |
| } |