From e2f52ca780c601700ad6121aef83376f6b13a187 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 8 Jun 2023 14:43:38 +0000 Subject: automatic import of python-nornir-nautobot --- .gitignore | 1 + python-nornir-nautobot.spec | 128 ++++++++++++++++++++++++-------------------- sources | 2 +- 3 files changed, 73 insertions(+), 58 deletions(-) diff --git a/.gitignore b/.gitignore index 259cb0c..8d677f3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /nornir_nautobot-2.3.0.tar.gz +/nornir_nautobot-2.4.0.tar.gz diff --git a/python-nornir-nautobot.spec b/python-nornir-nautobot.spec index f89b92c..fca1f41 100644 --- a/python-nornir-nautobot.spec +++ b/python-nornir-nautobot.spec @@ -1,13 +1,14 @@ %global _empty_manifest_terminate_build 0 Name: python-nornir-nautobot -Version: 2.3.0 +Version: 2.4.0 Release: 1 Summary: Nornir Nautobot License: Apache-2.0 URL: https://nautobot.com -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/20/75/2a653fbb472047d67eb42f3cb8583daf07a423c62d61b1e2ee0070d4a206/nornir_nautobot-2.3.0.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/e8/20/1c8e2a2397fa877b360a68f5c7ba81ad930a26d99bb78e650df0b6529269/nornir_nautobot-2.4.0.tar.gz BuildArch: noarch +Requires: python3-httpx Requires: python3-netutils Requires: python3-nornir Requires: python3-nornir-jinja2 @@ -16,40 +17,45 @@ Requires: python3-nornir-netmiko Requires: python3-nornir-utils Requires: python3-pynautobot Requires: python3-requests +Requires: python3-routeros-api %description -# nornir_nautobot +# Nornir Nautobot +[![GitHub Actions](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/nautobot/nornir-nautobot/actions) +[![PyPI Version](https://img.shields.io/pypi/v/nornir-nautobot)](https://pypi.org/project/nornir-nautobot/) +[![PyPI Downloads](https://img.shields.io/pypi/dm/nornir-nautobot)](https://pypi.org/project/nornir-nautobot/) -[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) - -## Build Status - -| Branch | Status | -| ------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| develop | [![CI](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml/badge.svg)](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml) | -## Overview - -The nornir_nautobot project intends to solve two primary use cases. +Nornir-Nautobot is a set of utilities to help interact with Nautobot via Nornir. The nornir_nautobot project intends to solve two primary use cases. * Providing a Nornir inventory that leverages Nautobot's API. * A set of opinionated Nornir plugins. The set of plugins intend to provide mechanisms to include common networking workflows that will help enable network automation. As an example, there are method to get configurations or test network connectivity. Over time this will include functions to perform actions such as get vlans, neighbors, protocols, etc. -## Getting Started +# Installation + +To install Nornir Nautobot install via Python PIP: ```shell pip install nornir-nautobot ``` +## Inventory + +The inventory plugin is used to gather inventory from a Nautobot instance. This queries the DCIM endpoint to gather information about the devices. + +[Inventory](https://docs.nautobot.com/projects/nornir-nautobot/en/latest/inventory/inventory/) -## Documentation Link +## Processor Plugin -The documentation can be found on [Read the Docs](https://nornir-nautobot.readthedocs.io/en/latest/) +This is an opinionated plugin to help with network automation workflows with Nautobot. -## Nautobot +[Processor Plugin](https://docs.nautobot.com/projects/nornir-nautobot/en/latest/processor/processor/) -Nautobot documentation is available at [Nautobot Read the Docs](https://nautobot.readthedocs.io/en/latest/) +## Task Plugin +The task plugin helps with dispatching specific functions with multiple underlying OS. + +[Task Plugin](https://docs.nautobot.com/projects/nornir-nautobot/en/latest/task/task/) %package -n python3-nornir-nautobot @@ -59,80 +65,88 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-nornir-nautobot -# nornir_nautobot - -[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) - -## Build Status +# Nornir Nautobot +[![GitHub Actions](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/nautobot/nornir-nautobot/actions) +[![PyPI Version](https://img.shields.io/pypi/v/nornir-nautobot)](https://pypi.org/project/nornir-nautobot/) +[![PyPI Downloads](https://img.shields.io/pypi/dm/nornir-nautobot)](https://pypi.org/project/nornir-nautobot/) -| Branch | Status | -| ------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| develop | [![CI](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml/badge.svg)](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml) | -## Overview - -The nornir_nautobot project intends to solve two primary use cases. +Nornir-Nautobot is a set of utilities to help interact with Nautobot via Nornir. The nornir_nautobot project intends to solve two primary use cases. * Providing a Nornir inventory that leverages Nautobot's API. * A set of opinionated Nornir plugins. The set of plugins intend to provide mechanisms to include common networking workflows that will help enable network automation. As an example, there are method to get configurations or test network connectivity. Over time this will include functions to perform actions such as get vlans, neighbors, protocols, etc. -## Getting Started +# Installation + +To install Nornir Nautobot install via Python PIP: ```shell pip install nornir-nautobot ``` +## Inventory -## Documentation Link +The inventory plugin is used to gather inventory from a Nautobot instance. This queries the DCIM endpoint to gather information about the devices. -The documentation can be found on [Read the Docs](https://nornir-nautobot.readthedocs.io/en/latest/) +[Inventory](https://docs.nautobot.com/projects/nornir-nautobot/en/latest/inventory/inventory/) -## Nautobot +## Processor Plugin -Nautobot documentation is available at [Nautobot Read the Docs](https://nautobot.readthedocs.io/en/latest/) +This is an opinionated plugin to help with network automation workflows with Nautobot. +[Processor Plugin](https://docs.nautobot.com/projects/nornir-nautobot/en/latest/processor/processor/) + +## Task Plugin + +The task plugin helps with dispatching specific functions with multiple underlying OS. + +[Task Plugin](https://docs.nautobot.com/projects/nornir-nautobot/en/latest/task/task/) %package help Summary: Development documents and examples for nornir-nautobot Provides: python3-nornir-nautobot-doc %description help -# nornir_nautobot - -[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black) - -## Build Status +# Nornir Nautobot +[![GitHub Actions](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/nautobot/nornir-nautobot/actions) +[![PyPI Version](https://img.shields.io/pypi/v/nornir-nautobot)](https://pypi.org/project/nornir-nautobot/) +[![PyPI Downloads](https://img.shields.io/pypi/dm/nornir-nautobot)](https://pypi.org/project/nornir-nautobot/) -| Branch | Status | -| ------- | ------------------------------------------------------------------------------------------------------------------------------------ | -| develop | [![CI](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml/badge.svg)](https://github.com/nautobot/nornir-nautobot/actions/workflows/ci.yml) | -## Overview - -The nornir_nautobot project intends to solve two primary use cases. +Nornir-Nautobot is a set of utilities to help interact with Nautobot via Nornir. The nornir_nautobot project intends to solve two primary use cases. * Providing a Nornir inventory that leverages Nautobot's API. * A set of opinionated Nornir plugins. The set of plugins intend to provide mechanisms to include common networking workflows that will help enable network automation. As an example, there are method to get configurations or test network connectivity. Over time this will include functions to perform actions such as get vlans, neighbors, protocols, etc. -## Getting Started +# Installation + +To install Nornir Nautobot install via Python PIP: ```shell pip install nornir-nautobot ``` +## Inventory + +The inventory plugin is used to gather inventory from a Nautobot instance. This queries the DCIM endpoint to gather information about the devices. + +[Inventory](https://docs.nautobot.com/projects/nornir-nautobot/en/latest/inventory/inventory/) + +## Processor Plugin -## Documentation Link +This is an opinionated plugin to help with network automation workflows with Nautobot. -The documentation can be found on [Read the Docs](https://nornir-nautobot.readthedocs.io/en/latest/) +[Processor Plugin](https://docs.nautobot.com/projects/nornir-nautobot/en/latest/processor/processor/) -## Nautobot +## Task Plugin -Nautobot documentation is available at [Nautobot Read the Docs](https://nautobot.readthedocs.io/en/latest/) +The task plugin helps with dispatching specific functions with multiple underlying OS. +[Task Plugin](https://docs.nautobot.com/projects/nornir-nautobot/en/latest/task/task/) %prep -%autosetup -n nornir-nautobot-2.3.0 +%autosetup -n nornir_nautobot-2.4.0 %build %py3_build @@ -146,20 +160,20 @@ 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 + 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 + 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 + 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 + 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 + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -172,5 +186,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot - 2.3.0-1 +* Thu Jun 08 2023 Python_Bot - 2.4.0-1 - Package Spec generated diff --git a/sources b/sources index 65b3498..afa3a23 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a26b8130c27e632ee968ca58b9b35593 nornir_nautobot-2.3.0.tar.gz +a4dc57ab4ddf4f099fe329f75a578132 nornir_nautobot-2.4.0.tar.gz -- cgit v1.2.3