suzieq


Namesuzieq JSON
Version 0.21.0 PyPI version JSON
download
home_pagehttps://www.stardustsystems.net/suzieq/
SummaryA framework and application for network observability
upload_time2023-06-07 12:52:30
maintainersuzieq dev team
docs_urlNone
authorsuzieq dev team
requires_python>3.8.1,<3.10
licenseApache-2.0
keywords network cisco arista junos observability cumulus monitoring sonic ios
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            [![integration-tests](https://github.com/netenglabs/suzieq/workflows/integration-tests/badge.svg?branch=master)](https://github.com/netenglabs/suzieq/actions/workflows/integration-tests.yml)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/netenglabs/suzieq?logo=github&color=success)](https://github.com/netenglabs/suzieq/releases/latest)
[![GitHub](https://img.shields.io/github/license/netenglabs/suzieq?logo=github&color=success)](LICENSE)
[![Docker Image Version (latest by date)](https://img.shields.io/docker/v/netenglabs/suzieq?logo=docker&color=blue)](https://hub.docker.com/r/netenglabs/suzieq/tags?page=1&ordering=last_updated)
[![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/netenglabs/suzieq?logo=docker&color=blue)](https://hub.docker.com/r/netenglabs/suzieq/tags?page=1&ordering=last_updated)
[![Docker Pulls](https://img.shields.io/docker/pulls/netenglabs/suzieq?logo=docker&color=blue)](https://hub.docker.com/r/netenglabs/suzieq/tags?page=1&ordering=last_updated)

# Suzieq -- Healthier Networks Through Network Observability

Would you like to be able to easily answer trivial questions such as how many unique prefixes are there in your routing table, or how many MAC addresses are there in the MAC tables across the network? How about more difficult questions, such as what changes did your routing table see between 10 pm and midnight last night, or which of your nodes have been up the longest, or which BGP sessions have had the most routing updates? How about being able to answer if your OSPF (or BGP) sessions are working correctly, or is all well with your EVPN? How about a quick way to determine the amount of ECMP at every hop between two endpoints? Do you wish you could easily validate the configuration you deployed across your network?

Do you login to every network node you have to figure out answers to a questions like these? Do you then struggle to piece the information together into a consistent whole across the various formats provided by various vendors? Do you wish you had an **open source, multi-vendor** tool that could help you answer questions like these and more?

If you answered yes to one or more of these questions, then Suzieq is a tool that we think will be interesting to you.  **Suzieq helps you find things in your network.**

**Suzieq** is both a framework and an application using that framework, that is focused on **improving the observability of your network**.  We define observability as the ability of a system to answer either trivial or complex questions that you pose as you go about operating your network. How easily you can answer your questions is a measure of how good the system's observability is. A good observable system goes well beyond monitoring and alerting. Suzieq is primarily meant for use by network engineers and designers.

Suzieq does multiple things. It [collects](https://suzieq.readthedocs.io/en/latest/poller/) data from devices and systems across your network. It normalizes the data and then stores it in a vendor independent way. Then it allows analysis of that data. With the applications that we build on top of the framework we want to demonstrate a different and more systematic approach to thinking about networks. We want to show how useful it is to think of your network holistically.

## Quick Start

### Using Docker Container

We want to make it as easy as possible for you to start engaging with Suzieq so
we have a demo that has data included in the image. To get started:

* `docker run -it -p 8501:8501 --name suzieq netenglabs/suzieq-demo`
* `suzieq-cli` for the CLI OR
* `suzieq-gui` for the GUI. Connect to http://localhost:8501 via the browser to access the GUI

When you're within the suzieq-cli, you can run ```device unique columns=namespace``` to see the list of different scenarios, we've gathered data for.

Additional information about running the analyzer (suzieq-cli) is available via
the official [documentation page](https://suzieq.readthedocs.io/en/latest/).

To start collecting data for your network, create an inventory file to gather the data from following the instructions [here](https://suzieq.readthedocs.io/en/latest/poller/). Decide the directory where the data will be stored (ensure you have sufficient available space if you're going to be running the poller, say 100 MB at least). Lets call this dbdir. Now launch the suzieq docker container as follows:

* ```docker run -it -v <parquet-out-local-dir>:/home/suzieq/parquet -v <inventory-file>:/home/suzieq/inventory.yml --name sq-poller netenglabs/suzieq:latest```
* Launch the poller with the appropriate options. For example, ```sq-poller -D inventory.yml -n mydatacenter``` where mydatacenter is the name of the namespace where the data associated with the inventory is stored and inventory.yml is the inventory file in Suzieq poller native format (Use -a instead of -D if you're using Ansible inventory file format).

### Using Python Packaging

If you don't want to use docker container or cannot use a docker container, an alternative approach is to install Suzieq as a python package. It is **strongly** recommended to install suzieq inside a virtual environment. If you already use a tool to create and manage virtual environments, you can skip the step of creating a virtual envirobment below.

Suzieq requires python version 3.7.1 at least, and has been tested with python versions 3.7 and 3.8. It has not been tested to work on Windows. Use Linux (recommended) or macOS. To create a virtual environment, in case you haven't got a tool to create one, type:

```bash
python -m venv suzieq
```

This creates a directory called suzieq and all suzieq related info is stored there. Switch to that directory and activate the virtual environment with:

```bash
source activate
```

Now the virtual environment is alive and you can install suzieq. To install suzieq, execute:

```bash
pip install suzieq
```

Once the command completes, you have the main programs of suzieq available for use:

* sq-poller: For polling the devices and gathering the data
* suzieq-gui: For launching the GUI
* suzieq-cli: For running the CLI
* sq-rest-server: For running the REST API server

[The official documentation is at suzieq.readthedocs.io](https://suzieq.readthedocs.io/en/latest/), and you can watch the screencasts about Suzieq on [Youtube](https://www.youtube.com/results?search_query=netenglabs).

# Analysis

Suzieq supports Analysis using CLI, GUI, REST API, and python objects. For the most part they are equivalent, though with the GUI we have combined the output of multiple commands of the CLI into one page.

The GUI has a status page to let you know what the status of entities in your network.
![Suzieq GUI status](images/status.png)

The Xplore page lets you dive into what is in your network. ![Explore device](images/devices-gui.png)

The CLI supports the same kind of analysis as the explore page. ![CLI device](images/devices-cli.png)

[More examples of the CLI can be seen in the docs and blog posts we've created.](https://suzieq.readthedocs.io/en/latest/analyzer/)

## Path

Suzieq has the ability to show the path between two IP addresses, including the ability to show the path through EVPN overlay. You can use this to see each of the paths from a source to a destination and to see if you have anything asymetrical in your paths. ![GUI PATH](images/path-gui.png)

## Asserts

One of Suzieq's powerful capabilities are asserts, which are statements that should be true in the network. We've only just started on asserts; what Suzieq has now only demonstrates it's power, there's a lot more to be added in this space. ![interfaces assert](images/interfaces-assert.png)

# Suzieq Data

**Suzieq supports gathering data from Cumulus, EOS, IOS, IOSXE, IOSXR, JunOS(QFX, EX, MX and SRX platforms and Evolved OS), Palo Alto's Panos (version 8.0 or higher), NXOS and SONIC routers, and Linux servers.** Suzieq gathers:

* Basic device info including serial number, model, version, platform etc.
* Interfaces
* LLDP
* MAC address table (VPLS MAC table for Junos MX)
* MLAG
* Routing table
* ARP/ND table
* OSPFv2
* BGP
* EVPN VNI info

We're adding support for more platforms and features with every release. See [the documentation](https://suzieq.readthedocs.io/en/latest/tables/) on details of specific tables and its NOS support.

We're also looking for collaborators to help us make Suzieq a truly useful multi-vendor, open source platform for observing all aspects of networking. Please read the [collaboration document](./CONTRIBUTING.md) for ideas on how you can help.

# Release Notes

The official release notes are [here](https://suzieq.readthedocs.io/en/latest/release-notes/).

# Engage

You can join the conversation via [slack](https://join.slack.com/t/netenglabs/shared_invite/zt-g64xa6lc-SeP2OAj~3uLbgOWJniLslA). Send email to suzieq AT stardustsystems.net with the email address to send the Slack invitation to.

# Additional Documentation & Screencasts

We've done some blogging about Suzieq:

* [Introducing Suzieq](https://elegantnetwork.github.io/posts/Suzieq/)
* [10ish ways to explore your network with Suzieq](https://elegantnetwork.github.io/posts/10ish_ways_to_explore_your_network_with_Suzieq/)
* [Questions to Suzieq](https://elegantnetwork.github.io/posts/10qa-suzieq/)
* [Time in Suzieq](https://elegantnetwork.github.io/posts/time-suzieq/)

We've also been adding screencasts on [Youtube](https://www.youtube.com/results?search_query=netenglabs).

# Suzieq Priorities

We don't have a roadmap, but we do have a list of our [priorities](https://github.com/netenglabs/suzieq/blob/master/docs/2020-priority.md). We mix this with the [issues reported](https://github.com/netenglabs/suzieq/issues).

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.stardustsystems.net/suzieq/",
    "name": "suzieq",
    "maintainer": "suzieq dev team",
    "docs_url": null,
    "requires_python": ">3.8.1,<3.10",
    "maintainer_email": "",
    "keywords": "network,Cisco,Arista,Junos,observability,Cumulus,monitoring,SoNIC,IOS",
    "author": "suzieq dev team",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/43/02/f376f656b53df530c5040946351600329956c8e00753d090b461d4454da6/suzieq-0.21.0.tar.gz",
    "platform": null,
    "description": "[![integration-tests](https://github.com/netenglabs/suzieq/workflows/integration-tests/badge.svg?branch=master)](https://github.com/netenglabs/suzieq/actions/workflows/integration-tests.yml)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/netenglabs/suzieq?logo=github&color=success)](https://github.com/netenglabs/suzieq/releases/latest)\n[![GitHub](https://img.shields.io/github/license/netenglabs/suzieq?logo=github&color=success)](LICENSE)\n[![Docker Image Version (latest by date)](https://img.shields.io/docker/v/netenglabs/suzieq?logo=docker&color=blue)](https://hub.docker.com/r/netenglabs/suzieq/tags?page=1&ordering=last_updated)\n[![Docker Image Size (latest by date)](https://img.shields.io/docker/image-size/netenglabs/suzieq?logo=docker&color=blue)](https://hub.docker.com/r/netenglabs/suzieq/tags?page=1&ordering=last_updated)\n[![Docker Pulls](https://img.shields.io/docker/pulls/netenglabs/suzieq?logo=docker&color=blue)](https://hub.docker.com/r/netenglabs/suzieq/tags?page=1&ordering=last_updated)\n\n# Suzieq -- Healthier Networks Through Network Observability\n\nWould you like to be able to easily answer trivial questions such as how many unique prefixes are there in your routing table, or how many MAC addresses are there in the MAC tables across the network? How about more difficult questions, such as what changes did your routing table see between 10 pm and midnight last night, or which of your nodes have been up the longest, or which BGP sessions have had the most routing updates? How about being able to answer if your OSPF (or BGP) sessions are working correctly, or is all well with your EVPN? How about a quick way to determine the amount of ECMP at every hop between two endpoints? Do you wish you could easily validate the configuration you deployed across your network?\n\nDo you login to every network node you have to figure out answers to a questions like these? Do you then struggle to piece the information together into a consistent whole across the various formats provided by various vendors? Do you wish you had an **open source, multi-vendor** tool that could help you answer questions like these and more?\n\nIf you answered yes to one or more of these questions, then Suzieq is a tool that we think will be interesting to you.  **Suzieq helps you find things in your network.**\n\n**Suzieq** is both a framework and an application using that framework, that is focused on **improving the observability of your network**.  We define observability as the ability of a system to answer either trivial or complex questions that you pose as you go about operating your network. How easily you can answer your questions is a measure of how good the system's observability is. A good observable system goes well beyond monitoring and alerting. Suzieq is primarily meant for use by network engineers and designers.\n\nSuzieq does multiple things. It [collects](https://suzieq.readthedocs.io/en/latest/poller/) data from devices and systems across your network. It normalizes the data and then stores it in a vendor independent way. Then it allows analysis of that data. With the applications that we build on top of the framework we want to demonstrate a different and more systematic approach to thinking about networks. We want to show how useful it is to think of your network holistically.\n\n## Quick Start\n\n### Using Docker Container\n\nWe want to make it as easy as possible for you to start engaging with Suzieq so\nwe have a demo that has data included in the image. To get started:\n\n* `docker run -it -p 8501:8501 --name suzieq netenglabs/suzieq-demo`\n* `suzieq-cli` for the CLI OR\n* `suzieq-gui` for the GUI. Connect to http://localhost:8501 via the browser to access the GUI\n\nWhen you're within the suzieq-cli, you can run ```device unique columns=namespace``` to see the list of different scenarios, we've gathered data for.\n\nAdditional information about running the analyzer (suzieq-cli) is available via\nthe official [documentation page](https://suzieq.readthedocs.io/en/latest/).\n\nTo start collecting data for your network, create an inventory file to gather the data from following the instructions [here](https://suzieq.readthedocs.io/en/latest/poller/). Decide the directory where the data will be stored (ensure you have sufficient available space if you're going to be running the poller, say 100 MB at least). Lets call this dbdir. Now launch the suzieq docker container as follows:\n\n* ```docker run -it -v <parquet-out-local-dir>:/home/suzieq/parquet -v <inventory-file>:/home/suzieq/inventory.yml --name sq-poller netenglabs/suzieq:latest```\n* Launch the poller with the appropriate options. For example, ```sq-poller -D inventory.yml -n mydatacenter``` where mydatacenter is the name of the namespace where the data associated with the inventory is stored and inventory.yml is the inventory file in Suzieq poller native format (Use -a instead of -D if you're using Ansible inventory file format).\n\n### Using Python Packaging\n\nIf you don't want to use docker container or cannot use a docker container, an alternative approach is to install Suzieq as a python package. It is **strongly** recommended to install suzieq inside a virtual environment. If you already use a tool to create and manage virtual environments, you can skip the step of creating a virtual envirobment below.\n\nSuzieq requires python version 3.7.1 at least, and has been tested with python versions 3.7 and 3.8. It has not been tested to work on Windows. Use Linux (recommended) or macOS. To create a virtual environment, in case you haven't got a tool to create one, type:\n\n```bash\npython -m venv suzieq\n```\n\nThis creates a directory called suzieq and all suzieq related info is stored there. Switch to that directory and activate the virtual environment with:\n\n```bash\nsource activate\n```\n\nNow the virtual environment is alive and you can install suzieq. To install suzieq, execute:\n\n```bash\npip install suzieq\n```\n\nOnce the command completes, you have the main programs of suzieq available for use:\n\n* sq-poller: For polling the devices and gathering the data\n* suzieq-gui: For launching the GUI\n* suzieq-cli: For running the CLI\n* sq-rest-server: For running the REST API server\n\n[The official documentation is at suzieq.readthedocs.io](https://suzieq.readthedocs.io/en/latest/), and you can watch the screencasts about Suzieq on [Youtube](https://www.youtube.com/results?search_query=netenglabs).\n\n# Analysis\n\nSuzieq supports Analysis using CLI, GUI, REST API, and python objects. For the most part they are equivalent, though with the GUI we have combined the output of multiple commands of the CLI into one page.\n\nThe GUI has a status page to let you know what the status of entities in your network.\n![Suzieq GUI status](images/status.png)\n\nThe Xplore page lets you dive into what is in your network. ![Explore device](images/devices-gui.png)\n\nThe CLI supports the same kind of analysis as the explore page. ![CLI device](images/devices-cli.png)\n\n[More examples of the CLI can be seen in the docs and blog posts we've created.](https://suzieq.readthedocs.io/en/latest/analyzer/)\n\n## Path\n\nSuzieq has the ability to show the path between two IP addresses, including the ability to show the path through EVPN overlay. You can use this to see each of the paths from a source to a destination and to see if you have anything asymetrical in your paths. ![GUI PATH](images/path-gui.png)\n\n## Asserts\n\nOne of Suzieq's powerful capabilities are asserts, which are statements that should be true in the network. We've only just started on asserts; what Suzieq has now only demonstrates it's power, there's a lot more to be added in this space. ![interfaces assert](images/interfaces-assert.png)\n\n# Suzieq Data\n\n**Suzieq supports gathering data from Cumulus, EOS, IOS, IOSXE, IOSXR, JunOS(QFX, EX, MX and SRX platforms and Evolved OS), Palo Alto's Panos (version 8.0 or higher), NXOS and SONIC routers, and Linux servers.** Suzieq gathers:\n\n* Basic device info including serial number, model, version, platform etc.\n* Interfaces\n* LLDP\n* MAC address table (VPLS MAC table for Junos MX)\n* MLAG\n* Routing table\n* ARP/ND table\n* OSPFv2\n* BGP\n* EVPN VNI info\n\nWe're adding support for more platforms and features with every release. See [the documentation](https://suzieq.readthedocs.io/en/latest/tables/) on details of specific tables and its NOS support.\n\nWe're also looking for collaborators to help us make Suzieq a truly useful multi-vendor, open source platform for observing all aspects of networking. Please read the [collaboration document](./CONTRIBUTING.md) for ideas on how you can help.\n\n# Release Notes\n\nThe official release notes are [here](https://suzieq.readthedocs.io/en/latest/release-notes/).\n\n# Engage\n\nYou can join the conversation via [slack](https://join.slack.com/t/netenglabs/shared_invite/zt-g64xa6lc-SeP2OAj~3uLbgOWJniLslA). Send email to suzieq AT stardustsystems.net with the email address to send the Slack invitation to.\n\n# Additional Documentation & Screencasts\n\nWe've done some blogging about Suzieq:\n\n* [Introducing Suzieq](https://elegantnetwork.github.io/posts/Suzieq/)\n* [10ish ways to explore your network with Suzieq](https://elegantnetwork.github.io/posts/10ish_ways_to_explore_your_network_with_Suzieq/)\n* [Questions to Suzieq](https://elegantnetwork.github.io/posts/10qa-suzieq/)\n* [Time in Suzieq](https://elegantnetwork.github.io/posts/time-suzieq/)\n\nWe've also been adding screencasts on [Youtube](https://www.youtube.com/results?search_query=netenglabs).\n\n# Suzieq Priorities\n\nWe don't have a roadmap, but we do have a list of our [priorities](https://github.com/netenglabs/suzieq/blob/master/docs/2020-priority.md). We mix this with the [issues reported](https://github.com/netenglabs/suzieq/issues).\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "A framework and application for network observability",
    "version": "0.21.0",
    "project_urls": {
        "Documentation": "https://suzieq.readthedocs.io",
        "Homepage": "https://www.stardustsystems.net/suzieq/",
        "Repository": "https://github.com/netenglabs/suzieq"
    },
    "split_keywords": [
        "network",
        "cisco",
        "arista",
        "junos",
        "observability",
        "cumulus",
        "monitoring",
        "sonic",
        "ios"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9a1d63ca81e962f0806c37167e857c5eab4c0961ca7314cb456816bf8f6c2e0e",
                "md5": "2e30d3f0a256dd6eabb37a444fd86015",
                "sha256": "e653c412614a8f1075af9e1c108d23314ab35985b647bfa24f53dea50c66133b"
            },
            "downloads": -1,
            "filename": "suzieq-0.21.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2e30d3f0a256dd6eabb37a444fd86015",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">3.8.1,<3.10",
            "size": 535371,
            "upload_time": "2023-06-07T12:52:27",
            "upload_time_iso_8601": "2023-06-07T12:52:27.080079Z",
            "url": "https://files.pythonhosted.org/packages/9a/1d/63ca81e962f0806c37167e857c5eab4c0961ca7314cb456816bf8f6c2e0e/suzieq-0.21.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4302f376f656b53df530c5040946351600329956c8e00753d090b461d4454da6",
                "md5": "32a1b71828d5f9206f095661949b5a0f",
                "sha256": "873a733a086a1d93c0cbf048731b2823a4d76ad7c63316ad623732580a3f7738"
            },
            "downloads": -1,
            "filename": "suzieq-0.21.0.tar.gz",
            "has_sig": false,
            "md5_digest": "32a1b71828d5f9206f095661949b5a0f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">3.8.1,<3.10",
            "size": 407625,
            "upload_time": "2023-06-07T12:52:30",
            "upload_time_iso_8601": "2023-06-07T12:52:30.785213Z",
            "url": "https://files.pythonhosted.org/packages/43/02/f376f656b53df530c5040946351600329956c8e00753d090b461d4454da6/suzieq-0.21.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-07 12:52:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "netenglabs",
    "github_project": "suzieq",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "lcname": "suzieq"
}
        
Elapsed time: 0.10610s