diff --git a/SOURCES/powerpc-utils-support-vnic-as-backup-device-for-HNV.patch b/SOURCES/powerpc-utils-support-vnic-as-backup-device-for-HNV.patch new file mode 100644 index 0000000..f93d611 --- /dev/null +++ b/SOURCES/powerpc-utils-support-vnic-as-backup-device-for-HNV.patch @@ -0,0 +1,22 @@ +diff -up powerpc-utils-1.3.8/scripts/hcnmgr.me powerpc-utils-1.3.8/scripts/hcnmgr +--- powerpc-utils-1.3.8/scripts/hcnmgr.me 2021-11-11 11:10:37.800910318 +0100 ++++ powerpc-utils-1.3.8/scripts/hcnmgr 2021-11-11 11:12:10.597104063 +0100 +@@ -21,7 +21,7 @@ + # support live partition migration with SR_IOV + # + +-VERSION="1.0" ++VERSION="1.1" + PATH=$PATH:/bin:/usr/bin:/sbin:/usr/sbin + BOND_BASEPATH="/sys/class/net" + BONDOPTIONS="mode=1,miimon=100,fail_over_mac=2" +@@ -630,6 +630,9 @@ fi + if ! nmcli --version >/dev/null 2>&1; then + err $E_ENETUNREACH + fi ++# HNV can support VNIC or Veth as backup device. ++# In the first HNV version 1.0, the vNIC as backup support was turned off ++# HNV VERSION greater than 1.0 starts to support vNIC as the backup device + if [[ $VERSION == "1.0" ]]; then + VNIC_SPT="OFF" + fi diff --git a/SPECS/powerpc-utils.spec b/SPECS/powerpc-utils.spec index b68f124..b4b6eed 100644 --- a/SPECS/powerpc-utils.spec +++ b/SPECS/powerpc-utils.spec @@ -1,6 +1,6 @@ Name: powerpc-utils Version: 1.3.8 -Release: 9%{?dist} +Release: 10%{?dist} Summary: PERL-based scripts for maintaining and servicing PowerPC systems Group: System Environment/Base @@ -54,6 +54,7 @@ Patch25: powerpc-utils-1.3.8-numa-header.patch Patch26: powerpc-1.3.8-1b8437319660ed7c69b84ea81032458e615ff3c6.patch # lsdevinfo: optimize criteria filtering Patch27: powerpc-utils-1.3.8-4c6dc50d8de1a8b171675ee6b742c9f0250c28a1.patch +Patch28: powerpc-utils-support-vnic-as-backup-device-for-HNV.patch %description PERL-based scripts for maintaining and servicing PowerPC systems. @@ -220,10 +221,13 @@ systemctl daemon-reload >/dev/null 2>&1 || : %{_mandir}/man8/drmgr.8* %changelog -* Mon Oct 18 2021 Than Ngo - 1.3.8-9 -- Rebuilt +* Thu Dec 02 2021 Than Ngo - 1.3.8-10 +- Related: #2022225, increase release -* Mon Oct 11 2021 Than Ngo - 1.3.8-8 +* Thu Nov 11 2021 Than Ngo - 1.3.8-9 +- Resolves: #2022225, enable support vnic as backend for HNV interfaces + +* Thu Oct 07 2021 Than Ngo - 1.3.8-8 - lsdevinfo: optimize criteria filtering * Fri Jul 16 2021 Than Ngo - 1.3.8-7