Difference between revisions of "StarlingX/NFV/VIM Webserver"
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...") |
Bart Wensley (talk | contribs) |
||
Line 1: | Line 1: | ||
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: | 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: | ||
<pre> | <pre> | ||
− | + | # 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 | |
</pre> | </pre> | ||
Once that is done, the VIM webserver can be reached at <OAM IP>:32323. | Once that is done, the VIM webserver can be reached at <OAM IP>:32323. |
Latest revision as of 14:48, 23 August 2019
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.