The debug.py command
bgp_view_summary provides information about state of the BGP neighbor and prefixes learned, to verify that BGP is UP and exchanging prefixes. Use the following command to verify if BGP neighborships are established.
vcadmin@vcg1-example:~$ /opt/vc/bin/debug.py --bgp_view_summary | grep Established | wc -l 6 vcadmin@vcg1-1:~$
If the BGP sessions are down, check whether the Gateway is properly connected to the Orchestrator.