Skip to content

QEDQCD/py_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

# OpenStack Neutron API Multi-threaded Requester

## Table of Contents

- Introduction

- Prerequisites

- Installation

- Usage

- Configuration

- Multi-threading

- Environment Variables

- Error Handling

- Contributing

- License

## Introduction

This project demonstrates how to use Python's concurrent.futures.ThreadPoolExecutor to perform multi-threaded requests against the OpenStack Neutron API. It includes functionality for obtaining an authentication token, listing subnets via the Neutron CLI, and making direct HTTP GET requests to the Neutron API endpoint.

## Prerequisites

Before running this script, ensure that you have:

- Installed Python 3.x

- Configured OpenStack CLI (openstack and neutron) on your system.

- Created a GitHub repository where you want to push your local changes.

- A .gitignore file to exclude unnecessary files from version control.

Ensure that the OpenStack environment variables are set up correctly using the admin-openrc script provided by your cloud provider.

## Installation

  1. Clone this repository:

```bash

git clone https://github.com/qcdqed/py_script.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages