3 À<×e¯ã@sddljZGdd„deƒZdS)éNc@säeZdZdZdd„Zedd„ƒZedd„ƒZedd „ƒZej d d „ƒZed d „ƒZ ed d„ƒZ edd„ƒZ edd„ƒZ edd„ƒZedd„ƒZedd„ƒZedd„ƒZedd„ƒZdd„Zdd „Zd!d"„Zejfd#d$„Zd%d&„Zd'S)(ÚInstancez cCsP||_||_||_||_||_||_||_d|_d|_d|_ t ƒ|_ t ƒ|_ dS)NTF) Ú_pluginÚ_nameÚ_devices_expressionÚ_devices_udev_regexÚ _script_preÚ _script_postÚ_optionsÚ_activeÚ_has_static_tuningÚ_has_dynamic_tuningÚsetÚ_assigned_devicesÚ_processed_devices)ÚselfÚpluginÚnameÚdevices_expressionÚdevices_udev_regexÚ script_preÚ script_postÚoptions©rú/usr/lib/python3.6/instance.pyÚ__init__szInstance.__init__cCs|jS)N)r)rrrrrszInstance.plugincCs|jS)N)r)rrrrrsz Instance.namecCs|jS)z>The instance performs some tuning (otherwise it is suspended).)r )rrrrÚactive szInstance.activecCs ||_dS)N)r )rÚvaluerrrr%scCs|jS)N)r)rrrrr)szInstance.devices_expressioncCs|jS)N)r)rrrrÚassigned_devices-szInstance.assigned_devicescCs|jS)N)r)rrrrÚprocessed_devices1szInstance.processed_devicescCs|jS)N)r)rrrrr5szInstance.devices_udev_regexcCs|jS)N)r)rrrrr9szInstance.script_precCs|jS)N)r)rrrrr=szInstance.script_postcCs|jS)N)r )rrrrrAszInstance.optionscCs|jS)N)r )rrrrÚhas_static_tuningEszInstance.has_static_tuningcCs|jS)N)r )rrrrÚhas_dynamic_tuningIszInstance.has_dynamic_tuningcCs|jj|ƒdS)N)rZinstance_apply_tuning)rrrrÚ apply_tuningOszInstance.apply_tuningcCs|jj||ƒS)N)rZinstance_verify_tuning)rZignore_missingrrrÚ verify_tuningRszInstance.verify_tuningcCs|jj|ƒdS)N)rZinstance_update_tuning)rrrrÚ update_tuningUszInstance.update_tuningcCs|jj||ƒdS)N)rZinstance_unapply_tuning)rZrollbackrrrÚunapply_tuningXszInstance.unapply_tuningcCs|jƒ|jj|ƒdS)N)r$rZdestroy_instance)rrrrÚdestroy[szInstance.destroyN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrrrÚsetterrrrrrrrrr r!r"r#ÚconstsZ ROLLBACK_SOFTr$r%rrrrrs(            r)Z tuned.constsr,ÚobjectrrrrrÚs