Current Path : /usr/lib/python2.7/dist-packages/landscape/broker/ |
Current File : //usr/lib/python2.7/dist-packages/landscape/broker/registration.pyc |
ó ÍÿŠTc @ sæ d Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z m Z d d l m Z d e f d „ ƒ YZ d „ Z d „ Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d S( sÍ Handle client registration against the server. When the service is started for the first time it connects to the server as a new client without providing any identification credentials, and the server replies with the available registration mechanisms. At this point the machinery in this module will notice that we have no identification credentials yet and that the server accepts registration messages, so it will craft an appropriate one and send it out. iÿÿÿÿN( t Deferred( t get_juju_info( t is_valid_tag_list( t get_fqdn( t get_vm_infot get_container_info( t is_version_highert InvalidCredentialsErrorc B s e Z d Z RS( sx Raised when an invalid account title and/or registration key is used with L{RegistrationManager.register}. ( t __name__t __module__t __doc__( ( ( sA /usr/lib/python2.7/dist-packages/landscape/broker/registration.pyR s c s+ ‡ f d † } ‡ f d † } t | | ƒ S( Nc s | j j ˆ ƒ S( N( t _persistt get( t self( t name( sA /usr/lib/python2.7/dist-packages/landscape/broker/registration.pyR s c s | j j ˆ | ƒ d S( N( R t set( R t value( R ( sA /usr/lib/python2.7/dist-packages/landscape/broker/registration.pyR "