Here is a sample of the code used in the network builder. Notice the double 
slashes (//) before the .mtu(), hence no value is being stated so that the 
default is used.

 //Configure initial network builder with empty name field
        NetworkBuilder networkBuilder = new NetworkBuilder()
                .name(EMPTY_NETWORK_NAME)
                //.mtu()
                .dataCenter(dataCenter()
                        .name(dcName))
                .usages(netUsageList)
                .ip(
                        ip()
                                .version(IpVersion.V4)
                                .netmask(netMask)
                                .gateway(netGateway))

                .dnsResolverConfiguration(
                        dnsResolverConfiguration()
                                .nameServers(dnsName));
_______________________________________________
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/VSIQUZZM62LKY3JX3OJQ54FQ3ZQYMRLK/

Reply via email to