- Created by maopeng zhang, last modified on Mar 21, 2018
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 18 Next »
Node Type
tosca.nodes.nfv.NS Expand source
tosca.nodes.nfv.NS: derived_from: onap.nodes.ServiceComponent requirements: - virtualLink: capability: tosca.capabilities.nfv.VirtualLinkable relationship: tosca.relationships.nfv.VirtualLinksTo - wanLink: capability: tosca.capabilities.wan.VirtualLinkable relationship: tosca.relationships.wan.VirtualLinksTo
tosca.nodes.nfv.VNF Expand source
tosca.nodes.nfv.VNF: derived_from: tosca.nodes.Root properties: descriptor_id: # instead of vnfd_id type: string # GUID required: true descriptor_version: # instead of vnfd_version type: string required: true provider: # instead of vnf_provider type: string required: true product_name: # instead of vnf_product_name type: string required: true software_version: # instead of vnf_software_version type: string required: true product_info_name: # instead of vnf_product_info_name type: string required: false product_info_description: # instead of vnf_product_info_description type: string required: false vnfm_info: type: list entry_schema: type: string required: true requirements: - virtual_link: capability: tosca.capabilities.nfv.VirtualLinkable relationship: tosca.relationships.nfv.VirtualLinksTo node: tosca.nodes.nfv.VnfVirtualLink occurrences: [ 0, UNBOUNDED ]
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.NsVirtualLink properties: ... NsVL2: type: tosca.nodes.nfv.NsVirtualLink 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 - virtualLink1: NsVL2 ###################VNF Template ################## ..... substitution_mappings: requirements: sriov_plane: - SRIOV_Port - virtual_link node_type: tosca.nodes.nfv.VNF.example
- No labels