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/services/HostsService.java#L121

On 08/10/2019 11:25, [email protected] 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 -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/PE7RIGWSJRW3RABXO3NLBUIN32IFM6P2/

_______________________________________________
Devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/DXEXDRMJ6QS443CWM6QPZQQIKKA6MH6H/

Reply via email to