Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

vCPE Use Case - Customer Service Instantiation - 171103.pdf

11/17/2017

  1. Regression test in SB01 passed.

11/16/2017

  1. Custom service instantiation succeeded in SB01 new install.
  2. To do data plane test from BRG to the web server, follow the steps below

    Code Block
    collapsetrue
    On the vGW:
    
    # restart the dhcp server
    (https://gerrit.onap.org/r/24151
    -should fix this once it is reviewed and merged)
    systemctl
    restart isc-dhcp-server
    
    On the vBRG:
    # get ip address from vGW
    for the lstack interface (should be something like 192.168.1.2)
    
    dhclient
    lstack
    
    # add route to the 10.2.0.0
    network
    ip
    route add 10.2.0.0/24 via 192.168.1.254 dev lstack
    
    # finally:
    wget
    http://10.2.0.10
    
    returns
    the index.html file from the web server at 10.2.0.10

...

  1. VNF Doc: ONAP vCPE VPP-based VNF Installation and Usage Information
  2. DCAE mS Deployment (Standalone instantiation)
  3. SNIRO Emulator


export MULTICLOUD_PLUGIN_ENDPOINT=http://10.0.14.1:9005/api/multicloud-titanium_cloud/v0/pod25_RegionOne

 

export TOKEN=$(curl -v -s -H "Content-Type: application/json" -X POST -d '{ }'  $MULTICLOUD_PLUGIN_ENDPOINT/identity/v3/auth/tokens 2>&1 | grep X-Subject-Token | sed "s/^.*: //")

 

export PROJECT_ID=466979b815b5415ba14ada713e6e1846

 

curl -v -s  -H "Content-Type: application/json" -H "X-Auth-Token: $TOKEN" -X GET $MULTICLOUD_PLUGIN_ENDPOINT/compute/v2.1/$PROJECT_ID/servers

 

curl -v -s -H "Content-Type: application/json" -H "X-Auth-Token: $TOKEN" -X POST -d '{"os-stop":null}'  $MULTICLOUD_PLUGIN_ENDPOINT/compute/v2.1/$PROJECT_ID/servers/0a06842a-4ec4-4918-b046-399f6b38f5f9/action

 

curl -v -s -H "Content-Type: application/json" -H "X-Auth-Token: $TOKEN" -X POST -d '{"os-start":null}'  $MULTICLOUD_PLUGIN_ENDPOINT/compute/v2.1/$PROJECT_ID/servers/0a06842a-4ec4-4918-b046-399f6b38f5f9/action