DSC REST API Generator (DRAG) and DSC data models

The DSC REST API is generated automatically based on the data model using DSC REST API Generator (DRAG) utility. The DSC data model is an XML file with nodes describing Predix Experience (Px) containers and types. The data model is parsed to create the REST API definitions or entry points.

The schema of the XML files is based on the application's DEF files and uses the YANG data modeling language (as defined in RFC-6020) for descriptions and can exist in different formats such and YIN and YANG. These formats are interchangeable and have the same information. The YIN notation enables YANG data model to be represented in XML and use a rich set of XML-based tools for data filtering and validation, generation of code and documentation.

During the nightly build, the DSC data models are generated as YIN files for every supported application. After the data models are generated, the DSC REST API Generator (DRAG) processes the data models and produces a web application (DRAG instance), which serves the REST API. 

Upon receiving an HTTP request, the DRAG instance converts the incoming HTTP method (GET, POST, PUT, or DELETE) and URL into a TL1 command. 

There is one dedicated TL1 socket connection for each user/password combination.

The objects which can be operated upon (POST/PUT/DELETE) are subsets of objects that can be read (GET). For example, in the case of the DSC application, an API can read DSC instances in response to a read request but can not create a DSC instance in response to create request.  In other words, for each object, the REST API does not necessary support all four HTTP methods.

For more information about the HTTP methods, see HTTP Methods.

The DSC data models contain all the definitions required for the provisioning. The following table summarizes supported applications and corresponding data models.



Number Portability Gateway (NPGW)


Diameter Signaling Controller (DSC)


InterWorking Function (IWF)


Intelligent Network Application Protocol Gateway (INAPGW)


Message Transfer Part Level 3 (MTP3)


Signaling Connection Control Part (SCCP).


Gateway Screening and MSU Tracing (GWST)


Global Title Translation (GTT)


Signaling Gateway (SG)


Point Code Emulation (PCE)


L4 Converter (L4CVTR)


Integrated Monitoring Feed (IMF)


Message Transfer Part Level 2 (MTP2)sonusIOHW.yin