general_settings
This job changes EXAConf file settings that do not need a parent job.
Mandatory parameters
Parameter name | Data type | Description |
---|---|---|
changes | dict | Change all settings in the section name or subname. For example, {"Global": {"NameServers": "4.4.4.4", "XMLRPCPort": 20003} changes the NameServers and XMLRPCPort settings to the new settings. |
Optional parameters
There are no optional parameters.
Substitute parameters
There are no substitute parameters.
Allowed users
The following users are allowed to run this job:
- root
Allowed groups
The following groups are allowed to run this job:
- root
- exaadm
Examples
The following examples show how to run this job in a Python program using XML-RPC or on the command line using confd_client.

conn.job_exec('general_settings', {'params': {'changes': {'Global': {'NameServers': '4.4.4.4', 'XMLRPCPort': 20003}}}})

confd_client general_settings changes: '{Global: {NameServers: 4.4.4.4, XMLRPCPort: 20003}}'