aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/vCPE/scripts
AgeCommit message (Collapse)AuthorFilesLines
2018-08-13Merge "Automate vCPE vG-MUX and VG build image process"Marco Platania4-14/+80
2018-08-10Automate vCPE vG-MUX and VG build image processPraneta Paithankar4-14/+80
Build script is executed with its heat template. script_status.txt in /opt folder will show the status of execution of build and install script. Issue-ID: INT-620 Change-Id: I4b0b5c49ed20458b21423fc83545203e1aea02f5 Signed-off-by: Praneta Paithankar <praneta.paithankar@intel.com>
2018-08-08Merge "Refactor vCPE vG-MUX and vG image creation process"Marco Platania4-524/+490
2018-08-07Refactor vCPE vG-MUX and vG image creation processPraneta Paithankar4-524/+490
Separate heat/env templates and build scripts have been created for vG-MUX and vG The build logic and parameters are removed from the install scripts and the base heat/env files used to deploy the VMs. For backwards compatibility, the compile_state parameter was added to both VMs.  Small corrections were made to the heat templates for clarity. Issue-ID: INT-615 Change-Id: I3180654f959776ebd4706613e00b9faff3f72e9e Signed-off-by: Praneta Paithankar <praneta.paithankar@intel.com>
2018-08-07Refactor vCPE vBRG and vBNG image creation processMariah Jacobs4-287/+265
Separate templates and build scripts have been created for vBRG and vBNG. Build logic and parameters are removed from install scripts and base heat/env files used to deploy the VMs. For backwards compatibility, compile_state parameter was added to both VMs. Small corrections were made to the heat templates for clarity. Issue-ID: INT-615 Change-Id: Ia171994d2f4e17523f319b0a048d77fec29e487b Signed-off-by: Mariah Jacobs <mariah.jacobs@intel.com>
2018-07-19Deprecate use of sites/raw for vnf HEAT templatesGary Wu8-26/+18
Replace the use of sites/raw in vnf HEAT templates with zipped script artifacts Change-Id: I93c331c0f4753e8bf661e5a577463ab38bd116f5 Issue-ID: INT-592 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-07-19Fix vnf script groupIdsGary Wu1-1/+1
Change-Id: I5411f69a8c438d2588678bb7f2613c4303217f26 Issue-ID: INT-592 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-07-19Package and deploy VNF scriptsGary Wu2-0/+88
The deployment of VNF scripts to sites/raw was deprecated. This packages up those scripts ad Maven artifacts. Change-Id: I7ba52c9c75c7c76676634cbfb7d915c0a5a2956f Issue-ID: INT-592 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-07-16Merge "Update vCPE vBNG vpp to released version"Marco Platania1-2/+2
2018-07-12Fix vGMUX building from snapshot dependency issuesEnyinna Ochulor1-4/+4
The vgmux env, yaml, install script, and hc2vpp patch files were edited to remove snapshot dependencies. Change-Id: Ibfdef8cf35013c4fea8254437d12098a0bb82575 Issue-ID: INT-525 Signed-off-by: Enyinna Ochulor <enyinna.ochulor@intel.com>
2018-07-12Update vCPE vBNG vpp to released versionMariah Jacobs1-2/+2
Maintain consistency across VNFs with the snapshot dependency build fix. Checkout vpp released code rather than stable branch. Modify heat and env template parameters to specify release tag is checked out. Issue-ID: INT-525 Change-Id: I190f47053a593040fe0cbfbda1da2fbef839e3fc Signed-off-by: Mariah Jacobs <mariah.jacobs@intel.com>
2018-07-11Fix vDHCP CPE_PUBLIC configBrian Freeman1-5/+10
Issue-ID: TEST-104 Change-Id: I9f2fcbe1f929240045b971dfff854423df254cbc Signed-off-by: Brian Freeman <bf1936@att.com>
2018-07-11Merge "Fix vCPE VNF vBRG image build issue"Marco Platania1-4/+4
2018-07-10Fix vCPE VNF vBRG image build issueMariah Jacobs1-4/+4
Checkout hc2vpp and vpp released code rather than stable branches. Modify heat and env template parameters to specify release tag is checked out. The buildable vBRG image is no longer dependent on snapshot artifacts. Issue-ID: INT-525 Change-Id: Ic13ce1c11138856a0958ec8af0c2c9f293f206f9 Signed-off-by: Mariah Jacobs <mariah.jacobs@intel.com>
2018-07-10Fix VPP vCPE VNF vGW image build issuePraneta Paithankar1-5/+5
The honeycomb software of VPP vCPE vGW image can not built. The builds were dependent on snapshot artifacts. These artifacts have now disappeared from upstream fd.io nexus. vGW heat template files i.e. base_vcpe_vgw.env and base_vcpe_vgw.yaml are modified. Now heat templates work with release tag of vpp and hc2vpp repositories. v_gw_install.sh is modified accordingly. Issue-ID: INT-525 Change-Id: I61d9d313ff619729b54cbda959d5daeec557c5b6 Signed-off-by: Praneta Paithankar <praneta.paithankar@intel.com>
2018-06-07Add script for Change ManagementMarco Platania1-0/+49
Change-Id: Id59d701913d18cdb0cf0bfdcc79cd79563db4aa4 Issue-ID: SO-602 Signed-off-by: Marco Platania <platania@research.att.com>
2018-06-05Update for OOM DMaaP PortBrian Freeman2-2/+4
Issue-ID: INT-522 Change-Id: I7d29fee829312559554dd8c95b39dce1aabe0f3b Signed-off-by: Brian Freeman <bf1936@att.com>
2018-01-03Fixed DHCP server problemSrivahni1-2/+4
Moved DHCP server installation to the build phase of the deployment to eliminate the problem of it going down sometimes. Change-Id: I7a5db7aacb57600fe14b1cae9d10caab1593b24e Issue-ID: INT-63 Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
2017-11-29Reset VES packet loss rate to zero on rebootEric Multanen1-26/+14
Adds logic to reset the VES packet loss rate to 0% when the vg-mux is rebooted. As part of this change, the VES agent configuration will only be restored via the honeycomb persistence mechanism. So, if the VES agent is configured via the vppctl CLI, that setting will not be saved during shutdown. In other words, setting of the VES agent and VES mode should be done via the honeycomb REST API in order for the configuration to be persisted across reboot (with the pkt loss rate being reset to 0 %). Change-Id: I8d1f43316d9608f8d7e7ce919f129ce8fe48aa7f Issue-ID: INT-63 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2017-11-17Fixed tap, lstack and DHCP problemsSrivahni1-13/+39
Moved tap and lstack configuration from setup.gate file to vGW init script Created vGW service to start after honeycomb service and modified DHCP service to start after vGW service Change-Id: Ib6936f6a1108ccdc34b3257a7bb82b49661f1e3b Issue-ID: INT-63 Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
2017-11-16Added vxlan tunnel creationSrivahni1-0/+2
Added vxlan tunnel creation to vGW install script Change-Id: Ie43bbdc66a3ff607f8dd6c203910d45c6052c954 Issue-ID: INT-63 Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
2017-11-16Merge "Removed tunnel creation from vGW install script"Marco Platania1-4/+1
2017-11-15Merge "Fixed bug in v_brgemu_install.sh"Marco Platania1-2/+4
2017-11-14Fixed bug in v_brgemu_install.shItohan1-2/+4
Moved creation of nat_service.sh to an if block Issue-ID: INT-63 Change-Id: I44a86012dd08359859c24c41a7c6693b9b3429a2 Signed-off-by: Itohan <itohan.ukponmwan@intel.com>
2017-11-14Configure honeycomb NAT settings after vpp crashItohan2-4/+30
Modified vbrg install script to include a service to reconfigure vpp honeycomb NAT after vpp crash Modified vbrg init script to start nat service Change-Id: I417caa5759d83b429ca4b44f42737c0f9061a3d8 Issue-ID: INT-63 Signed-off-by: Itohan <itohan.ukponmwan@intel.com>
2017-11-14Merge "Configure honeycomb NAT settings after vpp crash"Marco Platania2-4/+30
2017-11-10Removed tunnel creation from vGW install scriptSrivahni1-4/+1
Removed vG-vGMUX vxlan tunnel creation from vGW install script to create the tunnel via Directed Graph. Change-Id: I3d4aa143d299d54bcf638a946fcee70dad24ac15 Issue-ID: INT-63 Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
2017-11-08Install DHCP CPEPUBLCBrian Freeman3-3/+76
Issue-ID: INT-81 Change-Id: If6e695f0a6783f00be2ee98461897fd5a60b797a Signed-off-by: Brian Freeman <bf1936@att.com>
2017-11-07Merge "Updated vGW env, yaml and install scripts"Marco Platania1-5/+11
2017-11-06Configure route to vBRG via vBNG on vGMUXEric Multanen1-2/+5
Add parameters to the heat template to allow configuration of the route the vBRG from the vGMUX via the vBNG. Change-Id: I7aef31af7470ceb264af06326af8724246c7d8ed Issue-ID: INT-63 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2017-11-06Updated vGW env, yaml and install scriptsSrivahni1-5/+11
Included mux_ip_addr and vg_vgmux_tunnel_vni parameters in the env file Included definitions for mux_ip_addr and vg_vgmux_tunnel_vni in the yaml file Change-Id: Ibbfca035e44f00094e5231bb3d21610e9b1c239c Issue-ID: INT-63 Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
2017-11-03Update the v_bng init script to wait for tap0Matt Welch1-1/+9
A route wasn't being added by the init script because vpp was not yet ready. This change will cause the init script to wait until the tap0 device has been created. Change-Id: Ief11ce332e0ddfdf40b1fe8b9e067edf38568db0 Issue-ID: INT-63 Signed-off-by: Matt Welch <matt.welch@intel.com>
2017-11-03Merge "Update vBNG for communication with SDNC"Marco Platania2-0/+12
2017-11-03Merge "Modified vbrg install script to fix tap problems"Marco Platania1-22/+17
2017-11-02Modified vbrg install script to fix tap problemsItohan1-22/+17
Added variables for vpp tap names Modified vpp setup.gate file Change-Id: Iddf339248d6de83e16a24587f6d5625dbe124990 Issue-ID: INT-63 Signed-off-by: Itohan <itohan.ukponmwan@intel.com>
2017-11-02Update vBNG for communication with SDNCMatt Welch2-0/+12
Enable ipv4 forwarding on vbng and add config to enable communication with the sdnc VNF. Updated 'dummy' addresses from 30.0.0.0/24 to 192.168.40.0/24 subnet to prevent collision with public IP subnet. Change-Id: I89d3b8d972822caaedeab2aa00dd4a0c9f19654d Issue-ID: INT-63 Signed-off-by: Matt Welch <matt.welch@intel.com>
2017-11-02Merge "Modified vbrg install script for sdnc config"Marco Platania1-3/+22
2017-11-01Modified vbrg install script for sdnc configItohan1-3/+22
Modified script to include sdnc routing and arp configurations Change-Id: I510a8abd11dc6df0d5cedc657d6229a1fd243f59 Issue-ID: INT-63 Signed-off-by: Itohan <itohan.ukponmwan@intel.com>
2017-11-01Fix Default GatewayBrian Freeman2-11/+12
Issue-ID: UCA-40 Change-Id: I2a7d48854f674d0eeadcf952afcf1d780b455e7d Signed-off-by: Brian Freeman <bf1936@att.com>
2017-10-30Fixed bug in vbrg install script here documentItohan1-2/+5
Modified script to correctly configure snat rules Change-Id: Ie88f747f05745070cfdab2f35eb78f2f01177436 Issue-ID: INT-63 Signed-off-by: Itohan <itohan.ukponmwan@intel.com>
2017-10-30Merge "Change listener to eth1"Marco Platania1-1/+2
2017-10-28Change listener to eth1Pilot1-1/+2
Issue-ID: UCA-39 Change-Id: Ib66b6cc353f68b820716ed7548b2c86a30420025 Signed-off-by: bdfreeman1421 <bf1936@att.com> Signed-off-by: Pilot <bf1936@att.com>
2017-10-27vCPE vBNG: fix v_bng_install.sh, env, & yamlMatt Welch2-127/+152
Update vBNG environment and heat templates. Update v_bng installer for ONAP cloud environment, add 'build state' control to phases of the installer. Automatically detect ethernet pci devs for vpp. Remove binary blobs from Vpp-Integrate-FreeRADIUS-Client-for-vBNG.patch (cause of the HUGE line count in this patch) Modify Vpp patch to include dhcp.api.h file which fixes build errors. Change-Id: If9e61185f2dde9095efda08aa8f72c2c03c475e7 Issue-ID: INT-63 Signed-off-by: Matt Welch <matt.welch@intel.com>
2017-10-27Merge "Fixed vbrg Install, env and yaml scipts"Marco Platania1-254/+283
2017-10-27Fixed vbrg Install, env and yaml sciptsItohan1-254/+283
Fixed bugs in vCPE vbrg emulator install script Modified Script to include different build modes Fixed here documents bind_nic.sh and set_nat.sh Commented out the 192.168.1.0/24 network configurations in the yaml and env files Change-Id: I2f6dee1843e6e289fe199844ed80d010257bce63 Issue-ID: INT-63 Signed-off-by: Itohan <itohan.ukponmwan@intel.com>
2017-10-26Modified vGW .env, .yaml and install scriptsSrivahni1-76/+114
Configured vGW .env file Configured vGW .yaml file to not run the install script Modified vGW install script and included different build modes Change-Id: I178cc1909ffa13fc5164e142de1de78b1366c624 Issue-ID: INT-63 Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
2017-10-26vCPE vG-MUX- fix auto ugrade disable configurationEric Multanen1-1/+7
Move configuration of disabling auto upgrade to the 'build' phase of the install script. Also, disable the setting in the /etc/apt/apt.conf.d/20auto-upgrades file. Auto upgrade of the kernel without associated packages can cause vpp to stop working. This should help keep the demo instances running without occasional failures. Change-Id: Ief46bc7866a94d67fe2c3d2fe2d1f22bb4433aa9 Issue-ID: INT-63 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2017-10-26vCPE vG-MUX - fixup default vpp configurationEric Multanen1-6/+19
Instead of hard coding VPP interface names, derive them from the PCI addresses of the network devices when setting up the default vpp configuration in /etc/vpp/setup.gate. Also, remove the vxlan tunnel configuration from the default vpp configuration - this will be created by SDNC. Change-Id: Ife48ac19b8d3869c7d65e83bdf8ab9a5a2c3301c Issue-ID: INT-63 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2017-10-24Fixes for the vCPE vG-MUX install scriptEric Multanen1-125/+155
This change improves the vG-MUX install script by: - setting bng-mux network IP and mux-gw IP from environment variables instead of hardcoded values - provides ability to use script to prepare a snapshot image with the vpp and honeycomb binaries pre-compiles to improve vnf deployment time (was taking about 40 minutes). Change-Id: Ib5423af6d88f4501ac3ecfd4a4cbc9b315460194 Issue-ID: INT-63 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2017-10-18Fixup errors in vgmux install scriptEric Multanen1-2/+2
Correct a couple typos made in the vgmux install script. Change-Id: Ib6eff3a875c3588bb1aad42a4105827d883b9c8d Issue-ID: INT-63 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>