---
libvirt-new:
  topology:
    topology_name: libvirt-new
    resource_groups:
      - resource_group_name: libvirt-new
        resource_group_type: libvirt
        resource_definitions:
          - role: libvirt_node
            name: centos71
            uri: qemu:///system
            count: 1
            image_src: http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-1608.qcow2.xz
            memory: 2048
            vcpus: 1
            arch: x86_64
            ssh_key: libvirt
            networks:
              - name: default
            additional_storage: 10G
            cloud_config:
              users:
                - name: herlo
                  gecos: Clint Savage
                  groups: wheel
                  sudo: ALL=(ALL) NOPASSWD:ALL
                  ssh-import-id: gh:herlo
                  lock_passwd: true
  layout:
    inventory_layout:
      vars:
        hostname: __IP__
      hosts:
        example-node:
          count: 1
          host_groups:
            - example
    
libvirt-network:
  topology:
    topology_name: "libvirt_network"
    resource_groups:
      - resource_group_name: "libvirt_network"
        resource_group_type: "libvirt"
        resource_definitions:
          - name: linchpin-centos74
            role: libvirt_network
            uri: qemu:///system
            ip: 192.168.74.100
            dhcp_start: 192.168.74.101
            dhcp_end: 192.168.74.112
            domain: linchpin.net

