"Fossies" - the Fresh Open Source Software Archive

Member "tacker-2.0.0/tacker/tests/etc/samples/test-ns-vnfd2.yaml" (16 Oct 2019, 1504 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 "test-ns-vnfd2.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 node_types:
    6   tosca.nodes.nfv.VNF2:
    7     capabilities:
    8       forwarder1:
    9           type: tosca.capabilities.nfv.Forwarder
   10 topology_template:
   11   substitution_mappings:
   12     node_type: tosca.nodes.nfv.VNF2
   13     capabilities:
   14       forwarder1: [CP21, forwarder]
   15   node_templates:
   16     VDU1:
   17       type: tosca.nodes.nfv.VDU.Tacker
   18       properties:
   19         image: cirros-0.4.0-x86_64-disk
   20         flavor: m1.tiny
   21         availability_zone: nova
   22         mgmt_driver: noop
   23         config: |
   24           param0: key1
   25           param1: key2
   26 
   27     CP21:
   28       type: tosca.nodes.nfv.CP.Tacker
   29       properties:
   30         management: true
   31         anti_spoofing_protection: false
   32       requirements:
   33         - virtualLink:
   34             node: VL1
   35         - virtualBinding:
   36             node: VDU1
   37 
   38     VDU2:
   39       type: tosca.nodes.nfv.VDU.Tacker
   40       properties:
   41         image: cirros-0.4.0-x86_64-disk
   42         flavor: m1.medium
   43         availability_zone: nova
   44         mgmt_driver: noop
   45         config: |
   46           param0: key1
   47           param1: key2
   48 
   49     CP22:
   50       type: tosca.nodes.nfv.CP.Tacker
   51       requirements:
   52         - virtualLink:
   53             node: VL2
   54         - virtualBinding:
   55             node: VDU2
   56 
   57     VL1:
   58       type: tosca.nodes.nfv.VL
   59       properties:
   60         network_name: net_mgmt
   61         vendor: Tacker
   62 
   63     VL2:
   64       type: tosca.nodes.nfv.VL
   65       properties:
   66         network_name: net0
   67         vendor: Tacker
   68