"Fossies" - the Fresh Open Source Software Archive

Member "tacker-2.0.0/samples/tosca-templates/vnfd/tosca-vnfd-hello-world.yaml" (16 Oct 2019, 1613 Bytes) of package /linux/misc/openstack/tacker-2.0.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "tosca-vnfd-hello-world.yaml": 0.9.0_vs_1.0.0.

    1 tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0
    2 
    3 description: Demo example
    4 
    5 metadata:
    6   template_name: sample-tosca-vnfd
    7 
    8 topology_template:
    9   node_templates:
   10     VDU1:
   11       type: tosca.nodes.nfv.VDU.Tacker
   12       capabilities:
   13         nfv_compute:
   14           properties:
   15             num_cpus: 1
   16             mem_size: 512 MB
   17             disk_size: 1 GB
   18       properties:
   19         image: cirros-0.4.0-x86_64-disk
   20         availability_zone: nova
   21         mgmt_driver: noop
   22         config: |
   23           param0: key1
   24           param1: key2
   25 
   26     CP1:
   27       type: tosca.nodes.nfv.CP.Tacker
   28       properties:
   29         management: true
   30         order: 0
   31         anti_spoofing_protection: false
   32       requirements:
   33         - virtualLink:
   34             node: VL1
   35         - virtualBinding:
   36             node: VDU1
   37 
   38     CP2:
   39       type: tosca.nodes.nfv.CP.Tacker
   40       properties:
   41         order: 1
   42         anti_spoofing_protection: false
   43       requirements:
   44         - virtualLink:
   45             node: VL2
   46         - virtualBinding:
   47             node: VDU1
   48 
   49     CP3:
   50       type: tosca.nodes.nfv.CP.Tacker
   51       properties:
   52         order: 2
   53         anti_spoofing_protection: false
   54       requirements:
   55         - virtualLink:
   56             node: VL3
   57         - virtualBinding:
   58             node: VDU1
   59 
   60     VL1:
   61       type: tosca.nodes.nfv.VL
   62       properties:
   63         network_name: net_mgmt
   64         vendor: Tacker
   65 
   66     VL2:
   67       type: tosca.nodes.nfv.VL
   68       properties:
   69         network_name: net0
   70         vendor: Tacker
   71 
   72     VL3:
   73       type: tosca.nodes.nfv.VL
   74       properties:
   75         network_name: net1
   76         vendor: Tacker