Skip to content

globocom/GloboNetworkAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GloboNetworkAPI

Build Status Documentation Status License

Globo NetworkAPI is a REST API that manages IP networking resources. It is supposed to be not just an IPAM, but a centralized point of network control, allowing documentation from physical and logical network and starting configuration requests to equipments.

Globo NetworkAPI is made to support a Web User Interface features, exposing its functionality to be used with any other client.

This web tool helps network administrator manage and automate networking resources (routers, switches and load balancers) and document logical and physical networking.

They were created to be vendor agnostic and to support different orchestrators and environments without loosing the centralized view of all network resources allocated.

It was not created to be and inventory database, so it does not have CMDB functionalities.

Features

  • LDAP authentication
  • Supports cabling documentation (including patch-panels/DIO’s)
  • Separated Layer 2 and Layer 3 documentation (vlan/network)
  • IPv4 and IPv6 support
  • Automatic allocation of Vlans, Networks and IP’s
  • ACL (access control list) automation (documentation/versioning/applying)
  • Load-Balancer support
  • Automated deploy of allocated resources on switches, routers and load balancers
  • Load balancers management
  • Expandable plugins for automating configuration

Documentation

Documentation

Run API

Run make build_img && make start and visit http://localhost:8000/healthcheck if running locally.

Run Unit Tests

Run make test_ci. This command will run all the unit tests specified in the networkapi/tests/__init__.py file.

Create and run migrations

To create a new migration, just run into app container cd dbmigrate; db-migrate --new=<MIGRATION_NAME>. This step will create a enpty migration file, you must write the SQL statement. To run a migration, just run into app container cd dbmigrate; db-migrate. This command will execute all migrations files not executed until now.

How to contribute

Check this out at Contributing file.

Authors

Authors