????

Your IP : 216.73.216.152


Current Path : /proc/self/root/proc/self/root/lib/python2.7/site-packages/sos/plugins/
Upload File :
Current File : //proc/self/root/proc/self/root/lib/python2.7/site-packages/sos/plugins/maas.pyc

�
Dr^c@s3ddlmZmZdeefd��YZdS(i����(tPlugintUbuntuPlugintMaascBsJeZdZdZdZdZdddgZd�Zd�Zd
�Z	RS(sUbuntu Metal-As-A-Service
    tmaastsysmgmtsmaas-commonsprofile-names7The name with which you will later refer to this remotetturlsThe URL of the remote APItcredentialss*The credentials, also known as the API keycCs+|jd�o*|jd�o*|jd�S(NRRsprofile-name(t
get_option(tself((s4/usr/lib/python2.7/site-packages/sos/plugins/maas.pyt_has_login_optionsscCsE|jd|jd�|jd�|jd�f�}|ddkS(Nsmaas login %s %s %ssprofile-nameRRtstatusi(t
call_ext_progR(R	tret((s4/usr/lib/python2.7/site-packages/sos/plugins/maas.pyt_remote_api_login"s
	cCs�|jddddddg�|jddg�|jd	�rT|jd
g�n|j�r�|j�r�|jd|jd��q�|jd
�ndS(Ns/etc/squid-deb-proxys	/etc/maass/var/lib/maas/dhcp*s/var/log/apache2*s/var/log/maas*s/var/log/upstart/maas-*sapt-cache policy maas-*s apt-cache policy python-django-*smaas-region-controllersmaas-region-admin dumpdatas"maas %s commissioning-results listsprofile-names6Cannot login into MAAS remote API with provided creds.(t
add_copy_spectadd_cmd_outputtis_installedR
RRt
_log_error(R	((s4/usr/lib/python2.7/site-packages/sos/plugins/maas.pytsetup*s&


	(R(Rsmaas-common(sprofile-names7The name with which you will later refer to this remoteRR(surlsThe URL of the remote APIRR(scredentialss*The credentials, also known as the API keyRR(
t__name__t
__module__t__doc__tplugin_nametprofilestpackagestoption_listR
RR(((s4/usr/lib/python2.7/site-packages/sos/plugins/maas.pyRs			N(tsos.pluginsRRR(((s4/usr/lib/python2.7/site-packages/sos/plugins/maas.pyt<module>s