25 lines
931 B
Python
25 lines
931 B
Python
from servicebase import ServiceBase
|
|
|
|
class ServiceDelegate(ServiceBase) :
|
|
|
|
def get_arguments() :
|
|
"""Returns an array of information used to construct an argumentparser argument."""
|
|
# [ <short flag>,<unix flag>,<arg type>,<description> ]
|
|
# Example return: [ '-n', '--net', 'store_true', "Return network information about the subject" ]
|
|
return ['-n', '--net', 'store_true', "Return network information about the subject"]
|
|
|
|
def get_bc_auth_header(host,username,password) :
|
|
"""Given authentication information, return the authenticated header for use in REST requests to a bluecat device."""
|
|
pass
|
|
|
|
def get_bc_parent_object_id(bc_id) :
|
|
"""Given a Bluecat Object ID, return the Object ID of the parent."""
|
|
pass
|
|
|
|
def get_bc_onject_name(bc_id) :
|
|
"""Given a Bluecat Object ID, return the name of the object."""
|
|
pass
|
|
def host_to_ip(hostname) :
|
|
"""Given a hostname, return the IP address of the hostname."""
|
|
pass
|