def run(self):
        if self.opts['gen_keys']:
            self.key.gen_keys()
            return
        elif self.opts['gen_signature']:
            self.prep_signature()
            return
        if self.opts['list']:
            self.list_status(self.opts['list'])
        elif self.opts['list_all']:
            self.list_all()
        elif self.opts['print']:
            self.print_key(self.opts['print'])
        elif self.opts['print_all']:
            self.print_all()
        elif self.opts['accept']:
            self.accept(
                self.opts['accept'],
                include_rejected=self.opts['include_all'] or self.opts['include_rejected'],
                include_denied=self.opts['include_denied']
            )
        elif self.opts['accept_all']:
            self.accept_all(
                include_rejected=self.opts['include_all'] or self.opts['include_rejected'],
                include_denied=self.opts['include_denied']
            )
        elif self.opts['reject']:
            self.reject(
                self.opts['reject'],
                include_accepted=self.opts['include_all'] or self.opts['include_accepted'],
                include_denied=self.opts['include_denied']
            )
        elif self.opts['reject_all']:
            self.reject_all(
                include_accepted=self.opts['include_all'] or self.opts['include_accepted'],
                include_denied=self.opts['include_denied']
            )
        elif self.opts['delete']:
            self.delete(self.opts['delete'])
        elif self.opts['delete_all']:
            self.delete_all()
        elif self.opts['finger']:
            self.finger(self.opts['finger'])
        elif self.opts['finger_all']:
            self.finger_all()
        else:
            self.list_all()
The value of a Node can be set with the .value property
dataset/ETHPy150Open saltstack/salt/salt/key.py/KeyCLI.run--crossover with--dataset/ETHPy150Open akaihola/lusmu/lusmu/tests/test_core.py/NodeTestCase.test_value_property_getter