示例#1
0
    def set(cli_opts, node, prefix):  # noqa: B902
        """ Set/Update prefix allocation for a certain node """

        kvstore.AllocationsCmd(cli_opts).run_set(node, prefix)
示例#2
0
    def unset(cli_opts, node):  # noqa: B902
        """ Unset prefix allocation for a certain node """

        kvstore.AllocationsCmd(cli_opts).run_unset(node)
示例#3
0
    def list(cli_opts):  # noqa: B902
        """ View static allocations set in KvStore """

        kvstore.AllocationsCmd(cli_opts).run_list()