API to automate IP Networking management, resource allocation and provisioning.

globocom, updated 🕥 2023-02-23 23:32:11

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 Unit Tests

To run the unit tests just run make build_img && make start && make test_ci this instruction will run all the unit tests specified in the networkapi/tests/__init__.py file.

How to contribute

Check this out at Contributing file.

Authors

Authors

Issues

Bump django from 1.5 to 2.2.28

opened on 2023-02-23 23:32:05 by dependabot[bot]

Bumps django from 1.5 to 2.2.28.

Commits
  • 5c33000 [2.2.x] Bumped version for 2.2.28 release.
  • 29a6c98 [2.2.x] Fixed CVE-2022-28347 -- Protected QuerySet.explain(**options) against...
  • 2c09e68 [2.2.x] Fixed CVE-2022-28346 -- Protected QuerySet.annotate(), aggregate(), a...
  • 8352b98 [2.2.x] Added stub release notes for 2.2.28.
  • 2801f29 [2.2.x] Reverted "Fixed forms_tests.tests.test_renderers with Jinja 3.1.0+."
  • e03648f [2.2.x] Fixed forms_tests.tests.test_renderers with Jinja 3.1.0+.
  • 9d13d8c [2.2.x] Fixed typo in release notes.
  • 047ece3 [2.2.x] Added CVE-2022-22818 and CVE-2022-23833 to security archive.
  • 2427b2f [2.2.x] Post-release version bump.
  • e541f2d [2.2.x] Bumped version for 2.2.27 release.
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/globocom/GloboNetworkAPI/network/alerts).

Bump ipython from 5.3.0 to 8.10.0

opened on 2023-02-10 21:03:29 by dependabot[bot]

Bumps ipython from 5.3.0 to 8.10.0.

Release notes

Sourced from ipython's releases.

See https://pypi.org/project/ipython/

We do not use GitHub release anymore. Please see PyPI https://pypi.org/project/ipython/

7.9.0

No release notes provided.

7.8.0

No release notes provided.

7.7.0

No release notes provided.

7.6.1

No release notes provided.

7.6.0

No release notes provided.

7.5.0

No release notes provided.

7.4.0

No release notes provided.

7.3.0

No release notes provided.

7.2.0

No release notes provided.

7.1.1

No release notes provided.

7.1.0

No release notes provided.

7.0.1

No release notes provided.

7.0.0

No release notes provided.

7.0.0-doc

No release notes provided.

7.0.0rc1

No release notes provided.

7.0.0b1

No release notes provided.

... (truncated)

Commits
  • 15ea1ed release 8.10.0
  • 560ad10 DOC: Update what's new for 8.10 (#13939)
  • 7557ade DOC: Update what's new for 8.10
  • 385d693 Merge pull request from GHSA-29gw-9793-fvw7
  • e548ee2 Swallow potential exceptions from showtraceback() (#13934)
  • 0694b08 MAINT: mock slowest test. (#13885)
  • 8655912 MAINT: mock slowest test.
  • a011765 Isolate the attack tests with setUp and tearDown methods
  • c7a9470 Add some regression tests for this change
  • fd34cf5 Swallow potential exceptions from showtraceback()
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/globocom/GloboNetworkAPI/network/alerts).

permitindo erro humano ao criar neighbors

opened on 2023-01-17 17:58:03 by deivisonmarteleto

Ao usa a rota "/api/v4/neighborv4/" [post], é passado atributos que permite erro humano.

atributos:

""" kind: I ou E next-hop-self: true or false """

Ambos os atributos não são necessários, pois a chamada conhece os ASN. Para resolver seria necessário remover esses atributos da chamada, adicionar um algoritmo que automatize a escolha de iBGP ou eBGP comparando os ASN.

Bump certifi from 2018.10.15 to 2022.12.7

opened on 2022-12-08 01:24:37 by dependabot[bot]

Bumps certifi from 2018.10.15 to 2022.12.7.

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/globocom/GloboNetworkAPI/network/alerts).

Cadastro para uso da API

opened on 2022-11-28 20:50:03 by nucombo

@henriquebonadio-zz sei que não é o lugar mais poderia me dar alguma informação de qual seria o canal de contato com a globo para que eu possa cadastrar meu aplicativo para uso da API?

Encontrei este link https://portal.api.tvglobo.com.br/api-portal/ que infelizmente não fornece nenhuma informação do canal que devemos utilizar para efetuar o cadastro.

Desde já agradeço.

BUG: Undue undeployed Pool removal

opened on 2022-11-22 21:13:17 by renanlopes97s

Undue undeployed Pool removal at VIP deletion. The undeployed Pools can't be removed at VIP deletion if they are simultaneously associated with another VIP. Undeployed Pools removal at VIP removal is expected only in the case of the last association with VIPs.

Releases

Code update (bugfix at new /32 IPV4 network) 2023-02-01 12:13:17

Code update (bugfix at new /32 IPV4 network)

Allow to edit 'cluster init' on network ipv6 2022-08-30 12:27:37

Permit full IP usage on a subnetwork 2022-07-15 13:30:18

Juniper plugin updated with remove_svi(..) method 2021-12-03 16:41:41

Bug temporary fix for env lock error 2021-08-19 10:47:15

Juniper bug fixes 2021-07-07 13:15:39

network-programming cloud provisioning automation datacenter network-topology ipam dcim