Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-1254

policy distribution can not convert HPA pciDeviceId correctly

XMLWordPrintable

    • Casablanca-RC2 (10/26-11/7)

      With the following tosca VduCp definitions, policy distribution will complain about can NOT find VDU with name 'VL_mux_gw_private_net', which is wrong. Policy distribution should find VDU by following the requirement of 'virtual_binding' instead of 'virtual_link'.

       

      Cp_vgw_mux_gw_private_net:
        type: tosca.nodes.nfv.VduCp

        ... ... 
        properties:

          ... ...
          virtual_network_interface_requirements:
          - name: "pci-passthrough"
            support_mandatory: true
            network_interface_requirements:
               interfaceType: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform":"generic", "mandatory": "true", "configurationValue": "PCI-Passthrough"}'
            nic_io_requirements:
              logical_node_requirements:
                 pciVendorId: '{"schemaVersion": "0", "schemaSelector": "", "hardwarePlatform": "generic", "mandatory": "true", "configurationValue": "1234"}'
        requirements:
        - virtual_link:
          capability: virtual_linkable
          node: VL_mux_gw_private_net
        - virtual_binding:
           capability: virtual_binding
           node: VDU_vgw_0

            lianhaolu lianhaolu
            lianhaolu lianhaolu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: