Skip to content

srozb/bmf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BMF python rest client

Very simple library to contol BMF controller (read-only atm).

Getting Started

Just import and use the built-in context manager bmfsession. Session login and logout is taken care implicitly, so no need to worry.

usage example:

from bmf.api import bmfsession, get

with bmfsession(CONTROLLER_ADDR, USER, PASSWORD) as s:
    print(get(s, "/core/switch"))

easy as that.

Jupyter example:

Jupyter example - jupyter bar plot

Prerequisites

Project depends on Python 3 and the requests library.

Installing

Packaging is not implemented. git clone and import.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Big Monitoring Fabric python rest client

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages