Comment 2 for bug 1698089

Revision history for this message
MANAS (manaskrmal) wrote :

topology_template:

  inputs:
    VDU_IP:
      type: string
      default: 10.0.0.159
      description: IP for the VDU

node_templates:

 VDU3:
      type: tosca.nodes.nfv.VDU
      artifacts:
        image:
          type: tosca.artifacts.Deployment.Image.VM.Qcow2
          file: Alpine.qcow2

      capabilities:
        host:
          properties:
            disk_size: 10 GB
            num_cpus: 1
            mem_size: 512 MB

      requirements:
        - connection1:
             node: VDU4
             relationship:
                 type: tosca.relationships.DependsOn

      interfaces:
        Standard:
          create: ../Scripts/create.sh
          configure:
            implementation: ../Scripts/config.sh
            inputs:
              VDU_ip: { get_input: VDU_IP }
          start: ../Scripts/start.sh