Add VmSourceVRA label and resolve VRA names for VM metrics

- Add VmSourceVRA to _VM_LABELS, populated from vm['OwningHostName']
  resolved to a VRA name via a host→VRA lookup built from zvm.vras()
- VmRecoveryVRA now also resolves to the actual VRA name (e.g.
  Z-VRA-192.168.50.21) instead of the raw ESXi host IP
- Cloud-target VPGs (Azure/AWS) correctly emit VmRecoveryVRA="" since
  there is no local VRA on the recovery side
- Bump version to 3.1.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-21 11:39:35 -05:00
parent d058b9fcbd
commit 7a45a9c49a
2 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# version.py
VERSION = "3.0.0"
VERSION = "3.1.0"
def main():
# Put your main program code here