Download presentation
Presentation is loading. Please wait.
1
Network Service Model with TOSCA yaml
Mar 7, 2018 Feng yuanxing, ZTE This is a NS model proposal with TOSCA yaml from ZTE based on IFA011&IFA014. And, this proposal is also submitted to modeling subcommittee in ONAP coummunity.
2
Overview: NSD
3
Overview: NSD NSD NsVL1 VNF1 VNF2 VNF3 NsVL2
4
tosca.nodes.nfv.NS tosca.nodes.nfv.NS: derived_from: tosca.nodes.Root
properties: id: type: string required: true name: designer: version: invariant_id: requirements: - virtualLink: capability: tosca.capabilities.nfv.VirtualLinkable relationship: tosca.relationships.nfv.VirtualLinksTo
5
tosca.nodes.nfv.VNF tosca.nodes.nfv.VNF properties: id: type: string
required: true version: provider: product_name: software_version: product_info_name: product_info_description: vnfm_info: requirements: - virtualLink: capability: tosca.capabilities.nfv.VirtualLinkable relationship: tosca.relationships.nfv.VirtualLinksTo
6
tosca.nodes.nfv.NsVirtualLink
derived_from: tosca.nodes.Root properties: id: #virtual_link_desc_id: type: string required: true provider: #vitual_link_desc_provider: required: false connectivity_type: type: tosca.datatypes.nfv.ConnectivityType test_access: type: list entry_schema: loopbacks at endpoints). description: capabilities: virtual_linkable: type: tosca.capabilities.nfv.VirtualLinkable
7
Datatype& Relationship & Capability
tosca.datatypes.nfv.ConnectivityType: derived_from: tosca.datatypes.Root properties: layer_protocol: type: string required: true constraints: - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, seudo_wire ] flow_pattern: required: false - valid_values: [Line, Tree, Mesh] tosca.relationships.nfv.VirtualLinksTo: derived_from: tosca.relationships.DependsOn valid_target_types: osca.capabilities.nfv.VirtualLinkable ] tosca.capabilities.nfv.VirtualLinkable derived_from: tosca.capabilities.network.Linkable
8
NSD Example tosca_definitions_version: tosca_simple_yaml_1_1 metadata:
... imports: - nodes: file: nodes.yml - datatypes: file: data.yml - capabilities: file: capabilities.yml - relationships: file: relationships.yml topology_template: inputs: # omitted here for brivity substitution_mappings: node_type: tosca.nodes.nfv.NS.example requirements: - virtualLink: [VNF1, virtualLink2] node_templates: NsVL1: type: tosca.nodes.nfv.NsVirtualLink properties: NsVL2: VNF1: type: tosca.nodes.nfv.VNF properties: ... requirements: - virtualLink1: NsVL2 - virtualLink2: capability: tosca.capabilities.nfv.VirtualLinkable VNF2: type: onap.nodes.VNF - virtualLink1: NsVL1 VNF3:
9
Thank you! 2018/9/17
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.