bifrost/playbooks/roles/bifrost-test-dhcp/README.md
Yolanda Robla a93a1e6b61 Add script and playbook to test dhcp
It will run a play where it will spin up five vms, and will
truncate inventory to consider only three. The play will
configure dns using dynamic inventory, and will take an
extra parameter to specify if we want static ips or not.
It will perform a test on dnsmasq leases file, to ensure that
the dhcp behaviour is working as expected, depending on
the settings.

Change-Id: If56488f78524ceba201b50f76df306620744cda5
2016-03-01 13:45:26 +01:00

1.2 KiB

bifrost-test-dhcp

Perform checks on dnsmasq generated files to ensure that it behaves as expected on bifrost.

Requirements

None at this time. See Dependencies.

Role Variables

None at this time. See Dependencies.

Dependencies

This role is intended to be executed as part of bifrost, as part of bifrost-test-dhcp scripts.

Example Playbook

hosts: localhost name: "Tests DCHP settings" become: no gather_facts: yes remote_user: root roles: - role: bifrost-test-dhcp

License

Copyright (c) 2016 Hewlett-Packard Enterprise Development Company LP

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Author Information

Infra-cloud Developers