'property for the prepared router'

@property
def prepared_router(self):

    if (self.__prepared_router is None):
        results = self._prepare_router()
        if ((not results) or (('returncode' in results) and (results['returncode'] != 0))):
            if ('stderr' in results):
                raise RouterException(('Could    not    perform    router    preparation:    %s' % results['stderr']))
            raise RouterException('Could    not    perform    router    preparation.')
        self.__prepared_router = results
    return self.__prepared_router
