This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| from __future__ import print_function | |
| import argparse | |
| import hpilo | |
| from ironicclient import client | |
| import os | |
| import sys | |
| def get_ilo_connection(hostname, username, password): | |
| return hpilo.Ilo(hostname, username, password) |