summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-hyperglass.spec354
-rw-r--r--sources1
3 files changed, 356 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..b76de44 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hyperglass-1.0.4.tar.gz
diff --git a/python-hyperglass.spec b/python-hyperglass.spec
new file mode 100644
index 0000000..807eb05
--- /dev/null
+++ b/python-hyperglass.spec
@@ -0,0 +1,354 @@
+%global _empty_manifest_terminate_build 0
+Name: python-hyperglass
+Version: 1.0.4
+Release: 1
+Summary: hyperglass is the modern network looking glass that tries to make the internet better.
+License: BSD-3-Clause-Clear
+URL: https://hyperglass.dev
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/93/5e/c55711b6230fd8b394ec4d4a313f9e774274670874aa4fe441b4ab030e4e/hyperglass-1.0.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-Pillow
+Requires: python3-PyJWT
+Requires: python3-PyYAML
+Requires: python3-aiofiles
+Requires: python3-aredis
+Requires: python3-click
+Requires: python3-cryptography
+Requires: python3-distro
+Requires: python3-fastapi
+Requires: python3-favicons
+Requires: python3-gunicorn
+Requires: python3-httpx
+Requires: python3-inquirer
+Requires: python3-loguru
+Requires: python3-netmiko
+Requires: python3-paramiko
+Requires: python3-psutil
+Requires: python3-py-cpuinfo
+Requires: python3-pydantic
+Requires: python3-redis
+Requires: python3-scrapli[asyncssh]
+Requires: python3-uvicorn[standard]
+Requires: python3-uvloop
+Requires: python3-xmltodict
+
+%description
+<div align="center">
+ <br/>
+ <img src="https://res.cloudinary.com/hyperglass/image/upload/v1593916013/logo-light.svg" width=300></img>
+ <br/>
+ <h3>The network looking glass that tries to make the internet better.</h3>
+ <br/>
+ A looking glass is implemented by network operators as a way of providing customers, peers, or the general public with a way to easily view elements of, or run tests from the provider's network.
+</div>
+
+<hr/>
+
+<div align="center">
+
+[**Documentation**](https://hyperglass.dev)&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;[**Live Demo**](https://demo.hyperglass.dev/)
+
+[![PyPI](https://img.shields.io/pypi/v/hyperglass?style=for-the-badge)](https://pypi.org/project/hyperglass/)
+![PyPI - Downloads](https://img.shields.io/pypi/dm/hyperglass?color=%2340798C&style=for-the-badge)
+[![GitHub Contributors](https://img.shields.io/github/contributors/thatmattlove/hyperglass?color=40798C&style=for-the-badge)](https://github.com/thatmattlove/hyperglass)
+
+[![Frontend Tests](https://img.shields.io/github/workflow/status/thatmattlove/hyperglass/Frontend%20Testing?label=Frontend%20Tests&style=for-the-badge)](https://github.com/thatmattlove/hyperglass/actions?query=workflow%3A%Frontend+Testing%22)
+[![Backend Tests](https://img.shields.io/github/workflow/status/thatmattlove/hyperglass/Backend%20Testing?label=Backend%20Tests&style=for-the-badge)](https://github.com/thatmattlove/hyperglass/actions?query=workflow%3A%Backend+Testing%22)
+[![Installer Tests](https://img.shields.io/github/workflow/status/thatmattlove/hyperglass/Installer%20Testing?label=Installer%20Tests&style=for-the-badge)](https://github.com/thatmattlove/hyperglass/actions?query=workflow%3A%Installer+Testing%22)
+
+<br/>
+
+hyperglass is intended to make implementing a looking glass too easy not to do, with the lofty goal of improving the internet community at large by making looking glasses more common across autonomous systems of any size.
+
+</div>
+
+### [Changelog](https://github.com/thatmattlove/hyperglass/blob/v1.0.0/CHANGELOG.md)
+
+## Features
+
+- BGP Route, BGP Community, BGP AS Path, Ping, & Traceroute
+- Full IPv6 support
+- Customizable everything: features, theme, UI/API text, error messages, commands
+- Built in support for:
+ - Arista EOS
+ - BIRD
+ - Cisco IOS-XR
+ - Cisco IOS/IOS-XE
+ - Cisco NX-OS
+ - FRRouting
+ - Huawei
+ - Juniper JunOS
+ - Mikrotik
+ - Nokia SR OS
+ - TNSR
+ - VyOS
+- Configurable support for any other [supported platform](https://hyperglass.dev/docs/platforms)
+- Optionally access devices via an SSH proxy/jump server
+- VRF support
+- Access List/prefix-list style query control to whitelist or blacklist query targets on a per-VRF basis
+- REST API with automatic, configurable OpenAPI documentation
+- Modern, responsive UI built on [ReactJS](https://reactjs.org/), with [NextJS](https://nextjs.org/) & [Chakra UI](https://chakra-ui.com/), written in [TypeScript](https://www.typescriptlang.org/)
+- Query multiple devices simultaneously
+- Browser-based DNS-over-HTTPS resolution of FQDN queries
+
+*To request support for a specific platform, please [submit a Github Issue](https://github.com/thatmattlove/hyperglass/issues/new) with the **feature** label.*
+
+### [Get Started →](https://hyperglass.dev/docs/introduction)
+
+## Community
+
+- [Slack](https://netdev.chat/)
+- [Telegram](https://t.me/hyperglasslg)
+
+Any users, potential users, or contributors of hyperglass are welcome to join and discuss usage, feature requests, bugs, and other things.
+
+**hyperglass is developed with the express intention of being free to the networking community**.
+
+*However, if you're feeling particularly helpful or generous, small donations are welcome.*
+
+[![Donate](https://img.shields.io/badge/Donate-blue.svg?logo=paypal&style=for-the-badge)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZQFH3BB2B5M3E&source=url)
+
+## Acknowledgements
+
+hyperglass is built entirely on open-source software. Here are some of the awesome libraries used, check them out too!
+
+- [FastAPI](https://fastapi.tiangolo.com/)
+- [Netmiko](https://github.com/ktbyers/netmiko)
+- [Scrapli](https://github.com/carlmontanari/scrapli)
+- [Pydantic](https://pydantic-docs.helpmanual.io/)
+- [Chakra UI](https://chakra-ui.com/)
+
+[![GitHub](https://img.shields.io/github/license/thatmattlove/hyperglass?color=330036&style=for-the-badge)](https://github.com/thatmattlove/hyperglass/blob/v1.0.0/LICENSE)
+
+
+%package -n python3-hyperglass
+Summary: hyperglass is the modern network looking glass that tries to make the internet better.
+Provides: python-hyperglass
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-hyperglass
+<div align="center">
+ <br/>
+ <img src="https://res.cloudinary.com/hyperglass/image/upload/v1593916013/logo-light.svg" width=300></img>
+ <br/>
+ <h3>The network looking glass that tries to make the internet better.</h3>
+ <br/>
+ A looking glass is implemented by network operators as a way of providing customers, peers, or the general public with a way to easily view elements of, or run tests from the provider's network.
+</div>
+
+<hr/>
+
+<div align="center">
+
+[**Documentation**](https://hyperglass.dev)&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;[**Live Demo**](https://demo.hyperglass.dev/)
+
+[![PyPI](https://img.shields.io/pypi/v/hyperglass?style=for-the-badge)](https://pypi.org/project/hyperglass/)
+![PyPI - Downloads](https://img.shields.io/pypi/dm/hyperglass?color=%2340798C&style=for-the-badge)
+[![GitHub Contributors](https://img.shields.io/github/contributors/thatmattlove/hyperglass?color=40798C&style=for-the-badge)](https://github.com/thatmattlove/hyperglass)
+
+[![Frontend Tests](https://img.shields.io/github/workflow/status/thatmattlove/hyperglass/Frontend%20Testing?label=Frontend%20Tests&style=for-the-badge)](https://github.com/thatmattlove/hyperglass/actions?query=workflow%3A%Frontend+Testing%22)
+[![Backend Tests](https://img.shields.io/github/workflow/status/thatmattlove/hyperglass/Backend%20Testing?label=Backend%20Tests&style=for-the-badge)](https://github.com/thatmattlove/hyperglass/actions?query=workflow%3A%Backend+Testing%22)
+[![Installer Tests](https://img.shields.io/github/workflow/status/thatmattlove/hyperglass/Installer%20Testing?label=Installer%20Tests&style=for-the-badge)](https://github.com/thatmattlove/hyperglass/actions?query=workflow%3A%Installer+Testing%22)
+
+<br/>
+
+hyperglass is intended to make implementing a looking glass too easy not to do, with the lofty goal of improving the internet community at large by making looking glasses more common across autonomous systems of any size.
+
+</div>
+
+### [Changelog](https://github.com/thatmattlove/hyperglass/blob/v1.0.0/CHANGELOG.md)
+
+## Features
+
+- BGP Route, BGP Community, BGP AS Path, Ping, & Traceroute
+- Full IPv6 support
+- Customizable everything: features, theme, UI/API text, error messages, commands
+- Built in support for:
+ - Arista EOS
+ - BIRD
+ - Cisco IOS-XR
+ - Cisco IOS/IOS-XE
+ - Cisco NX-OS
+ - FRRouting
+ - Huawei
+ - Juniper JunOS
+ - Mikrotik
+ - Nokia SR OS
+ - TNSR
+ - VyOS
+- Configurable support for any other [supported platform](https://hyperglass.dev/docs/platforms)
+- Optionally access devices via an SSH proxy/jump server
+- VRF support
+- Access List/prefix-list style query control to whitelist or blacklist query targets on a per-VRF basis
+- REST API with automatic, configurable OpenAPI documentation
+- Modern, responsive UI built on [ReactJS](https://reactjs.org/), with [NextJS](https://nextjs.org/) & [Chakra UI](https://chakra-ui.com/), written in [TypeScript](https://www.typescriptlang.org/)
+- Query multiple devices simultaneously
+- Browser-based DNS-over-HTTPS resolution of FQDN queries
+
+*To request support for a specific platform, please [submit a Github Issue](https://github.com/thatmattlove/hyperglass/issues/new) with the **feature** label.*
+
+### [Get Started →](https://hyperglass.dev/docs/introduction)
+
+## Community
+
+- [Slack](https://netdev.chat/)
+- [Telegram](https://t.me/hyperglasslg)
+
+Any users, potential users, or contributors of hyperglass are welcome to join and discuss usage, feature requests, bugs, and other things.
+
+**hyperglass is developed with the express intention of being free to the networking community**.
+
+*However, if you're feeling particularly helpful or generous, small donations are welcome.*
+
+[![Donate](https://img.shields.io/badge/Donate-blue.svg?logo=paypal&style=for-the-badge)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZQFH3BB2B5M3E&source=url)
+
+## Acknowledgements
+
+hyperglass is built entirely on open-source software. Here are some of the awesome libraries used, check them out too!
+
+- [FastAPI](https://fastapi.tiangolo.com/)
+- [Netmiko](https://github.com/ktbyers/netmiko)
+- [Scrapli](https://github.com/carlmontanari/scrapli)
+- [Pydantic](https://pydantic-docs.helpmanual.io/)
+- [Chakra UI](https://chakra-ui.com/)
+
+[![GitHub](https://img.shields.io/github/license/thatmattlove/hyperglass?color=330036&style=for-the-badge)](https://github.com/thatmattlove/hyperglass/blob/v1.0.0/LICENSE)
+
+
+%package help
+Summary: Development documents and examples for hyperglass
+Provides: python3-hyperglass-doc
+%description help
+<div align="center">
+ <br/>
+ <img src="https://res.cloudinary.com/hyperglass/image/upload/v1593916013/logo-light.svg" width=300></img>
+ <br/>
+ <h3>The network looking glass that tries to make the internet better.</h3>
+ <br/>
+ A looking glass is implemented by network operators as a way of providing customers, peers, or the general public with a way to easily view elements of, or run tests from the provider's network.
+</div>
+
+<hr/>
+
+<div align="center">
+
+[**Documentation**](https://hyperglass.dev)&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;[**Live Demo**](https://demo.hyperglass.dev/)
+
+[![PyPI](https://img.shields.io/pypi/v/hyperglass?style=for-the-badge)](https://pypi.org/project/hyperglass/)
+![PyPI - Downloads](https://img.shields.io/pypi/dm/hyperglass?color=%2340798C&style=for-the-badge)
+[![GitHub Contributors](https://img.shields.io/github/contributors/thatmattlove/hyperglass?color=40798C&style=for-the-badge)](https://github.com/thatmattlove/hyperglass)
+
+[![Frontend Tests](https://img.shields.io/github/workflow/status/thatmattlove/hyperglass/Frontend%20Testing?label=Frontend%20Tests&style=for-the-badge)](https://github.com/thatmattlove/hyperglass/actions?query=workflow%3A%Frontend+Testing%22)
+[![Backend Tests](https://img.shields.io/github/workflow/status/thatmattlove/hyperglass/Backend%20Testing?label=Backend%20Tests&style=for-the-badge)](https://github.com/thatmattlove/hyperglass/actions?query=workflow%3A%Backend+Testing%22)
+[![Installer Tests](https://img.shields.io/github/workflow/status/thatmattlove/hyperglass/Installer%20Testing?label=Installer%20Tests&style=for-the-badge)](https://github.com/thatmattlove/hyperglass/actions?query=workflow%3A%Installer+Testing%22)
+
+<br/>
+
+hyperglass is intended to make implementing a looking glass too easy not to do, with the lofty goal of improving the internet community at large by making looking glasses more common across autonomous systems of any size.
+
+</div>
+
+### [Changelog](https://github.com/thatmattlove/hyperglass/blob/v1.0.0/CHANGELOG.md)
+
+## Features
+
+- BGP Route, BGP Community, BGP AS Path, Ping, & Traceroute
+- Full IPv6 support
+- Customizable everything: features, theme, UI/API text, error messages, commands
+- Built in support for:
+ - Arista EOS
+ - BIRD
+ - Cisco IOS-XR
+ - Cisco IOS/IOS-XE
+ - Cisco NX-OS
+ - FRRouting
+ - Huawei
+ - Juniper JunOS
+ - Mikrotik
+ - Nokia SR OS
+ - TNSR
+ - VyOS
+- Configurable support for any other [supported platform](https://hyperglass.dev/docs/platforms)
+- Optionally access devices via an SSH proxy/jump server
+- VRF support
+- Access List/prefix-list style query control to whitelist or blacklist query targets on a per-VRF basis
+- REST API with automatic, configurable OpenAPI documentation
+- Modern, responsive UI built on [ReactJS](https://reactjs.org/), with [NextJS](https://nextjs.org/) & [Chakra UI](https://chakra-ui.com/), written in [TypeScript](https://www.typescriptlang.org/)
+- Query multiple devices simultaneously
+- Browser-based DNS-over-HTTPS resolution of FQDN queries
+
+*To request support for a specific platform, please [submit a Github Issue](https://github.com/thatmattlove/hyperglass/issues/new) with the **feature** label.*
+
+### [Get Started →](https://hyperglass.dev/docs/introduction)
+
+## Community
+
+- [Slack](https://netdev.chat/)
+- [Telegram](https://t.me/hyperglasslg)
+
+Any users, potential users, or contributors of hyperglass are welcome to join and discuss usage, feature requests, bugs, and other things.
+
+**hyperglass is developed with the express intention of being free to the networking community**.
+
+*However, if you're feeling particularly helpful or generous, small donations are welcome.*
+
+[![Donate](https://img.shields.io/badge/Donate-blue.svg?logo=paypal&style=for-the-badge)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZQFH3BB2B5M3E&source=url)
+
+## Acknowledgements
+
+hyperglass is built entirely on open-source software. Here are some of the awesome libraries used, check them out too!
+
+- [FastAPI](https://fastapi.tiangolo.com/)
+- [Netmiko](https://github.com/ktbyers/netmiko)
+- [Scrapli](https://github.com/carlmontanari/scrapli)
+- [Pydantic](https://pydantic-docs.helpmanual.io/)
+- [Chakra UI](https://chakra-ui.com/)
+
+[![GitHub](https://img.shields.io/github/license/thatmattlove/hyperglass?color=330036&style=for-the-badge)](https://github.com/thatmattlove/hyperglass/blob/v1.0.0/LICENSE)
+
+
+%prep
+%autosetup -n hyperglass-1.0.4
+
+%build
+%py3_build
+
+%install
+%py3_install
+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 .
+
+%files -n python3-hyperglass -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 15 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b745210
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5034b7e0c96357af82ceaacbed916b56 hyperglass-1.0.4.tar.gz