diff --git a/README.en.md b/README.en.md index e0019a185d3e3900b86215024088531e8e336352..54f2feeca26e3674eca1855562556bdd8dc11ae1 100644 --- a/README.en.md +++ b/README.en.md @@ -1,3 +1,36 @@ # networking-baremetal -OpenStack services are exclusively released in the openEuler LTS version. Please refer to other Multi-Version branches for the Spec source code. \ No newline at end of file +#### Description +This project's goal is to provide deep integration between the Networking service and the Bare Metal service and advanced networking features. + +#### Software Architecture +Software architecture description + +#### Installation + +1. xxxx +2. xxxx +3. xxxx + +#### Instructions + +1. xxxx +2. xxxx +3. xxxx + +#### Contribution + +1. Fork the repository +2. Create Feat_xxx branch +3. Commit your code +4. Create Pull Request + + +#### Gitee Feature + +1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md +2. Gitee blog [blog.gitee.com](https://blog.gitee.com) +3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) +4. The most valuable open source project [GVP](https://gitee.com/gvp) +5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) +6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md index ce998d491cd137425dbf38d94dd41731ed0fcc56..8e983262ee735e2b8be5ee96708f333f149320cb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,37 @@ # networking-baremetal -openstack服务只在openEuler LTS版本发布,Spec源码请参考其他Multi-Version分支。 \ No newline at end of file +#### 介绍 +This project's goal is to provide deep integration between the Networking service and the Bare Metal service and advanced networking features. + +#### 软件架构 +软件架构说明 + + +#### 安装教程 + +1. xxxx +2. xxxx +3. xxxx + +#### 使用说明 + +1. xxxx +2. xxxx +3. xxxx + +#### 参与贡献 + +1. Fork 本仓库 +2. 新建 Feat_xxx 分支 +3. 提交代码 +4. 新建 Pull Request + + +#### 特技 + +1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md +2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) +3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 +4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 +5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) +6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/ironic-neutron-agent.service b/ironic-neutron-agent.service new file mode 100644 index 0000000000000000000000000000000000000000..6d4abdbd12f18797a7f410c09d20eb5934e17f24 --- /dev/null +++ b/ironic-neutron-agent.service @@ -0,0 +1,16 @@ +[Unit] +Description=OpenStack Ironic Neutron Agent +After=syslog.target network.target + +[Service] +Type=simple +User=neutron +PermissionsStartOnly=true +TimeoutStartSec=0 +Restart=on-failure +ExecStart=/usr/bin/ironic-neutron-agent --config-dir /etc/neutron --config-file /etc/neutron/plugins/ml2/ironic_neutron_agent.ini --log-file /var/log/neutron/ironic-neutron-agent.log +PrivateTmp=true +KillMode=process + +[Install] +WantedBy=multi-user.target diff --git a/networking-baremetal-6.1.1.tar.gz b/networking-baremetal-6.1.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0c75f6ed2bb48fdb6f5e8048ef1bc6aac84918ac Binary files /dev/null and b/networking-baremetal-6.1.1.tar.gz differ diff --git a/python-networking-baremetal.spec b/python-networking-baremetal.spec new file mode 100644 index 0000000000000000000000000000000000000000..8f63d976af7c470e654a6cd0963417ea56ea3155 --- /dev/null +++ b/python-networking-baremetal.spec @@ -0,0 +1,143 @@ +%global _empty_manifest_terminate_build 0 +Name: python-networking-baremetal +Version: 6.1.1 +Release: 1 +Summary: Neutron plugin that provides deep Ironic/Neutron integration. +License: ASL 2.0 +URL: https://docs.openstack.org/networking-baremetal/latest/ +Source0: https://files.pythonhosted.org/packages/2e/5f/dc3aa3ca0afc2d11868129b60ac74438383f1ddcad408ae89b4192fd62b7/networking-baremetal-6.1.1.tar.gz +Source1: ironic-neutron-agent.service +BuildArch: noarch + +%description +This project's goal is to provide deep integration between the Networking +service and the Bare Metal service and advanced networking features like +notifications of port status changes and routed networks support in clouds +with Bare Metal service. + +%package -n python3-networking-baremetal +Summary: Neutron plugin that provides deep Ironic/Neutron integration. +Provides: python-networking-baremetal +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +# General requires +BuildRequires: python3-keystoneauth1 +BuildRequires: python3-neutron-lib +BuildRequires: python3-neutron +BuildRequires: python3-openstacksdk +BuildRequires: python3-oslo-config +BuildRequires: python3-oslo-i18n +BuildRequires: python3-oslo-log +BuildRequires: python3-oslo-messaging +BuildRequires: python3-oslo-service +BuildRequires: python3-oslo-utils +BuildRequires: python3-tenacity +BuildRequires: python3-tooz +BuildRequires: python3-pip +# General requires +Requires: python3-keystoneauth1 +Requires: python3-neutron-lib +Requires: python3-neutron +Requires: python3-openstacksdk +Requires: python3-oslo-config +Requires: python3-oslo-i18n +Requires: python3-oslo-log +Requires: python3-oslo-messaging +Requires: python3-oslo-service +Requires: python3-oslo-utils +Requires: python3-pbr +Requires: python3-tenacity +Requires: python3-tooz + +BuildRequires: systemd +Requires(post): systemd +Requires(postun): systemd +Requires(pre): shadow-utils +Requires(preun): systemd + +%description -n python3-networking-baremetal +This project's goal is to provide deep integration between the Networking +service and the Bare Metal service and advanced networking features like +notifications of port status changes and routed networks support in clouds +with Bare Metal service. + +%package help +Summary: Development documents and examples for networking-baremetal +Provides: python3-networking-baremetal-doc +%description help +This project's goal is to provide deep integration between the Networking +service and the Bare Metal service and advanced networking features like +notifications of port status changes and routed networks support in clouds +with Bare Metal service. + +%prep +%autosetup -n networking-baremetal-%{version} + +%build +%py3_build + +%install +%py3_install +install -p -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/ironic-neutron-agent.service +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%post +%systemd_post ironic-neutron-agent.service + +%preun +%systemd_preun ironic-neutron-agent.service + +%postun +%systemd_postun ironic-neutron-agent.service + +%files -n python3-networking-baremetal -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue May 21 2024 OpenStack_SIG - 6.1.1-1 +- Upgrade package to version 6.1.1 + +* Wed Apr 10 2024 wangjing - 6.1.0-1 +- update package of version 6.1.0 + +* Tue Jul 19 2022 renliang16 - 5.1.0-1 +- Upgrade package python3-networking-baremetal to version 5.1.0 + +* Thu Aug 19 liksh 4.0.0-1 +- update from 3.0.0 to 4.0.0 + +* Sat Jul 31 2021 huangtianhua +- Fix requires position and add pbr buildrequires +* Wed Mar 10 2021 Python_Bot +- Package Spec generated diff --git a/python-networking-baremetal.yaml b/python-networking-baremetal.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7fe808f1da8986fec6e8d73538e0136a9beccc51 --- /dev/null +++ b/python-networking-baremetal.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: openstack/networking-baremetal +tag_prefix: ^ +seperator: .