#!/usr/bin/env python
import argparse

import libvirt_setup


def main():
    parser = argparse.ArgumentParser(description="Cleanup libvirt resources.")
    parser.add_argument("cloud", help="Name of the Cloud")
    parser.add_argument("nodenumber", type=int, help="Number of Nodes")
    parser.add_argument("cloudbr", help="Name of the Virtual Bridge")
    parser.add_argument("vlan_public", help="ID of the Public VLAN")
    parser.add_argument("ironicbr", help="Name of the Ironic Bridge")
    args = parser.parse_args()

    libvirt_setup.cleanup(args)


if __name__ == "__main__":
    main()
