Upgrade to 2.2.3
Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
parent
6cfc035196
commit
16b8fe63d6
2
.gitignore
vendored
2
.gitignore
vendored
@ -81,3 +81,5 @@
|
|||||||
/nmstate-2.2.0.tar.gz.asc
|
/nmstate-2.2.0.tar.gz.asc
|
||||||
/nmstate-2.2.2.tar.gz
|
/nmstate-2.2.2.tar.gz
|
||||||
/nmstate-2.2.2.tar.gz.asc
|
/nmstate-2.2.2.tar.gz.asc
|
||||||
|
/nmstate-2.2.3.tar.gz.asc
|
||||||
|
/nmstate-2.2.3.tar.gz
|
||||||
|
@ -1,38 +0,0 @@
|
|||||||
From b37434e3228b269728e9d7875993417de54d1330 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Gris Ge <fge@redhat.com>
|
|
||||||
Date: Thu, 15 Dec 2022 17:11:07 +0800
|
|
||||||
Subject: [PATCH] iface: Include VRF as support type
|
|
||||||
|
|
||||||
We accidentally forgot VRF as supported type.
|
|
||||||
The existing VRF test was skipped by CI hence not been found initially.
|
|
||||||
|
|
||||||
Manually run the test in RHEL host works well.
|
|
||||||
|
|
||||||
Signed-off-by: Gris Ge <fge@redhat.com>
|
|
||||||
---
|
|
||||||
rust/src/lib/query_apply/iface.rs | 3 ++-
|
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/rust/src/lib/query_apply/iface.rs b/rust/src/lib/query_apply/iface.rs
|
|
||||||
index a379960b..888bcbb4 100644
|
|
||||||
--- a/rust/src/lib/query_apply/iface.rs
|
|
||||||
+++ b/rust/src/lib/query_apply/iface.rs
|
|
||||||
@@ -259,7 +259,7 @@ impl Interface {
|
|
||||||
}
|
|
||||||
|
|
||||||
impl InterfaceType {
|
|
||||||
- pub(crate) const SUPPORTED_LIST: [InterfaceType; 13] = [
|
|
||||||
+ pub(crate) const SUPPORTED_LIST: [InterfaceType; 14] = [
|
|
||||||
InterfaceType::Bond,
|
|
||||||
InterfaceType::LinuxBridge,
|
|
||||||
InterfaceType::Dummy,
|
|
||||||
@@ -273,5 +273,6 @@ impl InterfaceType {
|
|
||||||
InterfaceType::Vxlan,
|
|
||||||
InterfaceType::InfiniBand,
|
|
||||||
InterfaceType::Loopback,
|
|
||||||
+ InterfaceType::Vrf,
|
|
||||||
];
|
|
||||||
}
|
|
||||||
--
|
|
||||||
2.39.0
|
|
||||||
|
|
@ -2,15 +2,14 @@
|
|||||||
%define libname libnmstate
|
%define libname libnmstate
|
||||||
|
|
||||||
Name: nmstate
|
Name: nmstate
|
||||||
Version: 2.2.2
|
Version: 2.2.3
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Declarative network manager API
|
Summary: Declarative network manager API
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/%{srcname}/%{srcname}
|
URL: https://github.com/%{srcname}/%{srcname}
|
||||||
Source0: %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz
|
Source0: %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz
|
||||||
Source1: %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz.asc
|
Source1: %{url}/releases/download/v%{version}/%{srcname}-%{version}.tar.gz.asc
|
||||||
Source2: https://nmstate.io/nmstate.gpg
|
Source2: https://nmstate.io/nmstate.gpg
|
||||||
Patch1: 0001-iface-Include-VRF-as-support-type.patch
|
|
||||||
BuildRequires: patchelf
|
BuildRequires: patchelf
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
|
4
sources
4
sources
@ -1,3 +1,3 @@
|
|||||||
SHA512 (nmstate-2.2.2.tar.gz) = 9e20b4f944596e0cf46b470a2a1a4bfcd4fa7a114fd9517b17507cdfd5c1203f81c6bfd730f877c67eb80cae0cc87633ba66185f74d69fc92a7c03a9e195f315
|
|
||||||
SHA512 (nmstate-2.2.2.tar.gz.asc) = 8167aabab9214b31a56ba986e961ec7b7e6f2513dd69c4c7cc37eea2d80d49329683c6c39c37d5f7c52512a0a6800f505e7de545b9d58c33d8c65c8902944d9e
|
|
||||||
SHA512 (nmstate.gpg) = 91c6b1d8aef4944520d4bdd4e90121bbbbaf772444f5eb6081cee81e17b21b66798437cdc09a117c6fc77c54d798aaa30400857aa090cb2102b47841f45cf6eb
|
SHA512 (nmstate.gpg) = 91c6b1d8aef4944520d4bdd4e90121bbbbaf772444f5eb6081cee81e17b21b66798437cdc09a117c6fc77c54d798aaa30400857aa090cb2102b47841f45cf6eb
|
||||||
|
SHA512 (nmstate-2.2.3.tar.gz.asc) = b083f62a0eaade25cd7a1b43e3b4c9444410bd0f46eb3e75df9598d29902956349cd2cf204755dc74838afc50dd50da25dbdc9d7f799fe0d4b2c6d1f14e386fa
|
||||||
|
SHA512 (nmstate-2.2.3.tar.gz) = 98fefc539a60bbb78071de9389001b47a8d56784cc5fdf4fe621125c3f00587f7ad4adcb2d99b9eb5de6cc8c9dd3cf1865e8c2b8f2dad1b95b5d6d390cff5ade
|
||||||
|
Loading…
Reference in New Issue
Block a user