- Created by maopeng zhang, last modified on Apr 02, 2018
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 24 Next »
Node Type
tosca.nodes.nfv.NS Expand source
tosca.nodes.nfv.NS: derived_from: onap.nodes.ServiceComponent requirements: - wanLink: # to support VoLTE case based on the R1 WAN link node capability: tosca.capabilities.network.Linkable relationship: tosca.relationships.network.LinksTo node: org.openecomp.resource.vl.overlaytunnel occurrences: [ 0, UNBOUNDED ] # same with the anatoly comments on the VNF.
tosca.nodes.nfv.VNF Expand source
refer to https://wiki.onap.org/display/DW/Node+Type #tosca.nodes.nfv.VNF:
tosca.nodes.nfv.NsVirtualLink Expand source
tosca.nodes.nfv.NsVirtualLink: derived_from: tosca.nodes.Root description: External virtual link used in network service. properties: id: #virtual_link_desc_id: type: string required: true description: Identifier of the NsVirtualLinkDesc information element. It uniquely identifies a VLD. provider: #vitual_link_desc_provider: type: string required: false description: Defines the organization generating the VLD. version: #virtual_link_desc_version: type: string required: true description: Specifies the version of the VLD. connectivity_type: type: tosca.datatypes.nfv.ConnectivityType required: true description: Specifies the protocol exposed by a VL and the flow pattern supported by the VL. test_access: type: list entry_schema: type: string required: false description: > Specifies test access facilities expected on the VL (e.g. none, passive monitoring, or active (intrusive) loopbacks at endpoints). description: type: string required: false description: > Provides human-readable information on the purpose of the virtual link (e.g. VL for control plane traffic). capabilities: virtual_linkable: type: tosca.capabilities.nfv.VirtualLinkable
tosca.nodes.nfv.OpenstackNetwork Expand source
tosca.nodes.nfv.OpenstackNetwork: derived_from: tosca.nodes.nfv.NsVirtualLink description: Implement the openstack network L2/L3 model properties: cidr: type: string required: false start_ip: type: string required:false end_ip: type: string required:false gateway_ip: type: string required: false dhcpEnabled: type: Boolean required: false network_name: type: string required: false network_id: type: string required: false segmentation_id: type: string required: false network_type: type: string constraints: - valid_values: [VLAN, VXLAN] required: false physical_network: type: string required: false vlanTransparent: type: Boolean required: false
Data Type:
tosca.datatypes.nfv.ConnectivityType Expand source
tosca.datatypes.nfv.ConnectivityType: derived_from: tosca.datatypes.Root properties: layer_protocol: type: string required: true constraints: - valid_values: [ethernet, mpls, odu2, ipv4, ipv6, pseudo_wire ] flow_pattern: type: string required: false constraints: - valid_values: [Line, Tree, Mesh]
Capability
tosca.capabilities.nfv.VirtualLinkable Expand source
tosca.capabilities.nfv.VirtualLinkable: derived_from: tosca.capabilities.network.Linkable
Relationship
tosca.relationships.nfv.VirtualLinksTo Expand source
tosca.relationships.nfv.VirtualLinksTo: derived_from: tosca.relationships.DependsOn valid_target_types: [ tosca.capabilities.nfv.VirtualLinkable ]
NS Example
NS Example Expand source
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.OpenstackNetwork properties: ... NsVL2: type: tosca.nodes.nfv.OpenstackNetwork properties: ... VNF1: type: tosca.nodes.nfv.VNF properties: ... requirements: - virtualLink1: NsVL2 VNF2: type: onap.nodes.VNF properties: ... requirements: - virtualLink1: NsVL1 VNF3: type: onap.nodes.VNF properties: ... requirements: - virtualLink1: NsVL1 - virtualLink2: NsVL2 ###################VNF1 Template ################## ..... substitution_mappings: requirements: virtualLink1: - ext_port_1 - virtual_link node_type: tosca.nodes.nfv.VNF.VNF1 ###################VNF2 Template ################## ..... substitution_mappings: requirements: virtualLink1: - ext_port_1 - virtual_link node_type: tosca.nodes.nfv.VNF.VNF2 ###################VNF3 Template ################## ..... substitution_mappings: requirements: virtualLink1: - ext_port_1 - virtual_link virtualLink2: - ext_port_2 - virtual_link node_type: tosca.nodes.nfv.VNF.VNF3
- No labels