package
2.1.4+incompatible
Repository: https://github.com/shivkb/contiv-vpp.git
Documentation: pkg.go.dev
# README
Contivvpp-UI backend
Backend acts as a proxy. It exposes three endpoints:
/api/k8s/<kubernetes-api-path>
forwards requests to kubernetes API e.g.:
will sendcurl http://localhost:32500/api/k8s/api/v1/pods
/api/v1/pods
to k8s API server and forwards the reply back to the client./api/contiv/<contiv-api-path>?vswitch=<node_ip>
forwards requests to a given vswitch e.g.:
will sendcurl http://localhost:32500/api/contiv/contiv/v1/ipam?vswitch=10.20.0.10
contiv/v1/ipam
to vswitch running at IP10.20.0.10
/api/netctl?master=<master_ip>
executes contiv-netctl command with arguments provided in request body in format of JSON array. e.g.:
will execute commandcurl -X POST -H "Content-Type: application/json" localhost:32500/api/netctl?master=10.0.2.15 -d '["nodes"]'
contiv-netctl nodes