infra_firewall_update
This job updates the firewall rules of the deployment.
Mandatory parameters
There are no mandatory parameters.
Optional parameters
Parameter name | Data type | Description |
---|---|---|
ingress_rules | list | The list with key/value pair dictionaries where each dictionary is an ingress firewall rule. |
egress_rules | list | The list with key/value pair dictionaries where each dictionary is an egress firewall rule. |
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
- exadbadm
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('infra_firewall_update', {'params': {'ingress_rules': [{'CidrIp': '0.0.0.0/0', 'FromPort': 22, 'ToPort': 22, 'IpProtocol': 'tcp'}]}})

confd_client infra_firewall_update ingress_rules: '[{CidrIp: 0.0.0.0/0, FromPort: 22, IpProtocol: tcp, ToPort: 22}]'