Tungsten Fabric Architecture resolve Shu API support TF List

Tungsten Fabric supports the following API:
 

  •  REST API for controller configuration
  •  configuration mapped to the REST API of Python bindings
  •  used to access the data analysis of REST API

Here we describe one by one.

REST API for controller configuration

Accessed through the virtual IP address in Tungsten Fabric external port 8082 REST API, all configurations can be obtained Tungsten Fabric cluster. The user can use HTTP GET to retrieve a list of resources for more information or call the property. Data objects returned as JSON.
 
JSON may contain new object properties are represented by sending HTTP POST command of Tungsten Fabric object model (for example, add a virtual network, to create a service chain) to make changes.
 
Compile and build Tungsten Fabric time, from the data model schema files are automatically generated REST API.

Python bindings

It will automatically generate a set of Python bindings mapped to the REST API during compilation.
 
Python script or in the session, the session opened as follows:

Tungsten Fabric Architecture resolve Shu API support TF List

You can create a virtual network using the following methods:

Tungsten Fabric Architecture resolve Shu API support TF List
Python bindings generally easier to use than the REST API, since it is not necessary to use JSON payload.

Analysis REST API

Virtual REST API on port 8082 IP addresses through an external Tungsten Fabric, access to analyze data collected in Tungsten Fabric. Configuration and operational information entity called user visible object (UVE) organized in these objects may comprise a plurality of Tungsten Fabric polymerized from component properties.
 
For example, the operation information from the virtual network may vrouter, control pods, and pods arranged. Analytics API output takes the form of JSON payload. UVE retrieve data using the direct URL points to the location of the data.
 
HTTP GET query to retrieve a list of the analysis database and get its API and schemas.
 
HTTP POST query for retrieving time series data stored in the table. POST query includes JSON format version of the SQL query, the version of the specified tables, fields and conditions to match. Analytics API includes an additional feature that allows the specified start time and end time to retrieve the data.
 
The threshold crossing event, Analytics API can be used to configure and retrieve any alarm time series stored in the analysis database.
 
Can (SSE) flow to analyze any database UVE or configure the server to send event alerts.


MORE
more analytical articles Tungsten Fabric

The first chapter: TF Main features and use cases
The second: TF how it works
Part III: Detailed vRouter architecture
Part IV: TF service chain
Part V: vRouter deployment options
Part VI: TF how to collect, analyze, deploy?
Title VII: TF how the choreography


Fabric About Tungsten:
Tungsten Fabric project is an open source project agreement, which is based on a standard protocol development, and provides all the components of the network virtualization and network security essential. Components of the project include: SDN controller, virtual router, the analysis engine, to the north of the API release, hardware integration, cloud orchestration software and extensive REST API.

About Chinese community TF:
TF Chinese community spontaneously initiated by China's concern and love SDN group of volunteers, skilled veterans, old and gun market, there are industry experts and experienced users. And China will serve as a bridge connecting the community, dissemination of information, to submit questions, organize activities, unite all forces interested in the Internet cloudy, effectively solve the problem of cloud networking encountered in the process.
Tungsten Fabric Architecture resolve Shu API support TF List
Focus on micro letter: TF Chinese community
Tungsten Fabric Architecture resolve Shu API support TF List

Guess you like

Origin blog.51cto.com/14638699/2466468