Commit 99c97e43 authored by aticig's avatar aticig
Browse files

Adding VNFD for Basic_28 keeping persistent volume feature

parent 70749df6
Loading
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
nsd:
  nsd:
  - description: NS with 1 VNFs connected to mgmtnet VL
    df:
    - id: default-df
      vnf-profile:
      - id: vnf-persistent-volumes
        virtual-link-connectivity:
        - constituent-cpd-id:
          - constituent-base-element-id: vnf-persistent-volumes
            constituent-cpd-id: vnf-mgmt-ext
          virtual-link-profile-id: mgmtnet
        vnfd-id: keep_persistent-volumes-vnf
    id: persistent_volumes-ns
    name: persistent_volumes-ns
    version: 1.0
    virtual-link-desc:
    - id: mgmtnet
      mgmt-network: true
    vnfd-id:
    - keep_persistent-volumes-vnf
+5 −0
Original line number Diff line number Diff line
#cloud-config
password: osm4u
chpasswd: { expire: False }
ssh_pwauth: True
+54.6 KiB
Loading image diff...
+73 −0
Original line number Diff line number Diff line
vnfd:
  description: A basic VNF descriptor w/ one VDU and several volumes, keeping persistent volume
  df:
  - id: default-df
    instantiation-level:
    - id: default-instantiation-level
      vdu-level:
      - number-of-instances: 1
        vdu-id: keep-persistent-vol-VM
    vdu-profile:
    - id: keep-persistent-vol-VM
      min-number-of-instances: 1
  ext-cpd:
  - id: vnf-mgmt-ext
    int-cpd:
      cpd: vdu-eth0-int
      vdu-id: keep-persistent-vol-VM
  id: keep_persistent-volumes-vnf
  mgmt-cp: vnf-mgmt-ext
  product-name: keep_persistent-volumes-vnf
  sw-image-desc:
  - id: ubuntu20.04
    name: ubuntu20.04
    image: ubuntu20.04
  - id: ubuntu20.04-aws
    name: ubuntu20.04-aws
    image: ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20210503
    vim-type: aws
  - id: ubuntu20.04-azure
    name: ubuntu20.04-azure
    image: Canonical:0001-com-ubuntu-server-focal:20_04-lts:latest
    vim-type: azure
  vdu:
  - id: keep-persistent-vol-VM
    name: keep-persistent-vol-VM
    sw-image-desc: ubuntu20.04
    alternative-sw-image-desc:
    - ubuntu20.04-aws
    - ubuntu20.04-azure
    virtual-compute-desc: keep-persistent-vol-VM-compute
    virtual-storage-desc:
    - root-volume
    - persistent-volume
    - ephemeral-volume
    int-cpd:
    - id: vdu-eth0-int
      virtual-network-interface-requirement:
      - name: vdu-eth0
        virtual-interface:
          type: PARAVIRT
  version: 1.0
  virtual-compute-desc:
  - id: keep-persistent-vol-VM-compute
    virtual-cpu:
      num-virtual-cpu: 1
    virtual-memory:
      size: 1.0
  virtual-storage-desc:
  - id: root-volume
    type-of-storage: persistent-storage
    size-of-storage: 10
    vdu-storage-requirements:
      - key: keep-volume
        value: 'true'
  - id: persistent-volume
    type-of-storage: persistent-storage
    size-of-storage: 1
    vdu-storage-requirements:
      - key: keep-volume
        value: 'true'
  - id: ephemeral-volume
    type-of-storage: ephemeral-storage
    size-of-storage: 2