The doctrail utility for the OpenContrail containers in OpenStack

The doctrail utility for the OpenContrail containers in OpenStackΒΆ

In an OpenStack-based MCP environment, the OpenContrail installation includes the doctrail utility that provides an easy access to the OpenContrail containers. Its default installation folder is /usr/bin/doctrail.

The doctrail usage is as follows:

doctrail {analytics|analyticsdb|controller|all} {<command_to_send>|console}

The acceptable destinations used by doctrail are as follows:

  • controller for the OpenConrail controller container (console, commands)

  • analytics for the OpenConrail analytics container (console, commands)

  • analyticsdb for the OpenConrail database of the analytics container (console, commands)

  • all for all containers on the host (commands only)

The doctrail commands examples:

# Show contrail-status on all containers on this host
doctrail all contrail-status

# Show contrail-status on controller container
doctrail controller contrail-status

# Restart contrail-database on controller container
doctrail controller service contrail-database restart

# Connect to the console of controller container
doctrail controller console

# Connect to the console of analytics container
doctrail analytics console