Fixing M-CORD fabric config
Change-Id: Ia39afaaa4a757f0de933d16f83705dee082008b0
diff --git a/tosca-configs/mcord/onf-mcord-pod1-fabric.yaml b/tosca-configs/mcord/onf-mcord-pod1-fabric.yaml
index b306ac5..49b4594 100644
--- a/tosca-configs/mcord/onf-mcord-pod1-fabric.yaml
+++ b/tosca-configs/mcord/onf-mcord-pod1-fabric.yaml
@@ -90,11 +90,20 @@
- site_deployment:
node: site_deployment
relationship: tosca.relationships.BelongsToOne
+ service#vrouter:
+ type: tosca.nodes.VRouterService
+ properties:
+ name: vrouter
+ must-exist: true
vroutersi#calico:
type: tosca.nodes.VRouterServiceInstance
properties:
name: calico
+ requirements:
+ - owner:
+ node: service#vrouter
+ relationship: tosca.relationships.BelongsToOne
# Fabric configuration
switch#leaf_1:
@@ -257,4 +266,3 @@
- interface:
node: interface#port_3_interface
relationship: tosca.relationships.BelongsToOne
-