Add COMAC edge cluster fabric tosca config

Change-Id: I450686fa3f7759f3bbbc35f0f377876f67da4ccb
diff --git a/deployment-configs/comac-onf-testbed.yaml b/deployment-configs/comac-onf-testbed.yaml
new file mode 100644
index 0000000..52769dd
--- /dev/null
+++ b/deployment-configs/comac-onf-testbed.yaml
@@ -0,0 +1,440 @@
+# Copyright 2019-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Sample override values for 3-nodes cluster with SR-IOV configured on DP node.
+cassandra:
+  config:
+    cluster_size: 3
+
+config:
+  sriov:
+    resourceList:
+      vfio:
+        pfNames:
+          - eth2
+      netDevice:
+        pfNames:
+          - eth2
+        drivers:
+          - i40evf
+          - ixgbevf
+  mme:
+    cfgFiles:
+      config.json:
+        mme:
+          mcc:
+            dig1: 7
+            dig2: 3
+            dig3: 2
+          mnc:
+            dig1: 1
+            dig2: 1
+            dig3: 1
+  hss:
+    bootstrap:
+      enabled: true
+      users:
+        - imsi: "732111000000420"
+          msisdn: "1122334455"
+          apn: apn1
+          key: "000102030405060708090a0b0c0d0e0f"
+          opc: "69d5c2eb2e2e624750541d3bbc692ba5"
+        - imsi: "732111000000421"
+          msisdn: "1122334455"
+          apn: apn1
+          key: "000102030405060708090a0b0c0d0e0f"
+          opc: "69d5c2eb2e2e624750541d3bbc692ba5"
+      mmes:
+        - id: 1
+          isdn: "19136246000"
+          unreachability: 1
+  spgwu:
+    cpComm:
+      addr: 10.90.0.151
+      port: 30021
+    dpComm:
+      nodePort:
+        enabled: true
+        port: 30020
+  spgwc:
+    cpComm:
+      nodePort:
+        enabled: true
+        port: 30021
+    dpComm:
+      addr: 10.90.0.131
+      port: 30020
+    cfgFiles:
+      adc_rules.cfg: |
+        [GLOBAL]
+        NUM_ADC_RULES = 5
+
+        [ADC_RULE_1]
+        ADC_TYPE = 1
+        IP = 13.1.1.111
+
+        [ADC_RULE_2]
+        ADC_TYPE = 2
+        IP = 13.1.1.0
+        PREFIX = 24
+
+        [ADC_RULE_3]
+        ADC_TYPE = 1
+        IP = 13.1.1.112
+        PREFIX = 24
+
+        [ADC_RULE_4]
+        ADC_TYPE = 0
+        DOMAIN = www.example.gov
+
+        [ADC_RULE_5]
+        ADC_TYPE = 0
+        DOMAIN = www.drop_example.com
+      meter_profile.cfg: |
+        [GLOBAL]
+        NUM_OF_IDX = 7
+
+        [ENTRY_1]
+        ;Committed Information Rate (CIR). Measured in bytes per second.
+        ;MBR is mapped into CIR, convert MBR from bits to Bytes and set CIR.
+        CIR = 2342400
+        ;Committed Burst Size unit = Bytes
+        CBS = 5856
+        ;Excess Burst Size unit = Bytes
+        EBS = 11712
+        ;Meter profile index. Refer this index in static_pcc.cfg to set AMBR/MBR
+        MTR_PROFILE_IDX = 3
+
+        [ENTRY_2]
+        ;1200 = 1756800
+        ;1400 = 2049600
+        ;1600 = 2342400
+        CIR = 2342400
+        CBS = 5856
+        EBS = 11712
+        MTR_PROFILE_IDX = 4
+
+        [ENTRY_3]
+        ; QCI5,QCI7 15.571kbps = 1947 B
+        CIR = 2342400
+        CBS = 5856
+        EBS = 11712
+        MTR_PROFILE_IDX = 5
+
+        [ENTRY_4]
+        ; QCI1, 44kbps = 5500 B
+        CIR = 2342400
+        CBS = 5856
+        EBS = 11712
+        MTR_PROFILE_IDX = 6
+
+        [ENTRY_5]
+        ; QCI9, 31.143kbps = 3893 B
+        CIR = 2342400
+        CBS = 5856
+        EBS = 11712
+        MTR_PROFILE_IDX = 7
+
+        [ENTRY_6]
+        ; 128B, 7pps
+        CIR = 2342400
+        CBS = 512
+        EBS = 1024
+        MTR_PROFILE_IDX = 8
+
+        [ENTRY_7]
+        ; 128B, 2pps
+        CIR = 2342400
+        CBS = 512
+        EBS = 1024
+        MTR_PROFILE_IDX = 9
+
+      pcc_rules.cfg: |
+        [GLOBAL]
+        NUM_PCC_FILTERS = 9
+        ;To config AMBR/MBR values refer meter_profile.cfg. specify only the
+        ;meter profile index to be set here.
+        UL_AMBR_MTR_PROFILE_IDX = 3
+        DL_AMBR_MTR_PROFILE_IDX = 4
+
+        ;default filter - must be first for now (until DP doesn't install any filters)
+        ;associated with default adc rule
+        [PCC_FILTER_1]
+        RULE_NAME = DefaultRule
+        RATING_GROUP = 9
+        SERVICE_ID = 0
+        RULE_STATUS = 0
+        GATE_STATUS = 1
+        SESSION_CONT = 0
+        REPORT_LEVEL = 1
+        CHARGING_MODE = 0
+        METERING_METHOD = 0
+        MUTE_NOTIFY = 0
+        MONITORING_KEY = 0
+        SPONSOR_ID = 0
+        REDIRECT_INFO = 0
+        PRECEDENCE = 254
+        DROP_PKT_COUNT = 0
+        ;Specify the meter profile index from meter_profile.cfg
+        UL_MBR_MTR_PROFILE_IDX = 7
+        DL_MBR_MTR_PROFILE_IDX = 7
+        ;List of ADC filter indices
+        SDF_FILTER_IDX = 99998
+
+        [PCC_FILTER_2]
+        RULE_NAME = sdf_rule_1
+        RATING_GROUP = 5
+        SERVICE_ID = 0
+        RULE_STATUS = 0
+        GATE_STATUS = 1
+        SESSION_CONT = 0
+        REPORT_LEVEL = 2
+        CHARGING_MODE = 0
+        METERING_METHOD = 0
+        MUTE_NOTIFY = 0
+        MONITORING_KEY = 0
+        SPONSOR_ID = 0
+        REDIRECT_INFO = 0
+        PRECEDENCE = 1
+        DROP_PKT_COUNT = 0
+        UL_MBR_MTR_PROFILE_IDX = 5
+        DL_MBR_MTR_PROFILE_IDX = 5
+        ;List of SDF filter indices
+        SDF_FILTER_IDX = 1
+
+        [PCC_FILTER_3]
+        RULE_NAME = sdf_rule_2
+        RATING_GROUP = 1
+        SERVICE_ID = 0
+        RULE_STATUS = 0
+        GATE_STATUS = 1
+        SESSION_CONT = 0
+        REPORT_LEVEL = 3
+        CHARGING_MODE = 0
+        METERING_METHOD = 0
+        MUTE_NOTIFY = 0
+        MONITORING_KEY = 0
+        SPONSOR_ID = 0
+        REDIRECT_INFO = 0
+        PRECEDENCE = 18
+        DROP_PKT_COUNT = 0
+        UL_MBR_MTR_PROFILE_IDX = 6
+        DL_MBR_MTR_PROFILE_IDX = 6
+        ;List of SDF filter indices
+        SDF_FILTER_IDX = 2
+
+        [PCC_FILTER_4]
+        RULE_NAME = adc_rule_1
+        RATING_GROUP = Zero-Rate
+        SERVICE_ID = Internet
+        RULE_STATUS = 0
+        GATE_STATUS = 1
+        SESSION_CONT = 0
+        REPORT_LEVEL = 8
+        CHARGING_MODE = 0
+        METERING_METHOD = 0
+        MUTE_NOTIFY = 0
+        MONITORING_KEY = 0
+        REDIRECT_INFO = 0
+        SPONSOR_ID = Example
+        PRECEDENCE = 15
+        DROP_PKT_COUNT = 0
+        UL_MBR_MTR_PROFILE_IDX = 7
+        DL_MBR_MTR_PROFILE_IDX = 7
+        ;List of SDF filter indices
+        ADC_FILTER_IDX = 1
+
+        [PCC_FILTER_5]
+        RULE_NAME = adc_rule_2
+        RATING_GROUP = 0
+        SERVICE_ID = CIPA
+        RULE_STATUS = 0
+        GATE_STATUS = 1
+        SESSION_CONT = 0
+        REPORT_LEVEL = 9
+        CHARGING_MODE = 0
+        METERING_METHOD = 0
+        MUTE_NOTIFY = 0
+        MONITORING_KEY = 0
+        SPONSOR_ID = Example
+        REDIRECT_INFO = 0
+        SPONSOR_ID = Example
+        REDIRECT_INFO = 0
+        PRECEDENCE = 4
+        DROP_PKT_COUNT = 0
+        UL_MBR_MTR_PROFILE_IDX = 0
+        DL_MBR_MTR_PROFILE_IDX = 0
+        ;List of SDF filter indices
+        ADC_FILTER_IDX = 2
+
+        [PCC_FILTER_6]
+        RULE_NAME = sdf_rule_3
+        RATING_GROUP = 7
+        SERVICE_ID = 0
+        RULE_STATUS = 0
+        GATE_STATUS = 1
+        SESSION_CONT = 0
+        REPORT_LEVEL = 4
+        CHARGING_MODE = 0
+        METERING_METHOD = 0
+        MUTE_NOTIFY = 0
+        MONITORING_KEY = 0
+        SPONSOR_ID = 0
+        REDIRECT_INFO = 0
+        PRECEDENCE = 17
+        DROP_PKT_COUNT = 0
+        UL_MBR_MTR_PROFILE_IDX = 5
+        DL_MBR_MTR_PROFILE_IDX = 5
+        ;List of SDF filter indices
+        SDF_FILTER_IDX = 3
+
+        [PCC_FILTER_7]
+        RULE_NAME = adc_rule_3
+        RATING_GROUP = Zero-Rate
+        SERVICE_ID = Internet
+        RULE_STATUS = 0
+        GATE_STATUS = 1
+        SESSION_CONT = 0
+        REPORT_LEVEL = 5
+        CHARGING_MODE = 0
+        METERING_METHOD = 0
+        MUTE_NOTIFY = 0
+        MONITORING_KEY = 0
+        SPONSOR_ID = Example
+        REDIRECT_INFO = 0
+        PRECEDENCE = 210
+        DROP_PKT_COUNT = 0
+        UL_MBR_MTR_PROFILE_IDX = 7
+        DL_MBR_MTR_PROFILE_IDX = 7
+        ;List of SDF filter indices
+        ADC_FILTER_IDX = 4
+
+        [PCC_FILTER_8]
+        RULE_NAME = adc_rule_4
+        RATING_GROUP = Zero-Rate
+        SERVICE_ID = Management
+        RULE_STATUS = 0
+        GATE_STATUS = 1
+        SESSION_CONT = 0
+        REPORT_LEVEL = 6
+        CHARGING_MODE = 0
+        METERING_METHOD = 0
+        MUTE_NOTIFY = 0
+        MONITORING_KEY = 0
+        SPONSOR_ID = Example
+        REDIRECT_INFO = 0
+        PRECEDENCE = 200
+        DROP_PKT_COUNT = 0
+        UL_MBR_MTR_PROFILE_IDX = 7
+        DL_MBR_MTR_PROFILE_IDX = 7
+        ;List of SDF filter indices
+        ADC_FILTER_IDX = 12
+
+        [PCC_FILTER_9]
+        RULE_NAME = adc_rule_5
+        RATING_GROUP = Zero-Rate
+        SERVICE_ID = Provisioning
+        RULE_STATUS = 0
+        GATE_STATUS = 1
+        SESSION_CONT = 0
+        REPORT_LEVEL = 7
+        CHARGING_MODE = 0
+        METERING_METHOD = 0
+        MUTE_NOTIFY = 0
+        MONITORING_KEY = 0
+        SPONSOR_ID = Example
+        REDIRECT_INFO = 0
+        PRECEDENCE = 220
+        DROP_PKT_COUNT = 0
+        UL_MBR_MTR_PROFILE_IDX = 7
+        DL_MBR_MTR_PROFILE_IDX = 7
+        ;List of SDF filter indices
+        ADC_FILTER_IDX = 3
+      sdf_rules.cfg: |
+        [GLOBAL]
+        NUM_SDF_FILTERS = 4
+
+        [SDF_FILTER_1]
+        DIRECTION = downlink_only
+        IPV4_REMOTE = 13.2.1.113
+        IPV4_REMOTE_MASK = 255.255.255.0
+        PROTOCOL = 17
+        LOCAL_LOW_LIMIT_PORT = 0
+        LOCAL_HIGH_LIMIT_PORT = 65535
+        REMOTE_LOW_LIMIT_PORT = 0
+        REMOTE_HIGH_LIMIT_PORT = 65535
+
+        [SDF_FILTER_2]
+        DIRECTION = uplink_only
+        IPV4_LOCAL = 16.255.255.0
+        IPV4_LOCAL_MASK = 255.255.255.0
+        PROTOCOL = 17
+        LOCAL_LOW_LIMIT_PORT = 0
+        LOCAL_HIGH_LIMIT_PORT = 65535
+        REMOTE_LOW_LIMIT_PORT = 0
+        REMOTE_HIGH_LIMIT_PORT = 65535
+
+        [SDF_FILTER_3]
+        DIRECTION = downlink_only
+        IPV4_REMOTE = 130.10.0.0
+        IPV4_REMOTE_MASK = 255.255.0.0
+        PROTOCOL = 17
+        REMOTE_LOW_LIMIT_PORT = 5060
+        REMOTE_HIGH_LIMIT_PORT = 5060
+
+        [SDF_FILTER_4]
+        DIRECTION = uplink_only
+        IPV4_REMOTE = 103.1.0.0
+        IPV4_REMOTE_MASK = 255.255.0.0
+        PROTOCOL = 17
+        LOCAL_LOW_LIMIT_PORT = 17000
+        LOCAL_HIGH_LIMIT_PORT = 17010
+
+# Accelleran configuration values
+mme:
+  nodeport_ip_addr: 10.90.0.151
+cu:
+  accelleran:
+    node_ip: 10.90.0.151
+    progran:
+      enabled: true
+      ip: 10.90.0.151
+
+# CDN configuration values
+  cdnRemotes:
+  - name: remote-1
+    ip: 10.90.0.151
+    port: 30935
+    streams:
+    - name: 360p
+      value: 360
+    - name: 480p
+      value: 480
+    - name: 720p
+      value: 720
+
+# cord-platform values
+etcd-operator:
+  enabled: false
+
+# comac-platform values
+residentialService:
+  enabled: false
+progran:
+  enabled: true
+comac:
+  residentialService:
+    enabled: false
+  progran:
+    enabled: true
diff --git a/tosca-configs/comac/edge-fabric-accelleran.yaml b/tosca-configs/comac/edge-fabric-accelleran.yaml
new file mode 100644
index 0000000..064be27
--- /dev/null
+++ b/tosca-configs/comac/edge-fabric-accelleran.yaml
@@ -0,0 +1,234 @@
+# Copyright 2019-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# curl -H "xos-username: admin@opencord.org" -H "xos-password: letmein" -X POST --data-binary @edge-fabric-accelleran.yaml http://central1:30007/run
+
+tosca_definitions_version: tosca_simple_yaml_1_0
+imports:
+  - custom_types/switch.yaml
+  - custom_types/switchport.yaml
+  - custom_types/portinterface.yaml
+  - custom_types/fabricipaddress.yaml
+  - custom_types/site.yaml
+  - custom_types/node.yaml
+  - custom_types/vrouterservice.yaml
+  - custom_types/vrouterserviceinstance.yaml
+
+description: Configures the ONF COMAC POD with Cavium
+
+topology_template:
+  node_templates:
+
+    # Site deployment
+    mySite:
+      type: tosca.nodes.Site
+      properties:
+        name: mysite
+        login_base: opencord
+        abbreviated_name: ms
+        site_url: http://opencord.org/
+        hosts_nodes: true
+
+    # compute nodes
+    node#node1:
+      type: tosca.nodes.Node
+      properties:
+        dataPlaneIntf: eth2
+        dataPlaneIp: 119.0.0.131
+        name: node1
+
+    node#node2:
+      type: tosca.nodes.Node
+      properties:
+        dataPlaneIntf: eth2
+        dataPlaneIp: 119.0.0.132
+        name: node2
+
+    # static routes
+    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:
+      type: tosca.nodes.Switch
+      properties:
+        driver: ofdpa3
+        ipv4Loopback: 192.168.0.204
+        ipv4NodeSid: 214
+        isEdgeRouter: true
+        name: Agg Switch
+        ofId: of:0000000000000001
+        routerMac: 54:87:de:ad:be:ef
+
+    # Node1 Port
+    port#node_1_port:
+      type: tosca.nodes.SwitchPort
+      properties:
+        portId: 33
+      requirements:
+        - switch:
+            node: switch#leaf_1
+            relationship: tosca.relationships.BelongsToOne
+
+    interface#port_1_interface:
+      type: tosca.nodes.PortInterface
+      properties:
+        vlanUntagged: 20
+        name: node_1
+      requirements:
+        - port:
+            node: port#node_1_port
+            relationship: tosca.relationships.BelongsToOne
+
+    ip#port_1_sgi_net:
+      type: tosca.nodes.FabricIpAddress
+      properties:
+        ip: 13.1.1.254/24
+        description: node_1_sgi_net
+      requirements:
+        - interface:
+            node: interface#port_1_interface
+            relationship: tosca.relationships.BelongsToOne
+
+    ip#port_1_s1u_net:
+      type: tosca.nodes.FabricIpAddress
+      properties:
+        ip: 119.0.0.254/24
+        description: node_1_s1u_net
+      requirements:
+        - interface:
+            node: interface#port_1_interface
+            relationship: tosca.relationships.BelongsToOne
+
+    ip#port_1_rru_net:
+      type: tosca.nodes.FabricIpAddress
+      properties:
+        ip: 116.0.0.254/24
+        description: node_1_rru_net
+      requirements:
+        - interface:
+            node: interface#port_1_interface
+            relationship: tosca.relationships.BelongsToOne
+
+    # Node2 Port
+    port#node_2_port:
+      type: tosca.nodes.SwitchPort
+      properties:
+        portId: 34
+      requirements:
+        - switch:
+            node: switch#leaf_1
+            relationship: tosca.relationships.BelongsToOne
+
+    interface#port_2_interface:
+      type: tosca.nodes.PortInterface
+      properties:
+        vlanUntagged: 20
+        name: node_2
+      requirements:
+        - port:
+            node: port#node_2_port
+            relationship: tosca.relationships.BelongsToOne
+
+    ip#port_2_sgi_net:
+      type: tosca.nodes.FabricIpAddress
+      properties:
+        ip: 13.1.1.254/24
+        description: node_2_sgi_net
+      requirements:
+        - interface:
+            node: interface#port_2_interface
+            relationship: tosca.relationships.BelongsToOne
+
+    ip#port_2_s1u_net:
+      type: tosca.nodes.FabricIpAddress
+      properties:
+        ip: 119.0.0.254/24
+        description: node_2_s1u_net
+      requirements:
+        - interface:
+            node: interface#port_2_interface
+            relationship: tosca.relationships.BelongsToOne
+
+    ip#port_2_rru_net:
+      type: tosca.nodes.FabricIpAddress
+      properties:
+        ip: 116.0.0.254/24
+        description: node_2_rru_net
+      requirements:
+        - interface:
+            node: interface#port_2_interface
+            relationship: tosca.relationships.BelongsToOne
+
+    # RRU Port
+    port#rru_port:
+      type: tosca.nodes.SwitchPort
+      properties:
+        portId: 37
+      requirements:
+        - switch:
+            node: switch#leaf_1
+            relationship: tosca.relationships.BelongsToOne
+
+    interface#rru_interface:
+      type: tosca.nodes.PortInterface
+      properties:
+        vlanUntagged: 20
+        name: rru
+      requirements:
+        - port:
+            node: port#rru_port
+            relationship: tosca.relationships.BelongsToOne
+
+    ip#port_rru_sgi_net:
+      type: tosca.nodes.FabricIpAddress
+      properties:
+        ip: 13.1.1.254/24
+        description: rru_sgi_net
+      requirements:
+        - interface:
+            node: interface#rru_interface
+            relationship: tosca.relationships.BelongsToOne
+
+    ip#port_rru_s1u_net:
+      type: tosca.nodes.FabricIpAddress
+      properties:
+        ip: 119.0.0.254/24
+        description: rru_s1u_net
+      requirements:
+        - interface:
+            node: interface#rru_interface
+            relationship: tosca.relationships.BelongsToOne
+
+    ip#port_rru_net:
+      type: tosca.nodes.FabricIpAddress
+      properties:
+        ip: 116.0.0.254/24
+        description: rru_net
+      requirements:
+        - interface:
+            node: interface#rru_interface
+            relationship: tosca.relationships.BelongsToOne
diff --git a/tosca-configs/comac/progran.yaml b/tosca-configs/comac/progran.yaml
new file mode 100644
index 0000000..7a8db87
--- /dev/null
+++ b/tosca-configs/comac/progran.yaml
@@ -0,0 +1,157 @@
+# Copyright 2019-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# curl -H "xos-username: admin@opencord.org" -H "xos-password: letmein" -X POST --data-binary @onf-mcord-pod1-progran.yaml http://10.90.0.131:30007/run
+
+tosca_definitions_version: tosca_simple_yaml_1_0
+imports:
+  - custom_types/handover.yaml
+  - custom_types/enodeb.yaml
+  - custom_types/serviceinstancelink.yaml
+  - custom_types/progranservice.yaml
+  - custom_types/progranserviceinstance.yaml
+  - custom_types/mcordsubscriberservice.yaml
+  - custom_types/mcordsubscriberinstance.yaml
+
+topology_template:
+  node_templates:
+
+    service#progran:
+      type: tosca.nodes.ProgranService
+      properties:
+        name: progran
+        must-exist: true
+
+    service#mcord:
+      type: tosca.nodes.MCordSubscriberService
+      properties:
+        name: mcord
+        must-exist: true
+
+    handover#barcelona-handover:
+      type: tosca.nodes.Handover
+      properties:
+        name: barcelona-handover
+        A3offset: 1
+        A3TriggerQuantity: 0
+        A5Thresh1Rsrp: 74
+        A5Thresh1Rsrq: 10
+        A5Thresh2Rsrp: 78
+        A5Thresh2Rsrq: 10
+        A5TriggerQuantity: 0
+        A5TriggerType: 0
+        HysteresisA3: 0
+        HysteresisA5: 1
+
+    enodeb#accelleran:
+      type: tosca.nodes.ENodeB
+      properties:
+        description: accelleran
+        enbId: "1"
+        ipAddr: 10.90.0.131
+
+    # SUBSCRIBERS
+    imsi#IMSI1:
+      type: tosca.nodes.MCordSubscriberInstance
+      properties:
+        imsi_number: "732111000000420"
+        name: IMSI1
+        ue_status: "1"
+      requirements:
+        - owner:
+            node: service#mcord
+            relationship: tosca.relationships.BelongsToOne
+
+    imsi#IMSI2:
+      type: tosca.nodes.MCordSubscriberInstance
+      properties:
+        imsi_number: "732111000000421"
+        name: IMSI2
+        ue_status: "1"
+      requirements:
+        - owner:
+            node: service#mcord
+            relationship: tosca.relationships.BelongsToOne
+
+    profile#video-slice:
+      type: tosca.nodes.ProgranServiceInstance
+      properties:
+        name: video-slice
+        CellIndividualOffset: 0
+        DlWifiRate: 0
+        DlSchedType: RR
+        DlAllocRBRate: 50
+        UlSchedType: RR
+        UlAllocRBRate: 50
+        mmeip: 10.90.0.151
+        mmeport: "36412"
+        start: 1567321200
+        end: 1569826800
+        SubsProfile: IMSI2
+      requirements:
+        - owner:
+            node: service#progran
+            relationship: tosca.relationships.BelongsToOne
+        - handover:
+            node: handover#barcelona-handover
+            relationship: tosca.relationships.BelongsToOne
+        - enodeb:
+            node: enodeb#accelleran
+            relationship: tosca.relationships.BelongsToOne
+
+    profile#download-slice:
+      type: tosca.nodes.ProgranServiceInstance
+      properties:
+        name: download-slice
+        CellIndividualOffset: 0
+        DlWifiRate: 0
+        DlSchedType: RR
+        DlAllocRBRate: 20
+        UlSchedType: RR
+        UlAllocRBRate: 20
+        mmeip: 10.90.0.151
+        mmeport: "36412"
+        start: 1567321200
+        end: 1569826800
+        SubsProfile: IMSI1
+      requirements:
+        - owner:
+            node: service#progran
+            relationship: tosca.relationships.BelongsToOne
+        - handover:
+            node: handover#barcelona-handover
+            relationship: tosca.relationships.BelongsToOne
+        - enodeb:
+            node: enodeb#accelleran
+            relationship: tosca.relationships.BelongsToOne
+
+    imsi2_to_video_slice:
+      type: tosca.nodes.ServiceInstanceLink
+      requirements:
+        - provider_service_instance:
+            node: profile#video-slice
+            relationship: tosca.relationships.BelongsToOne
+        - subscriber_service_instance:
+            node: imsi#IMSI2
+            relationship: tosca.relationships.BelongsToOne
+
+    imsi1_to_download_slice:
+      type: tosca.nodes.ServiceInstanceLink
+      requirements:
+        - provider_service_instance:
+            node: profile#download-slice
+            relationship: tosca.relationships.BelongsToOne
+        - subscriber_service_instance:
+            node: imsi#IMSI1
+            relationship: tosca.relationships.BelongsToOne