def persist(self, arg, opts):
        if self.pb['router'].perspective_persist(opts.profile, 'groups'):
            self.protocol.sendData(
                '%s configuration persisted (profile:%s)' % (self.managerName, opts.profile), prompt=False)
        else:
            self.protocol.sendData(
                'Failed to persist %s configuration (profile:%s)' % (self.managerName, opts.profile),
                prompt=False)
dataset/ETHPy150Open jookies/jasmin/jasmin/protocols/cli/groupsm.py/GroupsManager.persist/original