The network object created can be seen in the debugger, the value for "mtu" is 
"0", when the default should be 1500. The web portal shows the default value is 
"1500". When I try to retrieve the default value, it returns 0. However, if the 
value is explicitly stated, then it can be retrieved:

net = {NetworkContainer@4322} 
 display = null
 dnsResolverConfiguration = null
 ip = null
 mtu = {BigInteger@4369} "0"
 profileRequired = null
 required = null
 status = null
 stp = {Boolean@4370} false
 usages = {ArrayList@4371}  size = 0
 vlan = {VlanContainer@4372} 
 cluster = null
 dataCenter = {DataCenterContainer@4373} 
 externalProvider = null
 externalProviderPhysicalNetwork = null
 networkLabels = {ArrayListWithHref@4374}  size = 0
 permissions = {ArrayListWithHref@4375}  size = 0
 qos = null
 vnicProfiles = {ArrayListWithHref@4376}  size = 0
 comment = "comment"
 description = "description"
 href = "/ovirt-engine/api/networks/cb3909d1-28e7-4ff1-aa97-858286e407a6"
 id = "cb3909d1-28e7-4ff1-aa97-858286e407a6"
 name = "network1"
_______________________________________________
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/SZZZ5OQN35TX77VQC3ZQBP3X6FNQAVL4/

Reply via email to