{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/govmomi/issues/488","repository_url":"https://api.github.com/repos/vmware/govmomi","labels_url":"https://api.github.com/repos/vmware/govmomi/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/vmware/govmomi/issues/488/comments","events_url":"https://api.github.com/repos/vmware/govmomi/issues/488/events","html_url":"https://github.com/vmware/govmomi/issues/488","id":145380100,"number":488,"title":"import.ova always displays invalid value <Network> for element 'Connection'","user":{"login":"lamw","id":602199,"avatar_url":"https://avatars.githubusercontent.com/u/602199?v=3","gravatar_id":"","url":"https://api.github.com/users/lamw","html_url":"https://github.com/lamw","followers_url":"https://api.github.com/users/lamw/followers","following_url":"https://api.github.com/users/lamw/following{/other_user}","gists_url":"https://api.github.com/users/lamw/gists{/gist_id}","starred_url":"https://api.github.com/users/lamw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamw/subscriptions","organizations_url":"https://api.github.com/users/lamw/orgs","repos_url":"https://api.github.com/users/lamw/repos","events_url":"https://api.github.com/users/lamw/events{/privacy}","received_events_url":"https://api.github.com/users/lamw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-02T14:45:41Z","updated_at":"2016-04-15T23:36:10Z","closed_at":null,"body":"Seeing a strange warning when deploying any OVA/OVF related to the VM defined network within the OVF. This is merely a label that the creator of an OVF maps to virtual interfaces and perhaps we might be assuming a particular name.\r\n\r\nHere's an example of the error: \r\n```\r\n─[0] <> govc import.ova -options=vesxi3.json /Volumes/Storage/Images/nested_esxi_appliance_v6.0u2.ova\r\n[02-04-16 07:41:43] Warning: Line 140: Invalid value 'VM Network' for element 'Connection'.\r\n[02-04-16 07:41:43] Warning: Line 152: Invalid value 'VM Network' for element 'Connection'.\r\n[02-04-16 07:41:57] Uploading Nested_ESXi6.x_Appliance_Template_v3-disk1.vmdk... OK\r\n[02-04-16 07:41:57] Uploading Nested_ESXi6.x_Appliance_Template_v3-disk2.vmdk... OK\r\n[02-04-16 07:41:57] Uploading Nested_ESXi6.x_Appliance_Template_v3-disk3.vmdk... OK\r\n[02-04-16 07:41:57] Powering on VM...\r\n[02-04-16 07:41:58] Injecting OVF environment...\r\n```\r\n\r\nHere's the OVA that I was using: https://bintray.com/artifact/download/photon-controller/esxi-appliances/nested_esxi_appliance_v6.0u2.ova"},"comment":{"url":"https://api.github.com/repos/vmware/govmomi/issues/comments/210685065","html_url":"https://github.com/vmware/govmomi/issues/488#issuecomment-210685065","issue_url":"https://api.github.com/repos/vmware/govmomi/issues/488","id":210685065,"user":{"login":"asifiqbal","id":230692,"avatar_url":"https://avatars.githubusercontent.com/u/230692?v=3","gravatar_id":"","url":"https://api.github.com/users/asifiqbal","html_url":"https://github.com/asifiqbal","followers_url":"https://api.github.com/users/asifiqbal/followers","following_url":"https://api.github.com/users/asifiqbal/following{/other_user}","gists_url":"https://api.github.com/users/asifiqbal/gists{/gist_id}","starred_url":"https://api.github.com/users/asifiqbal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asifiqbal/subscriptions","organizations_url":"https://api.github.com/users/asifiqbal/orgs","repos_url":"https://api.github.com/users/asifiqbal/repos","events_url":"https://api.github.com/users/asifiqbal/events{/privacy}","received_events_url":"https://api.github.com/users/asifiqbal/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T23:36:10Z","updated_at":"2016-04-15T23:36:10Z","body":"Yep I am having same issue...\r\n\r\n$ govc import.ova --options=foo -dc=\"*OMH\" -name=omh-nbsg-99 -ds=omh-vstorp1-01-02-lvshared01 src/Fortigate-VM64-v524-vmxnet3.ova \r\n[15-04-16 19:33:25] Warning: Line 129: Invalid value 'OuterNBS' for element 'Connection'.\r\n[15-04-16 19:33:25] Warning: Line 140: Invalid value 'InnerNBS' for element 'Connection'.\r\n[15-04-16 19:33:25] Warning: Line 151: Invalid value 'InterNBS' for element 'Connection'.\r\n[15-04-16 19:33:25] Warning: Line 162: Invalid value 'Outside-DMZ' for element 'Connection'.\r\n[15-04-16 19:33:25] Warning: Line 173: Invalid value 'Inside-DMZ' for element 'Connection'.\r\n[15-04-16 19:33:25] Warning: Line 184: Invalid value 'NBS-CustTest' for element 'Connection'.\r\n[15-04-16 19:33:25] Warning: Line 195: Invalid value 'non-routing' for element 'Connection'.\r\n[15-04-16 19:33:25] Warning: Line 206: Invalid value 'non-routing' for element 'Connection'.\r\n[15-04-16 19:33:25] Warning: Line 217: Invalid value 'non-routing' for element 'Connection'.\r\n[15-04-16 19:33:25] Warning: Line 228: Invalid value 'AppMgt' for element 'Connection'.\r\n[15-04-16 19:33:32] Uploading foo-disk1.vmdk... OK\r\n[15-04-16 19:33:32] Uploading foo-disk2.vmdk... OK\r\n\r\nWould be nice if I could define the network adapters"}}