By specifying overrideIptables in HostsService::add[1]
In Java SDK something like:
Host host = hostsService.add()
.host(
host()
.name("myhost")
.overrideIptables(true)
.description("My host")
.address("node40.example.com")
.rootPassword("password")
.cluster(
cluster()
.name("mycluster")
)
)
.send()
.host();
[1]
https://github.com/oVirt/ovirt-engine-api-model/blob/master/src/main/java...
On 08/10/2019 11:25, scott.fitzgerald(a)oracle.com wrote:
Hi,
I am looking to enable/disable the Automatic Firewall Config on a Host when creating it.
How do I mimic the checking/unchecking of the automatically configure host firewall box
through the SDK?
TIA
_______________________________________________
Devel mailing list -- devel(a)ovirt.org
To unsubscribe send an email to devel-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/PE7RIGWSJRW...