Contrail Vs / and Neutron
Contrail provides compatibility with Neutron API. It covers all basic features, but not some service feature, like FWaaS.
The reason for customer to use Neutron API is that, they want to deal with single orchestration interface to manage both VM and networking.
The reason to use Contrail API is that, it provides features that Neutron API doesn't have and it performs lots better:
Service chaining, BMS support, network policy, traffic mirroring
Neutron is the frontend, Contrail is the backend. You get better performance when connecting to the backend directly.
Heat stack is also a good option. It provides a single interface on top of all OpenStack and Contrail APIs.
1- Need to know the API version ( http://172.30.54.71:8774/v2/ )
...
3- get the Token from Keystone ( port 5000 )
Method:
POST: http://172.30.54.71:5000/v2.0/tokens
In the Body:
{
"auth":{
"tenantName":"admin",
"passwordCredentials":{
"username":"admin",
"password":"contrail123"
}
}
}
...