Revision 7322bf7b man/gnt-node.rst
b/man/gnt-node.rst | ||
---|---|---|
78 | 78 |
# gnt-node add -g group2 -s 192.0.2.9 node9.group2.example.com |
79 | 79 |
|
80 | 80 |
|
81 |
ADD-TAGS |
|
82 |
~~~~~~~~ |
|
83 |
|
|
84 |
**add-tags** [\--from *file*] {*nodename*} {*tag*...} |
|
85 |
|
|
86 |
Add tags to the given node. If any of the tags contains invalid |
|
87 |
characters, the entire operation will abort. |
|
88 |
|
|
89 |
If the ``--from`` option is given, the list of tags will be |
|
90 |
extended with the contents of that file (each line becomes a tag). |
|
91 |
In this case, there is not need to pass tags on the command line |
|
92 |
(if you do, both sources will be used). A file name of - will be |
|
93 |
interpreted as stdin. |
|
94 |
|
|
95 | 81 |
EVACUATE |
96 | 82 |
~~~~~~~~ |
97 | 83 |
|
... | ... | |
274 | 260 |
Lists available fields for nodes. |
275 | 261 |
|
276 | 262 |
|
277 |
LIST-TAGS |
|
278 |
~~~~~~~~~ |
|
279 |
|
|
280 |
**list-tags** {*nodename*} |
|
281 |
|
|
282 |
List the tags of the given node. |
|
283 |
|
|
284 | 263 |
MIGRATE |
285 | 264 |
~~~~~~~ |
286 | 265 |
|
... | ... | |
372 | 351 |
# gnt-node remove node5.example.com |
373 | 352 |
|
374 | 353 |
|
375 |
REMOVE-TAGS |
|
376 |
~~~~~~~~~~~ |
|
377 |
|
|
378 |
**remove-tags** [\--from *file*] {*nodename*} {*tag*...} |
|
379 |
|
|
380 |
Remove tags from the given node. If any of the tags are not |
|
381 |
existing on the node, the entire operation will abort. |
|
382 |
|
|
383 |
If the ``--from`` option is given, the list of tags to be removed will |
|
384 |
be extended with the contents of that file (each line becomes a tag). |
|
385 |
In this case, there is not need to pass tags on the command line (if |
|
386 |
you do, tags from both sources will be removed). A file name of - will |
|
387 |
be interpreted as stdin. |
|
388 |
|
|
389 | 354 |
VOLUMES |
390 | 355 |
~~~~~~~ |
391 | 356 |
|
... | ... | |
645 | 610 |
output lines. ``--sync`` forces the opcode to acquire the node lock(s) |
646 | 611 |
in exclusive mode. |
647 | 612 |
|
613 |
Tags |
|
614 |
~~~~ |
|
615 |
|
|
616 |
ADD-TAGS |
|
617 |
^^^^^^^^ |
|
618 |
|
|
619 |
**add-tags** [\--from *file*] {*nodename*} {*tag*...} |
|
620 |
|
|
621 |
Add tags to the given node. If any of the tags contains invalid |
|
622 |
characters, the entire operation will abort. |
|
623 |
|
|
624 |
If the ``--from`` option is given, the list of tags will be |
|
625 |
extended with the contents of that file (each line becomes a tag). |
|
626 |
In this case, there is not need to pass tags on the command line |
|
627 |
(if you do, both sources will be used). A file name of - will be |
|
628 |
interpreted as stdin. |
|
629 |
|
|
630 |
LIST-TAGS |
|
631 |
^^^^^^^^^ |
|
632 |
|
|
633 |
**list-tags** {*nodename*} |
|
634 |
|
|
635 |
List the tags of the given node. |
|
636 |
|
|
637 |
REMOVE-TAGS |
|
638 |
^^^^^^^^^^^ |
|
639 |
|
|
640 |
**remove-tags** [\--from *file*] {*nodename*} {*tag*...} |
|
641 |
|
|
642 |
Remove tags from the given node. If any of the tags are not |
|
643 |
existing on the node, the entire operation will abort. |
|
644 |
|
|
645 |
If the ``--from`` option is given, the list of tags to be removed will |
|
646 |
be extended with the contents of that file (each line becomes a tag). |
|
647 |
In this case, there is not need to pass tags on the command line (if |
|
648 |
you do, tags from both sources will be removed). A file name of - will |
|
649 |
be interpreted as stdin. |
|
650 |
|
|
648 | 651 |
.. vim: set textwidth=72 : |
649 | 652 |
.. Local Variables: |
650 | 653 |
.. mode: rst |
Also available in: Unified diff