Jump to: navigation, search

StarlingX/NFV/VIM Webserver

< StarlingX‎ | NFV
Revision as of 14:48, 23 August 2019 by Bart Wensley (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The VIM has an internal webserver running for debug purposes. This runs on port 32323 but is not accessible from outside the controller. To open up this port, do the following:

# create GlobalNetworkPolicy for VIM webserver access
kubectl apply -f - <<EOF
apiVersion: crd.projectcalico.org/v1
kind: GlobalNetworkPolicy
metadata:
  name: allow-vim-webserver
spec:
  ingress:
  - action: Allow
    destination:
      ports:
      - 32323
    protocol: TCP
  order: 500
  selector: has(iftype) && iftype == 'oam'
  types:
  - Ingress
EOF

Once that is done, the VIM webserver can be reached at <OAM IP>:32323.