Commit 537465a2 authored by garciadeblas's avatar garciadeblas
Browse files

Merge branch 'add_volume_multiattach_packages' into 'master'

add volume multiattach packages for testing

See merge request !217
parents dfc1679d 4070003f
Loading
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
nsd:
  nsd:
    - description: Simple NS with a single VNF and a single VL
      df:
        - id: default-df
          vnf-profile:
            - id: vnf
              virtual-link-connectivity:
                - constituent-cpd-id:
                    - constituent-base-element-id: vnf
                      constituent-cpd-id: vnf-cp0-ext
                  virtual-link-profile-id: mgmtnet
                - constituent-cpd-id:
                    - constituent-base-element-id: vnf
                      constituent-cpd-id: vnf-cp1-ext
                  virtual-link-profile-id: mgmtnet
              vnfd-id: multivdu_multiattach-vnf
      id: multivdu_multiattach-ns
      name: multivdu_multiattach-ns
      version: 1
      virtual-link-desc:
        - id: mgmtnet
          mgmt-network: true
      vnfd-id:
        - multivdu_multiattach-vnf
 No newline at end of file
+54.6 KiB
Loading image diff...
+100 −0
Original line number Diff line number Diff line
vnfd:
  description: A VNF consisting of 2 VDUs sharing a volume
  df:
  - id: default-df
    instantiation-level:
    - id: default-instantiation-level
      vdu-level:
      - number-of-instances: 1
        vdu-id: mgmtVM
      - number-of-instances: 1
        vdu-id: dataVM  
    vdu-profile:
    - id: mgmtVM
      min-number-of-instances: 1
    - id: dataVM
      min-number-of-instances: 1
  ext-cpd:
  - id: vnf-cp0-ext
    int-cpd:
      cpd: vdu-eth0-int
      vdu-id: mgmtVM
  - id: vnf-cp1-ext
    int-cpd:
      cpd: vdu-eth0-int
      vdu-id: dataVM
  id: multivdu_multiattach-vnf
  mgmt-cp: vnf-cp0-ext
  product-name: multivdu_multiattach-vnf
  sw-image-desc:
  - id: ubuntu22.04
    name: ubuntu22.04
    image: ubuntu22.04
  - id: ubuntu22.04-aws
    name: ubuntu22.04-aws
    image: ubuntu/images/hvm-ssd/ubuntu-artful-17.10-amd64-server-20180509
    vim-type: aws
  - id: ubuntu22.04-azure
    name: ubuntu22.04-azure
    image: Canonical:UbuntuServer:18.04-LTS:latest
    vim-type: azure
  - id: ubuntu22.04-gcp
    name: ubuntu22.04-gcp
    image: ubuntu-os-cloud:image-family:ubuntu-1804-lts
    vim-type: gcp
  vdu:
  - id: mgmtVM
    name: mgmtVM
    sw-image-desc: ubuntu22.04
    alternative-sw-image-desc:
    - ubuntu22.04-aws
    - ubuntu22.04-azure
    - ubuntu22.04-gcp
    virtual-compute-desc: multivdu-compute
    virtual-storage-desc:
    - root-volume        
    - shared
    int-cpd:
    - id: vdu-eth0-int
      virtual-network-interface-requirement:
      - name: vdu-eth0
        virtual-interface:
          type: PARAVIRT
  - cloud-init: |
        #cloud-config
        password: osmpass
        chpasswd: { expire: False }
        ssh_pwauth: True 
    id: dataVM
    name: dataVM
    sw-image-desc: ubuntu22.04
    alternative-sw-image-desc:
    - ubuntu22.04-aws
    - ubuntu22.04-azure
    - ubuntu22.04-gcp
    virtual-compute-desc: multivdu-compute
    virtual-storage-desc:
    - root-volume
    - shared
    int-cpd:
    - id: vdu-eth0-int
      virtual-network-interface-requirement:
      - name: vdu-eth0
        virtual-interface:
          type: PARAVIRT        
  version: 1.0
  virtual-compute-desc:
  - id: multivdu-compute
    virtual-cpu:
      num-virtual-cpu: 1
    virtual-memory:
      size: 1.0
  virtual-storage-desc:
  - id: root-volume
    size-of-storage: 5
  - id: shared
    type-of-storage: persistent-storage
    size-of-storage: 10
    vdu-storage-requirements:
    - key: multiattach
      value: true