Steps to Configure Entity API for Pipeline Export.


By design Export configurations is not a part of  Pipeline Export.


So, Pipeline Import will just create the design. We need to Build the pipeline first and then proceed with applying the Export Configurations.

Once the Pipeline is built we can make use of Entity API to Perform the Config Migrations.


Please find the import and export examples for Entity API.


For export use the below syntax.


{protocol}://{ip}:{port}/v1.1/entity/configuration.json?auth_token={auth_token}&entity_id={entity_id}&entity_type={entity_type}


For Import use the below syntax.


{protocol}://{ip}:{port}/v1.1/entity/configure.json?auth_token={auth_token}&entity_id={entity_id}&entity_type={entity_type}


A sample Script which is used for Phoenix export is attached to this article.


Hope this helps.


Thanks,

Sri