nscharm_policy_vnfd.yaml 2.43 KiB
Newer Older
vnfd:
  description: A VNF consisting of 2 VDUs w/proxy charm
  df:
  - id: default-df
    instantiation-level:
    - id: default-instantiation-level
      vdu-level:
      - number-of-instances: 1
        vdu-id: policyVM
    vdu-profile:
    - id: policyVM
      min-number-of-instances: 1
    lcm-operations-configuration:
      operate-vnf-op-config:
        day1-2:
        - id: policyVM
          execution-environment-list:
          - id: vnf-policy-ee
            juju:
              charm: vnf-policy
              proxy: true
          initial-config-primitive:
          - name: config
            execution-environment-ref: vnf-policy-ee
            parameter:
            - name: ssh-hostname
              value: <rw_mgmt_ip>
            - name: ssh-username
              value: ubuntu
            - name: ssh-password
              value: osm4u
            seq: '1'
  ext-cpd:
  - id: vnf-mgmt-ext
    int-cpd:
      cpd: policyVM-eth0-int
      vdu-id: policyVM
  id: nscharm-policy-vnf
  int-virtual-link-desc:
  - id: internal
  mgmt-cp: vnf-mgmt-ext
  product-name: nscharm-policy-vnf
  sw-image-desc:
  - id: ubuntu1804
    image: ubuntu18.04
    name: ubuntu18.04
  - id: ubuntu18.04-aws
    name: ubuntu18.04-aws
    image: ubuntu/images/hvm-ssd/ubuntu-artful-17.10-amd64-server-20180509
    vim-type: aws
  - id: ubuntu18.04-azure
    name: ubuntu18.04-azure
    image: Canonical:UbuntuServer:18.04-LTS:latest
Ubuntu's avatar
Ubuntu committed
  - id: ubuntu18.04-gcp
    name: ubuntu18.04-gcp
    image: ubuntu-os-cloud:image-family:ubuntu-1804-lts
    vim-type: gcp
  vdu:
  - cloud-init-file: cloud-config.txt
    id: policyVM
    int-cpd:
    - id: policyVM-eth0-int
      virtual-network-interface-requirement:
      - name: policyVM-eth0
        position: 1
        virtual-interface:
          type: VIRTIO
    - id: policyVM-eth1-int
      int-virtual-link-desc: internal
      virtual-network-interface-requirement:
      - name: policyVM-eth1
        position: 2
        virtual-interface:
          type: VIRTIO
    name: policyVM
    sw-image-desc: ubuntu1804
    alternative-sw-image-desc:
    - ubuntu18.04-aws
    - ubuntu18.04-azure
Ubuntu's avatar
Ubuntu committed
    - ubuntu18.04-gcp
    virtual-compute-desc: policyVM-compute
    virtual-storage-desc:
    - policyVM-storage
  version: '1.0'
  virtual-compute-desc:
  - id: policyVM-compute
    virtual-cpu:
      num-virtual-cpu: 1
    virtual-memory:
      size: 1.0
  virtual-storage-desc:
  - id: policyVM-storage
    size-of-storage: 10