Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleNetwork Service template
linenumberstrue
collapsetrue
  
description: World Famous Network Service

topology_template:
  substitution_mappings:
    node_type: tosca.nodes.nfv.NS.NS1
    properties:
      id: 316aa140-c99a-4a08-b8f5-8e2cb73c83e8
      designer: Nokia
      version: "1.0.0"
      name: "World Famous"
      invariantId: 416aa140-c99a-4a08-b8f5-8e2cb73c8fef

    requirements:
      - virtualLinkable1: [ vnf1,   virtualLinkable2 ]
      - virtualLinkable2: [ SAP1,   virtualLinkable2 ]
 
    capabilities:
      ...
    interfaces:
      ...

  node_templates:
  
    vnf1:
      type: tosca.nodes.nfv.VNF.VNF1
      properties:
         ...

      requirements:
        - virtualLinkable1: VL1 #virtualLinkable2 is exposed through substitution mapping

        
                
    ns2:
      type: tosca.nodes.nfv.NS.NS2
      properties:
         ...

      requirements:
        - virtualLinkable1: VL1

    pnf:
      type: tosca.nodes.nfv.PNF.PNF1
      properties:
         ...

      requirements:
        - virtualLinkable1: VL1
    
    VL1:
      type: tosca.nodes.nfv.VL
      properties:
       ...

    SAP1:
      type: tosca.nodes.nfv.SAP
      properties:
        layer_protocol: ipv4
        sap_address_assignment: true
      requirements:
        - virtualLinkable1: VL1 #virtualLinkable2 is exposed through substitution mapping
      ...