Extreme API with Python

Table Of Contents
Extreme API with Python
Page | 93
Part no.9036931-00 Rev AA February 2021
5.3 NorthBound Interface API
The NBI API is based on GraphQL. Through the NBI, you can access data stored in the database of XMC,
which means virtually everything that XMC manages in the network.
XMC provides the emc_nbi Python object to interact with the NBI API.
This NBI is accessible both internally through the Python Scripting Engine (and by extension the
Workflow Engine), and externally to any authorized application requesting data.
GraphQL is a query language that allows for extremely efficient data transfers where only the necessary
information is transmitted, unlike plain JSON. You can both read and write data from and to the
database. In GraphQL vocabulary, a read is a query and a write is a mutation.
This chapter explores in detail the GraphQL capabilities.