ó oBú]c@s±ddlZddlZddlmZddlmZddlmZddlmZeje ƒZ dej fd„ƒYZ d„Z e ejejffgZd „ZdS( iÿÿÿÿN(tlog(tsources(t url_helper(tutiltDataSourceBigstepcBs,eZdZd„Zed„Zd„ZRS(tBigstepcCs8tjj||||ƒi|_d|_d|_dS(Nt(Rt DataSourcet__init__tmetadatatvendordata_rawt userdata_raw(tselftsys_cfgtdistrotpaths((sG/usr/lib/python2.7/site-packages/cloudinit/sources/DataSourceBigstep.pyRs  cCsktƒ}|dkrtStj|ƒ}tj|jjƒƒ}|d|_ |d|_ |d|_ t S(NR R R ( tget_url_from_filetNonetFalseRtreadurltjsontloadstcontentstdecodeR R R tTrue(R t apply_filterturltresponsetdecoded((sG/usr/lib/python2.7/site-packages/cloudinit/sources/DataSourceBigstep.pyt _get_datas     cCs dtƒS(s/Return the subplatform metadata source details.s metadata (%s)(R(R ((sG/usr/lib/python2.7/site-packages/cloudinit/sources/DataSourceBigstep.pyt_get_subplatform's(t__name__t __module__tdsnameRRRR(((sG/usr/lib/python2.7/site-packages/cloudinit/sources/DataSourceBigstep.pyRs  cCsFytjdƒ}Wn,tk rA}|jtjkr;dS‚nX|S(Ns$/var/lib/cloud/data/seed/bigstep/url(Rt load_filetIOErrorterrnotENOENTR(tcontentte((sG/usr/lib/python2.7/site-packages/cloudinit/sources/DataSourceBigstep.pyR,scCstj|tƒS(N(Rtlist_from_dependst datasources(tdepends((sG/usr/lib/python2.7/site-packages/cloudinit/sources/DataSourceBigstep.pytget_datasource_list@s(R$Rt cloudinitRtloggingRRRt getLoggerRtLOGRRRtDEP_FILESYSTEMt DEP_NETWORKR)R+(((sG/usr/lib/python2.7/site-packages/cloudinit/sources/DataSourceBigstep.pyts