Compare commits

...

12 Commits

Author SHA1 Message Date
吕光雁
5664a38bd3 !27 Update rpmbuild spec, fix uninstallation issues for nvme-snsd.
From: @lgyyyy 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2023-08-31 09:24:09 +00:00
吕光雁
aa9eddb9f4 !27 Update rpmbuild spec, fix uninstallation issues for nvme-snsd.
From: @lgyyyy 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2023-08-31 09:24:08 +00:00
openeuler-ci-bot
daa5fff99f
!21 使用社区源码仓发布的正式版本来更新当前的tar
From: @li-ruozhu 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-07-30 02:58:42 +00:00
李若竹
0070d6660d
modify date format. 2022-07-30 02:36:01 +00:00
李若竹
da10ae277f
move latest changelog front. 2022-07-30 02:09:25 +00:00
李若竹
3b3c9a925a
update release num and add change log 2022-07-30 02:02:31 +00:00
Ruozhu Li
4a21a6c00e update tar with upstream release tarball 2022-07-29 21:56:06 +08:00
openeuler-ci-bot
5d408a25ca
!18 增加1.00.29版本spec文件change log
From: @li-ruozhu 
Reviewed-by: @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-06-27 03:19:01 +00:00
Ruozhu Li
f3125a4d2f add changelog from 1.00.008 to 1.00.029 to nvme-snsd.spec 2022-06-26 11:31:24 +08:00
openeuler-ci-bot
8d3e80eee6
!17 [sync] PR-14: update src tar to 1.00.029 version
From: @openeuler-sync-bot 
Reviewed-by: @tao191, @liuzhiqiang26 
Signed-off-by: @liuzhiqiang26
2022-06-24 08:12:20 +00:00
liruozhu
bea9df98ae add changlog of 1.00.029 version
(cherry picked from commit 4133c64ec9e18e0a38fb90ac4ed4d48a9d8b88bb)
2022-06-24 15:40:05 +08:00
liruozhu
737810e336 update src tar to 1.00.029 version
(cherry picked from commit 6e89f2fa3339a9c977597b2f18ac3c0c1e010367)
2022-06-24 15:40:05 +08:00
3 changed files with 38 additions and 6 deletions

BIN
1.00.029.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,13 +1,13 @@
Name: nvme-snsd
Version: 1.00.008
Release: 1
Version: 1.00.029
Release: 3
Summary: nvme-snsd service
License: BSD 3-Clause
Group: Applications/System
URL: https://gitee.com/openeuler/redf
Source: %{name}-%{version}.tar.gz
URL: https://gitee.com/openeuler/%{name}
Source: https://gitee.com/openeuler/%{name}/repository/archive/%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: glibc
BuildRequires: gcc,make,dos2unix
%description
@ -43,10 +43,32 @@ rm -rf %{buildroot}
chmod 0550 %{_bindir}/nvme-snsd
chmod 0440 /usr/share/doc/snsd.conf
chmod 0440 /usr/lib/systemd/system/nvme-snsd.service
if [ ! -f /etc/nvme/snsd.conf ];then
mkdir -pv /etc/nvme/
cat >/etc/nvme/snsd.conf <<"EOF"
[BASE]
; The delay time of disconnecting device when net link down. Unit is second.
; The recommended value is 0.
--restrain-time = 0
[SW]
; Switching network configuration, mandatory: --host-traddr, --protocol
; If "--host-traddr" is set to "any", other IP addresses cannot be configured for the switching network, All customer networks support SNSD.
; eg: --host-traddr = xxxx | --protocol = roce
[DC]
; Configuration of the directly connected network, mandatory: --host-traddr, --protocol, --traddr
; eg: --host-traddr = xxxx | --traddr = xxxx | --protocol = roce
EOF
chmod 0644 /etc/nvme/snsd.conf
fi
systemctl enable nvme-snsd
systemctl start nvme-snsd
%postun
%preun
systemctl stop nvme-snsd
systemctl disable nvme-snsd
@ -57,3 +79,13 @@ systemctl disable nvme-snsd
/usr/lib/systemd/system/nvme-snsd.service
%changelog
* Thu Aug 31 2023 Guangyan Lv <lvguangyan2@huawei.com> - 1.00.029-3
- Update rpmbuild spec, fix uninstallation issues for nvme-snsd.
* Sat Jul 30 2022 Ruozhu Li <liruozhu@huawei.com> - 1.00.029-2
- Update src tar fetch from upstream release.
* Tue Feb 22 2022 Ruozhu Li <liruozhu@huawei.com> - 1.00.029-1
- Added the function of sending a notification message to the switch when the software starts, and the switch sending domain members to the host, improving the reliability of software upgrade scenarios.
- Add more connection parameter support, consistent with nvme cli.
- Bond ports can join the domain and automatically establish a connection.