@defer.inlineCallbacks
    def load(self, arg, opts):
        r = yield self.pb['smppcm'].perspective_load(opts.profile)

        if r:
            self.protocol.sendData(
                '%s configuration loaded (profile:%s)' % (self.managerName, opts.profile), prompt=False)
        else:
            self.protocol.sendData(
                'Failed to load %s configuration (profile:%s)' % (
                    self.managerName, opts.profile), prompt=False)
dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/cli/smppccm.py/SmppCCManager.load/original