On this page...

Example SDF

---
site-params: &site-params
  timezone: Europe/London
  deployment-id: sample
  fixed-ips: true
  networking:
    subnets:
      - cidr: 172.16.0.0/24
        name: mgmt-subnet
        network-name: mgmt-network
        default-gateway: 172.16.0.1
        dns-servers:
          - 2.3.4.5
          - 3.4.5.6
      - cidr: 173.16.0.0/24
        name: signaling-subnet
        network-name: signaling-network
        default-gateway: 173.16.0.1
      - cidr: 174.16.0.0/24
        name: access-subnet
        network-name: access-network
        default-gateway: 174.16.0.1
      - cidr: 175.16.0.0/24
        name: cluster-subnet
        network-name: cluster-network
        default-gateway: 175.16.0.1
  services:
    ntp-servers:
      - 1.2.3.4
      - 1.2.3.5

msw-deployment:deployment:
  sites:
    - name: DC1
      site-parameters:
        <<: *site-params
        vim-configuration:
          type: vmware
          vmware:
            connection:
              server: 172.18.12.228
              username: VSPHERE.LOCAL\cloudify
              password: cloudify
              allow-insecure: true
            datacenter: Automation
      vnfcs:
        - name: mytestshcm
          type: msw-vnf-rvt:shcm
          image: SHCM-template
          cluster-configuration:
            count: 2
            instances:
              - name: shcm-1
                node-vim-options:
                  resource-pool-name: Resources
                  datastore: "data:storage1"
                  host: "esxi.hostname"
              - name: shcm-2
                node-vim-options:
                  resource-pool-name: Resources
                  datastore: "data:storage1"
                  host: "esxi.hostname"
          vnfc-vmware-options:
            deployment-size: lab
          networks:
            - name: management
              subnet: mgmt-subnet
              ip-addresses:
                - 172.16.0.8
                - 172.16.0.9
            - name: signaling
              subnet: signaling-subnet
              ip-addresses:
                - 173.16.0.8
                - 173.16.0.9
          product-options:
            rvt:
              cds-addresses:
                - 1.2.3.4
              ssh-authorized-keys:
                - ssh-rsa XXXXXXXXXXXXXXXXXXXX
Previous page Next page