Versions Compared

Key

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

...

Code Block
title tosca.datatype.onap.networkInterfaceRequirements
collapsetrue
data_types:
   networkInterfaceRequirements:
    version: 1.0
    description: "Describes the datatype for network interface requirements"
    properties:
      trunkMode:
        description: >
               Information about whether the CP instantiated from this Cp is in Trunk mode (802.1Q or other). 
               When operating in "trunk mode", the Cp is capable of carrying traffic for several VLANs. 
               Absence of this property implies that trunkMode is not configured for the Cp i.e. 
               It is equivalent to boolean value "false".
        required: false
        type: boolean
      ipam: 
        description: >
              The default value ("infraProvided") means that the CNI specifies how IPAM is done and assigns 
              the IP address to the pod interface. 
        required: false
        type: string
        constraints:
          - valid_values: ["infraProvided", "orchestrated", "userManaged"]
     interfaceType:
        description: > 
             This attribute is applicable for passthrough and memif interfaces. 
             The default value is ”kernel.netdev”.​ 
        required: false
        type: string
        constraints:
          - valid_values: ["kernel.netdev", "direct.userdriver", "direct.kerneldriver", "direct.bond", "userspace"]
     interfaceOption:
        description: > 
             This attribute is applicable for passthrough and memif interfaces. 
             The default value is ”kernel.netdev”.​ 
        required: false
        type: list
        entry_schema:
              type: string
              constraints:
                  - valid_values: [“virtio", "memif“]
     interfaceRedundancy:
        description: > 
             Default value is "infra-provided”, which means that the infrastructure is expected to provide 
             network redundancy for the pod interface. Value "none" means that the application has no 
             requirement on network redundancy. Value ”matedPair” means that the Pod asks for a mated pair 
             of non-redundant left/right network attachments (typically SRIOV) and handles redundancy on 
             application level. The same set of networks shall be configured on both interfaces. 
        required: false
        type: string
        constraints:
          - valid_values: ["infraProvided", "actPassBond", "actActBond", "actPassL3", "actActL3", "Left", "Right"] 
     nicOptions:
        description: > 
             nics a direct user space driver the application is verified to work with. Allowed values from ETSI registry.​ 
        required: false
        type: list
        entry_schema:
              type: string
 


Code Block
title tosca.datatype.onap.paramMappings
collapsetrue
data_types:
  paramMappings:
    version: 1.0
    description: "Describes the datatype for parameter mapping"
    properties:
      ipAddressParameter:
        description: >
              When present, this attribute specifies the name of the deployment artifact input parameter 
              through which the orchestrator can configure the IP address(es), ipv4 and/or IPv6, for this 
              asdExtCpd. The param name and provided IP address value will be passed to the deployment 
              tool when deploying the DeploymentArtifacts. 
        required: false
        type: string
      nadName: 
        description: >
              These attributes specifies, for an asdExtCpd respesenting a secondary network interface, 
              the name(s) of the deployment artifact input parameters through which the orchestrator 
              can configure the corresponding network annotation in the pod manifest with references 
              to the NAD(s) to be used for creating the network interface.It is expected that the NADs 
              themselves have been created prior to the deployment of the deployment artifacts. 
        required: false
        type: string
      nadNamespace: 
        description: >
              These attributes specifies, for an asdExtCpd respesenting a secondary network interface, 
              the name(s) of the deployment artifact input parameters through which the orchestrator 
              can configure the corresponding network annotation in the pod manifest with references 
              to the NAD(s) to be used for creating the network interface.It is expected that the NADs 
              themselves have been created prior to the deployment of the deployment artifacts. 
        required: false
        type: string