tosca_definitions_version: tosca_simple_yaml_1_0_0
metadata:
  template_name: Nested_FSB1
imports:
- openecomp_heat_index:
    file: openecomp-heat/_index.yml
- GlobalSubstitutionTypes:
    file: GlobalSubstitutionTypesServiceTemplate.yaml
- openecomp_index:
    file: openecomp/_index.yml
node_types:
  org.openecomp.resource.vfc.compute.nodes.heat.FSB1:
    derived_from: org.openecomp.resource.vfc.nodes.heat.nova.Server
topology_template:
  inputs:
    port_FSB1_OAM_subnetpoolid:
      type: string
      required: true
    compute_FSB1_availability_zone:
      type: list
      required: true
      entry_schema:
        type: string
    index_value:
      type: integer
      description: Index value of this substitution service template runtime instance
      required: false
      default: 0
      constraints:
      - greater_or_equal: 0
    port_FSB1_OAM_order:
      type: integer
      required: true
    port_FSB1_OAM_exCP_naming:
      type: org.openecomp.datatypes.Naming
      required: true
    port_FSB1_OAM_ip_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.IpRequirements
    vm_flavor_name:
      type: string
      required: true
    port_FSB1_OAM_network:
      type: list
      required: true
      entry_schema:
        type: string
    port_FSB1_OAM_network_role:
      type: string
      required: true
    port_FSB1_OAM_vlan_requirements:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.VlanRequirements
    port_FSB1_OAM_related_networks:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.network.RelatedNetworksAssignments
    port_FSB1_OAM_network_role_tag:
      type: string
      required: true
    compute_FSB1_name:
      type: list
      required: true
      entry_schema:
        type: string
    port_FSB1_OAM_fixed_ips:
      type: list
      required: true
      entry_schema:
        type: org.openecomp.datatypes.heat.neutron.port.FixedIps
    port_FSB1_OAM_mac_requirements:
      type: org.openecomp.datatypes.network.MacRequirements
      required: true
  node_templates:
    FSB1_FSB1_OAM:
      type: org.openecomp.resource.cp.v2.extNeutronCP
      properties:
        mac_requirements:
          get_input: port_FSB1_OAM_mac_requirements
        order:
          get_input: port_FSB1_OAM_order
        exCP_naming:
          get_input: port_FSB1_OAM_exCP_naming
        vlan_requirements:
          get_input: port_FSB1_OAM_vlan_requirements
        subinterface_indicator: false
        ip_requirements:
          get_input: port_FSB1_OAM_ip_requirements
        related_networks:
          get_input: port_FSB1_OAM_related_networks
        network_role_tag:
          get_input: port_FSB1_OAM_network_role_tag
        network_role:
          get_input: port_FSB1_OAM_network_role
        fixed_ips:
          get_input:
          - port_FSB1_OAM_fixed_ips
          - index_value
        subnetpoolid:
          get_input: port_FSB1_OAM_subnetpoolid
        network:
          get_input:
          - port_FSB1_OAM_network
          - index_value
      requirements:
      - binding:
          capability: tosca.capabilities.network.Bindable
          node: FSB1
          relationship: tosca.relationships.network.BindsTo
      capabilities:
        port_mirroring:
          properties:
            connection_point:
              nf_type: ''
              nfc_type: ''
              nf_naming_code: ''
              nfc_naming_code: FSB1
              network_role:
                get_input: port_FSB1_OAM_network_role
              pps_capacity: ''
    FSB1:
      type: org.openecomp.resource.vfc.compute.nodes.heat.FSB1
      properties:
        availability_zone:
          get_input:
          - compute_FSB1_availability_zone
          - index_value
        flavor:
          get_input: vm_flavor_name
        name:
          get_input:
          - compute_FSB1_name
          - index_value
  substitution_mappings:
    node_type: org.openecomp.resource.abstract.nodes.FSB1
    capabilities:
      network.incoming.bytes.rate_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - network.incoming.bytes.rate
      network.outgoing.bytes_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - network.outgoing.bytes
      disk.capacity_FSB1:
      - FSB1
      - disk.capacity
      disk.read.bytes.rate_FSB1:
      - FSB1
      - disk.read.bytes.rate
      disk.device.latency_FSB1:
      - FSB1
      - disk.device.latency
      disk.allocation_FSB1:
      - FSB1
      - disk.allocation
      disk.read.bytes_FSB1:
      - FSB1
      - disk.read.bytes
      disk.device.capacity_FSB1:
      - FSB1
      - disk.device.capacity
      cpu_util_FSB1:
      - FSB1
      - cpu_util
      disk.device.write.requests.rate_FSB1:
      - FSB1
      - disk.device.write.requests.rate
      network.outgoing.bytes.rate_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - network.outgoing.bytes.rate
      disk.root.size_FSB1:
      - FSB1
      - disk.root.size
      feature_FSB1:
      - FSB1
      - feature
      forwarder_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - forwarder
      memory.resident_FSB1:
      - FSB1
      - memory.resident
      network.incoming.packets.rate_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - network.incoming.packets.rate
      cpu_FSB1:
      - FSB1
      - cpu
      disk.write.requests.rate_FSB1:
      - FSB1
      - disk.write.requests.rate
      feature_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - feature
      instance_FSB1:
      - FSB1
      - instance
      disk.device.read.bytes.rate_FSB1:
      - FSB1
      - disk.device.read.bytes.rate
      cpu.delta_FSB1:
      - FSB1
      - cpu.delta
      disk.write.bytes_FSB1:
      - FSB1
      - disk.write.bytes
      disk.device.read.requests.rate_FSB1:
      - FSB1
      - disk.device.read.requests.rate
      disk.device.read.requests_FSB1:
      - FSB1
      - disk.device.read.requests
      disk.ephemeral.size_FSB1:
      - FSB1
      - disk.ephemeral.size
      binding_FSB1:
      - FSB1
      - binding
      disk.device.write.bytes_FSB1:
      - FSB1
      - disk.device.write.bytes
      network.outgoing.packets.rate_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - network.outgoing.packets.rate
      binding_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - binding
      attachment_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - attachment
      network.incoming.bytes_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - network.incoming.bytes
      memory_FSB1:
      - FSB1
      - memory
      network.incoming.packets_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - network.incoming.packets
      disk.device.read.bytes_FSB1:
      - FSB1
      - disk.device.read.bytes
      disk.device.usage_FSB1:
      - FSB1
      - disk.device.usage
      disk.write.bytes.rate_FSB1:
      - FSB1
      - disk.write.bytes.rate
      scalable_FSB1:
      - FSB1
      - scalable
      disk.usage_FSB1:
      - FSB1
      - disk.usage
      network.outpoing.packets_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - network.outpoing.packets
      host_FSB1:
      - FSB1
      - host
      disk.device.allocation_FSB1:
      - FSB1
      - disk.device.allocation
      os_FSB1:
      - FSB1
      - os
      vcpus_FSB1:
      - FSB1
      - vcpus
      disk.write.requests_FSB1:
      - FSB1
      - disk.write.requests
      disk.device.write.bytes.rate_FSB1:
      - FSB1
      - disk.device.write.bytes.rate
      endpoint_FSB1:
      - FSB1
      - endpoint
      disk.latency_FSB1:
      - FSB1
      - disk.latency
      memory.usage_FSB1:
      - FSB1
      - memory.usage
      disk.read.requests_FSB1:
      - FSB1
      - disk.read.requests
      disk.device.write.requests_FSB1:
      - FSB1
      - disk.device.write.requests
      disk.iops_FSB1:
      - FSB1
      - disk.iops
      disk.device.iops_FSB1:
      - FSB1
      - disk.device.iops
      port_mirroring_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - port_mirroring
    requirements:
      link_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - link
      dependency_FSB1_FSB1_OAM:
      - FSB1_FSB1_OAM
      - dependency
      dependency_FSB1:
      - FSB1
      - dependency
      local_storage_FSB1:
      - FSB1
      - local_storage