Jump to: navigation, search

StarlingX/NFV/VIM Webserver

< StarlingX‎ | NFV
Revision as of 16:23, 26 April 2019 by Bart Wensley (talk | contribs) (Created page with "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...")
(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.