.
ctys-attribute - Manage attributes of plugins, VMs, and PMs.
ctys-attribute
[--attribute-create[=<position>]] [--attribute-delete[=<occurance>]] [--attribute-replace[=<occurance>]] ( [ --attribute-keyonly --attribute-name=<attr-name>] | ( [ --attribute-name=<attr-name> --attribute-value-new=<attr-val-list>] | [ --attribute-name=<attr-name> --attribute-value-new=<attr-val-list> --attribute-value-old=<attr-val-list> ] ) ) [-d <debug-level>] [-h] [-H <help-options>] [--list] [-t <session-type>] [-V] [-X] <file-name-list> <attr-val-list>:=<attr-val>[%<attr-val-list>] <file-name-list>:=<file-name>[ <file-name-list>] <occurance>:=( first|last|all #nr ) #nr=1-9999999 default:=first <position>:=( top|bottom #line ) #line=1-9999999 default:=top
ATTENTION: This document is under development, therefore just a temporary pre-release, which may change in future versions. The software is alpha-release.
ctys-attribute provides the management of runtime attributes for dynamic and persistent plugins, VMs, and PMs. The attributes of the persistent data are utilized for the handling of machine information for selection, inventory management, and execution.
The current version supports offline-modification only. The cacheDB has to be updated either by new automated scan or by manual modification. Both may be extended in new versions.
The file is either scanned for specific attributes, or just a new attribute value assignment is inserted. Therefore various types of attribute syntaxes from the various supported namespaces are recognized. The following namespaces are currently supported:
Namespace | Syntax | VM-Config | Applicable Tools |
---|---|---|---|
ctys-configuration | ctys | '#@#'-prefixes | ctys-attribute, ctys-groups, |
ctys-macros, ctys-scripts, | |||
Text-Editor | |||
QEMU/KVM | ctys | '#@#'-prefixes | ctys-attribute, Text-Editor |
shell | bash | variables | ctys-attribute, Text-Editor |
VirtualBox conf-files+repository 1.) | VBoxManage,XML | call parameters | ctys-attribute, Text-Editor, |
VBoxManage, VirtualBox-GUI | |||
VMware conf-files+repository 2.) | vmx | keywords | ctys-attribute, Text-Editor, |
Vmware-GUI | |||
Xen conf-files | Python | variables | ctys-attribute, Text-Editor |
Supported Attribute Namespaces |
---|
1.) | Not all keywords are supported yet. |
Native OEM tools are required in addition. | |
2.) | The repository is not supported yet. |
Native OEM tools are required in addition. |
.
ctys-attribute
Create a new entry, this is done without recognition of presence.
For sequential scan the position could be provided for order-priority.
Delete an entry, for sequential scan the position could be provided for order-priority.
The name of the attribute to be modified.
The list of new attributes to be set.
The list of old attributes to be replaced.
Missing attributes are ignored.
Same as ctys.
Directory for storage of created configuration files.
Print help, refer to "-H" for additional information.
The extended help option is based on system interfaces for display of manpages, PDF and HTML documents. This comprises the man pages and installed manuals.
For additional help refer to the documents or type ctys -H help.
The list of present attributes.
The session type the VM has to be created for.
Currently
QEMU
(for QEMU and KVM on x86),
VMW
,
VBOX
, and
XEN
are supported.
Each defines a common set of parameters with additional specific variations.
Version.
Terse.
.
<file-name-list> : List of files to be modified.
.
ctys-attribute --list tst01.conf
ctys-attribute --list tst01.ctys
ctys-attribute \ --attribute-name='kernelbase' \ --attribute-replace=ALL \ --attribute-value-new="'/nboot1'" \ tst01.conf
ctys-attribute \ --attribute-name='kernelbase' \ --attribute-replace=ALL \ --attribute-value-new="'/nboot1'" \ --attribute-value-old="'/boot'" \ tst01.conf
ctys-attribute \ --attribute-name='kernelbase' \ --attribute-replace=FIRST \ --attribute-value-new="'/nboot1'" \ --attribute-value-old="'/boot'" \ tst01.conf
ctys-attribute \ --attribute-name='kernelbase' \ --attribute-replace=LAST \ --attribute-value-new="'/nboot1'" \ --attribute-value-old="'/boot'" \ tst01.conf
ctys-attribute \ --attribute-name='kernelbase' \ --attribute-replace=2 \ --attribute-value-new="'/nboot1'" \ --attribute-value-old="'/boot'" \ tst01.conf
ctys-attribute \ --attribute-name='WRAPPERCALL' \ --attribute-replace=ALL \ --attribute-value-new="'123'" \ tst01.ctys
ctys-attribute \ --attribute-create=TOP \ --attribute-name='NEWATTR' \ --attribute-value-new="'123'" \ tst01.ctys
ctys-attribute \ --attribute-create=BOTTOM \ --attribute-name='NEWATTR' \ --attribute-value-new="'123'" \ tst01.ctys
ctys-attribute \ --attribute-create=15 \ --attribute-name='NEWATTR' \ --attribute-value-new="'123'" \ tst01.ctys
ctys-attribute \ --attribute-delete \ --attribute-name='NEWATTR' \ tst01.ctys
or
ctys-attribute \ --attribute-delete=1 \ --attribute-name='NEWATTR' \ tst01.ctys
ctys-attribute \ --attribute-delete=ALL \ --attribute-name='NEWATTR' \ tst01.ctys
.
Written and maintained by Arno-Can Uestuensoez:
Maintenance: | <<acue_sf1 (a) users sourceforge net>> |
Homepage: | <https://arnocan.wordpress.com> |
Sourceforge.net: | <http://sourceforge.net/projects/ctys> |
Project moved from Berlios.de to OSDN.net: | <https://osdn.net/projects/ctys> |
Commercial: | <https://arnocan.wordpress.com> |
Copyright (C) 2008, 2009, 2010, 2011 Ingenieurbuero Arno-Can Uestuensoez
For BASE package following licenses apply,
This document is part of the DOC package,
For additional information refer to enclosed Releasenotes and License files.