From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 4F4348AD9 for ; Wed, 16 Nov 2022 13:39:34 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 2885F1EF1B for ; Wed, 16 Nov 2022 13:39:04 +0100 (CET) Received: from mail02.cetsi.fr (mail02.cetsi.fr [91.151.64.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Wed, 16 Nov 2022 13:39:02 +0100 (CET) Received: from CYLNEXC01.cyllene.corp (unknown [10.0.250.28]) by mail02.cetsi.fr (Postfix) with ESMTP id CEB3140518C6; Wed, 16 Nov 2022 13:39:00 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mail02.cetsi.fr CEB3140518C6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groupe-cyllene.com; s=dkim; t=1668602340; bh=HEqPgTIYvk1jQgea+HOjTWFEi8/+z8eIz0zRisR/9uQ=; h=From:To:Subject:Date:References:In-Reply-To:From; b=PTbxWEoMzRYcZSCO6ro7qBtV2M49LxJUQy+l3nc/kv/yRoQ2EZnvXJN2gmdBXHFx6 CA2MkTryMQeZz53RkDO2uc6CjcFqn7yzIL0IkMUj3nJGbMHDwG1GAj7SHo0oofXskY U1aLKbbe9YUhnvJExFpVrpq+xCxGHiPWd+TbQj+A= Received: from CYLNEXC01.cyllene.corp (10.0.250.28) by CYLNEXC01.cyllene.corp (10.0.250.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.32; Wed, 16 Nov 2022 13:39:01 +0100 Received: from FRA01-MR2-obe.outbound.protection.outlook.com (10.0.250.254) by CYLNEXC01.cyllene.corp (10.0.250.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.32 via Frontend Transport; Wed, 16 Nov 2022 13:39:01 +0100 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UVSkvYGGXSWVYNPnIoXlS8hbcw/yNqVHAzae1QAHKP8vqMD+1WueHBo26hku6WS1O6AB/mH8PLOu+GgJDj4S/gTo70HLeVQW9nb8Jh9wltyu6DLNLm8H6QsTqV/D/IFcrw/m7lb+7FsYpX4E5pEJSuYAexaXcGb46M2Z8WgH6hdkt+OAJRM/0QDvdENGzN7Htb3qL1rr/XeN6jUaZ9K7Gu+q4ovlmPHI6VyjeaPm6Z46edFEMDUxGhWKD6qXSfFFFl+wHJUqWxpLi43miN6bhkc5LkQyoeH5jpbN6kQdvhHMTpNETK7C/cBxkgUAHpjzzYkY0PazPzKw9twiAg4JgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HEqPgTIYvk1jQgea+HOjTWFEi8/+z8eIz0zRisR/9uQ=; b=d+8pjQev89sQ12FGIdQn4QFRjUGBejEFB2MIVcKL81WrXfzyc6Vjv8tc34IOsAgdjQ+IHgVg23g0chAOzQv6icIm0eSMsqdhbWA2XS029xaAaluz+PBhksp3JQv51IueDFybVSPeh7WQ6q+bCgsjZiIvXV3ua9U2GukfpS7cC+eqGkWWR6Ny03xpZqTsiZWPupB74P+HJbK7XFp7S9R7drgiIB6YDUNKrrgVh12KNCbNUZwdrd+vs7g9vDpqcYIq0SujPXy13zA8+a4D957SUQePV8j+2UmY0qLYr197mN5XlW9KhvcoZnvrM6utVEKXhPgV8SwO8KS1GlmLheYFiQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=groupe-cyllene.com; dmarc=pass action=none header.from=groupe-cyllene.com; dkim=pass header.d=groupe-cyllene.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=groupecyllene.onmicrosoft.com; s=selector2-groupecyllene-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HEqPgTIYvk1jQgea+HOjTWFEi8/+z8eIz0zRisR/9uQ=; b=q+c9QLZUd+c8ByY0s411PEMeGumxNMDkw+gd7OZ8vmTQqGmbJ3Sh8jpU/t1dqXYrTLdI+KjJE9kR2h5wzLEAy1fjczrhuE0uQO8lfRAokEMsVydyCTA7BLjxjge6qLNSpeArjo7jQwGN0WGMz8iAh/idmhiDcOIjNNHOBhj+g7M= Received: from MR1P264MB2481.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:32::17) by MR1P264MB2484.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:35::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.18; Wed, 16 Nov 2022 12:39:00 +0000 Received: from MR1P264MB2481.FRAP264.PROD.OUTLOOK.COM ([fe80::bdcd:c195:165e:b383]) by MR1P264MB2481.FRAP264.PROD.OUTLOOK.COM ([fe80::bdcd:c195:165e:b383%3]) with mapi id 15.20.5813.018; Wed, 16 Nov 2022 12:39:00 +0000 From: "DERUMIER, Alexandre" To: "pve-devel@lists.proxmox.com" , "t.lamprecht@proxmox.com" Thread-Topic: [pve-devel] [PATCH ha-manager 02/11] resources: add get_static_stats() method Thread-Index: AQHY9RJE5ZZnFALau0mBOKqDYuTN3a5AAiEAgAFDrACAAEDYgA== Date: Wed, 16 Nov 2022 12:38:59 +0000 Message-ID: <4acc2b70d47d4bf66eb7be2a12033b6e8e533af8.camel@groupe-cyllene.com> References: <20221110143800.98047-1-f.ebner@proxmox.com> <20221110143800.98047-12-f.ebner@proxmox.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.46.0-2 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=groupe-cyllene.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MR1P264MB2481:EE_|MR1P264MB2484:EE_ x-ms-office365-filtering-correlation-id: 94a8d8a0-1f37-4fd5-0f91-08dac7cf8947 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /HEBjuvlpJohJQnZH0rhelBLfR77s8HLKLUM9o73i8pcj6OmD/F0QiGe3Y+KIiHV+mYg+T9I+Sy47hEUwSBjsBaqJgT8aSEeeVlQLmrNl+q8vdqSY67tHJ+tVu87O41A2gh1xyAOzuJa+lHe8sa0agXgqz0t+ayVr019bOIad5kh1yVpFZlh1+iQJYOtXvkkS9xm83guwdaxOnpy5i9eJfv9I0dliVPtfALToJB5w3A3g8/z1Bi91ETrJTHEC9E5KnlhQOzAvCjFhNbhXigb8OmqkjcgCf/+EyTyGqaOWZPPZTkDBYLTKilJ7f/wtsTDpsn9fLK7WcszeywF4RSWjgklc3NFeGviGFwv7N7nGtNidNIm7589STPp/d7kjURtcfKduAuNoJ1XEGKrO69xCk6qg+qLXDBcwn3j9WdGaoM0y0gsqTT7flv6VZgc4NRNvwJrJd/QM40trREbBglQ1o2I64FwbbWKi43M5N+JaRQ2U5nOohCzbWrH2Ox/rRWft/js3hzymuz1x7M9Ix1rrlguVc86mKCgiu7oWAcSOedwQ5XIJqrJb9lji4GhQkJbDtY3LFJO+Fz7pH+aCKkkwfnF9AjOrTNqNU6qLFAhRJsE2A6LQ7Q3bd7X1duWRTnYT400lRUwykeX7yUBx+q26VKHbszlZdrnMOxROQJfjvS3DzX8o5WC+iymnuCaidSS87pgBannQDwu+F9IYrio5w2FiDDGsvPfAyRjLUTIzVR0MfTumLg4ryxMPc+XNUL5Ms/TvUpMSTclWy98Lzx/899WgUFE5e0VKLN4sNrktx8= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MR1P264MB2481.FRAP264.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(396003)(39850400004)(376002)(346002)(366004)(451199015)(38070700005)(2906002)(8936002)(5660300002)(4744005)(186003)(2616005)(122000001)(86362001)(83380400001)(38100700002)(6512007)(91956017)(66556008)(66946007)(66476007)(76116006)(66446008)(6506007)(71200400001)(8676002)(110136005)(64756008)(316002)(36756003)(6486002)(41300700001)(966005)(478600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MkdDdFlwaU5jcTE5eEtuU1pWUDZ5d2l2MmV6ZzVpaVpQckp6eS9nc1M1eXZD?= =?utf-8?B?VXJOYmpLb1JnNE9ZWjJqei9FeC9oc2Fha2ZuaG9xM3dHcDlnNTlLUlQ3VE1I?= =?utf-8?B?eGdCM2IzWnE2SzBuNGI0TEV5VjVPdEIzb3hBcFZqK2tkMm5pajZTWk1xM3Ja?= =?utf-8?B?WEtnL1REd3QzSU1lSjBqanAxZnpEWVhaY0xSaEx5dzZLU1YvdmI2Q3F1UGg2?= =?utf-8?B?VnVYdDhPcTRYODJ5SzRDYmt6Vy8wWGJzU2wyOEJleDkzakJObVorZ0g5MUNT?= =?utf-8?B?NnIyb0FSbllIZFJCWDdhV3hBeSs5ZUZDUkt3VUVqMnViRmswY0pkWkZxOVZy?= =?utf-8?B?ZWdhRzFVU3Vlai9IU1doWHRGOFliek4rVWlYMk9iaWlOTTZrRnRUZzhvYnAr?= =?utf-8?B?NFpsdHd1MkRiQnJWUDJEQXI4Yy94dU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: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MR1P264MB2481.FRAP264.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 94a8d8a0-1f37-4fd5-0f91-08dac7cf8947 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2022 12:39:00.1014 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: ee11ccf7-112c-4284-848b-f229745e715b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZdmQPcUDV6yMSs7gaZrUEm7aNLwwF/vc8OJIRgx+epotyynIWkQWVNcByiOn9Rmak538EUKE6847mFVpUWPHbBFrZ8zScjf44s6ted3cBuQdSE9/TQApvmpkcNJtRBif X-MS-Exchange-Transport-CrossTenantHeadersStamped: MR1P264MB2484 X-OriginatorOrg: groupe-cyllene.com X-SPAM-LEVEL: Spam detection results: =?UTF-8?Q?0=0A=09?=AWL -0.061 Adjusted score from AWL reputation of From: =?UTF-8?Q?address=0A=09?=BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily =?UTF-8?Q?valid=0A=09?=DKIM_VALID -0.1 Message has at least one valid DKIM or DK =?UTF-8?Q?signature=0A=09?=DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's =?UTF-8?Q?domain=0A=09?=DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from =?UTF-8?Q?domain=0A=09?=SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF =?UTF-8?Q?Record=0A=09?=SPF_PASS -0.001 SPF: sender matches SPF =?UTF-8?Q?record=0A=09?=URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [groupe-cyllene.com, mail-archive.com, groupecyllene.onmicrosoft.com] Subject: Re: [pve-devel] [PATCH ha-manager 02/11] resources: add get_static_stats() method X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2022 12:39:34 -0000 PiA+IA0KPiA+IHNhbWUgaGVyZS4gQXMgdGhpcyBpcyBqdXN0IGludGVybmFsIHdlIGNhbiBhbHNv IGFkYXB0IGl0IGxhdGVyDQo+ID4gdGhvdWdoLi4NCj4gPiANCj4gDQo+IFdlbGwsIHRoZSBSdXN0 IGJhY2tlbmQgYWxzbyB1c2VzICdtYXhjcHUnIGFuZCAnbWF4bWVtJyBjdXJyZW50bHkgOi8NCj4g U28gYXQgbGVhc3QgaW4gVXNhZ2UvU3RhdGljLnBtLCBpdCB3aWxsIGJlIG1vcmUgZGlmZmljdWx0 IHRvIGNoYW5nZQ0KPiBsYXRlci4NCj4gDQoNCkhpLA0KDQpJIHN0aWxsIGhhdmUgYSB2aXJ0aW8t bWVtIHBlbmRpbmcgcGF0Y2ggc2VyaWVzLA0Kd2hlcmUgSSBpbnRyb2R1Y2UgYSByZWFsIG1heG1l bW9yeSBvcHRpb24gaW4gY29uZmlnIGZpbGUuDQpodHRwczovL3d3dy5tYWlsLWFyY2hpdmUuY29t L3B2ZS1kZXZlbEBsaXN0cy5wcm94bW94LmNvbS9tc2cwOTM5NS5odG1sDQoNCg0KSSB0aGluayB3 ZSBzaG91bGQgdXNlIHNhbWUgdmFyaWFibGUgdGhhbiBpbiBjb25maWcgZmlsZXMgdG8gYXZvaWQN CmNvbmZ1c2lvbi4NCg0KbWF4bWVtb3J5OiB0aGUgbWF4IG1lbW9yeSB3ZSBjYW4gaG90cGx1ZyB3 aGVuIHZpcnRpby1tZW0gaXMgdXNlZA0KbWVtb3J5OiB0aGUgY3VycmVudCBvbmxpbmUgbWVtb3J5 IG1vZHVsZQ0KYmFsbG9vbjogdGhlIG1pbiBzaXplIHdlIGNhbiBiYWxsb29uLg0KDQoNCg==