From nobody Sun Feb 8 23:23:24 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1576853929; cv=none; d=zohomail.com; s=zohoarc; b=Caf1ppXySB4ieUrrPRY60rrp++/QFO+SahHnFd8yb1cnqA6KEuZ+1lRq3Lb8nQMJA3NM4JeCj61GKwOJkCNWPwy9bPXzFjTwW6WJ3JdiUKDidjw+2zKslMmcltSmjyNR8Bogy091VM1HSF/OvpC9ggkHw5pYNkxTEUHPFYGvJpc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1576853929; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=NpPX6mHzwNFiHbBr+AoT8fLD73sOLE4bprCOKA+Yz4w=; b=AaCa7mRnpi55rHgvNFNgfh2wR97jzKCKhgTsebBzYVJkzVgS0NGlwa409qa/eXTTxp2by2egzD4VlvDZuNdxS94mbQrOxEfp4cPiNs1vkwVfLb1hMjyiTSdeC94gbdomkf0ewT5IX+l6iDKS+TtuKuwuNdhJ/H/gFYSCdfEu7l8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 1576853929716764.520094611374; Fri, 20 Dec 2019 06:58:49 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-24-j6lzhooKMcCwuke7dyMgoA-1; Fri, 20 Dec 2019 09:58:46 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4A302801F79; Fri, 20 Dec 2019 14:58:41 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 211E560C87; Fri, 20 Dec 2019 14:58:41 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id D30EF18089CF; Fri, 20 Dec 2019 14:58:40 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id xBKEwSZ3032557 for ; Fri, 20 Dec 2019 09:58:28 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1BBD76E41E; Fri, 20 Dec 2019 14:58:28 +0000 (UTC) Received: from lindworm.usersys.redhat.com (unknown [10.43.2.105]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 990C26FEF3 for ; Fri, 20 Dec 2019 14:58:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576853928; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=NpPX6mHzwNFiHbBr+AoT8fLD73sOLE4bprCOKA+Yz4w=; b=R8MXGEvnCCTJKn9R0S1MG3qR+zRcY9siks0dnOXU3jhTDMjixn8Vp3ijhGeZPEIhsciNN5 vnRuZ2ZnPDIigDAIfjBGK0tmk3ZnroHdtvDVpZDeuNaBigDCPSgcx4e+3VrloDw0/wKdC3 dLOVaK7GCRYVbCto9SwgkMOCpk283Wc= From: Pino Toscano To: libvir-list@redhat.com Date: Fri, 20 Dec 2019 15:58:11 +0100 Message-Id: <20191220145813.756206-10-ptoscano@redhat.com> In-Reply-To: <20191220145813.756206-1-ptoscano@redhat.com> References: <20191220145813.756206-1-ptoscano@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH v3 09/11] esx: generator: add GuestNicInfo object X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: j6lzhooKMcCwuke7dyMgoA-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Add the definition of the GuestNicInfo object, with all the required objects for it. Signed-off-by: Pino Toscano --- scripts/esx_vi_generator.py | 1 + src/esx/esx_vi_generator.input | 54 ++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/scripts/esx_vi_generator.py b/scripts/esx_vi_generator.py index 9e3151943b..761bb2d8de 100755 --- a/scripts/esx_vi_generator.py +++ b/scripts/esx_vi_generator.py @@ -1297,6 +1297,7 @@ additional_object_features =3D { "DatastoreHostMount": (Object.FEATURE__DEEP_COPY | Object.FEATURE__LIS= T | Object.FEATURE__ANY_TYPE), "DatastoreInfo": Object.FEATURE__ANY_TYPE | Object.FEATURE__DYNAMIC_CA= ST, + "GuestNicInfo": Object.FEATURE__LIST | Object.FEATURE__ANY_TYPE, "HostConfigManager": Object.FEATURE__ANY_TYPE, "HostCpuIdInfo": Object.FEATURE__LIST | Object.FEATURE__ANY_TYPE, "HostDatastoreBrowserSearchResults": (Object.FEATURE__LIST | diff --git a/src/esx/esx_vi_generator.input b/src/esx/esx_vi_generator.input index 22c114e0aa..bd6ac72a18 100644 --- a/src/esx/esx_vi_generator.input +++ b/src/esx/esx_vi_generator.input @@ -277,6 +277,18 @@ object FolderFileQuery extends FileQuery end =20 =20 +object GuestNicInfo + Boolean connected = r + Int deviceConfigId = r + NetDnsConfigInfo dnsConfig = o + String ipAddress = ol + NetIpConfigInfo ipConfig = o + String macAddress = o + NetBIOSConfigInfo netBIOSConfig = o + String network = o +end + + object HostAutoStartManagerConfig AutoStartDefaults defaults = o AutoStartPowerInfo powerInfo = ol @@ -770,6 +782,48 @@ object NasDatastoreInfo extends Datastore= Info end =20 =20 +object NetBIOSConfigInfo + String mode = r +end + + +object NetDhcpConfigInfo + NetDhcpConfigInfoDhcpOptions ipv4 = o + NetDhcpConfigInfoDhcpOptions ipv6 = o +end + + +object NetDhcpConfigInfoDhcpOptions + KeyAnyValue config = ol + Boolean enable = r +end + + +object NetDnsConfigInfo + Boolean dhcp = r + String domainName = r + String hostName = r + String ipAddress = ol + String searchDomain = ol +end + + +object NetIpConfigInfo + Boolean autoConfigurationEnabled = o + NetDhcpConfigInfo dhcp = o + NetIpConfigInfoIpAddress ipAddress = ol +end + + +object NetIpConfigInfoIpAddress + String ipAddress = r + DateTime lifetime = o + String origin = o + Int prefixLength = r + String state = o +end + + object ObjectContent ManagedObjectReference obj = r DynamicProperty propSet = ol --=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list