<div dir="ltr"><div><div><div>Hi,<br><br></div></div><div>I am trying to setup network via python sdk as shown below:<br><br>myhost_service.setup_networks( modified_network_attachments = [ <br>                                    types.NetworkAttachment( <br>                                        host = myhost,<br>                                        host_nic = types.HostNic(name=&quot;eth0&quot;), <br>                                        network = types.Network(name=&quot;Hello&quot;),<br>                                        ip_address_assignments = [ <br>                                            types.IpAddressAssignment(<br>                                                assignment_method = types.BootProtocol.STATIC,<br>                                                ip = types.Ip(<br>                                                    address=&quot;192.168.300.10&quot;,<br>                                                    netmask=&quot;255.255.255.0&quot;,<br>                                                    version=types.IpVersion.V4,<br>                                                ),<br>                                            )<br>                                        ],<br>                                    ),<br>                               ] )<br><br></div><div><br></div>But I am getting below error:<br></div>&quot;ovirtsdk4.Error: Fault reason is &quot;Operation Failed&quot;. Fault 
detail is &quot;[Bad format of IPv4 address]&quot;. HTTP response code is 400.&quot;<br><div><br></div><div>Please help me.<br></div><div>Ovirt release version = 4.0<br></div><div><br></div><div>Thanks,<br></div><div>~Rohit<br></div></div>