Руководство Разработчика для Cisco Cisco Virtual Topology System 2.0
VTS 2.0 Developer Guide
35
External Network Attach
External Network Detach
5 Debugging and troubleshooting
5.1 VTS
5.1.1 Services
There are 3 VTS specific services on VTC :
1) ncs:. The controller and handles NB API etc.
2) tomcat7: Handles the user interface
3) vtsWebServer: Handles Auto Discovery API and Openstack Plugin installation
2) tomcat7: Handles the user interface
3) vtsWebServer: Handles Auto Discovery API and Openstack Plugin installation
etc.
These services are managed via the Linux service commands, e.g. “service <service-
name> status” to query a service.
name> status” to query a service.
5.1.2 Logs
The VTC logs are collected in the /var/log/ncs directory
6 Appendix
This appendix explains the YANG model for the VTS REST API.
6.1 VTS Types
module cisco-vts-types {
POST
/interface/{router_name}/{external_name}?action=attach
Attaches external
network named
{external_name} to
router
{router_name}
network named
{external_name} to
router
{router_name}
POST
/interface/{router_name}/{external_name}?action=detach
Detaches
external
network named
{external_name}
to router
{router_name}
external
network named
{external_name}
to router
{router_name}