aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/vCPE/scripts
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-10-17Fixes for vCPE vG-MUX install scriptEric Multanen1-60/+50
Addresses the following items: - Do not setup auto configuration for eth1 and eth3 These interfaces will be used by vpp so they need to be down - Fix pci bus numbering for vpp interfaces - Fixes to properly create the 'save_config' script - Install linux-image-extra package to get uio_pci_generic driver module for the vpp dpdk interfaces - fix build of honeycomb so the jvpp-ves module built by vpp can be found - Patch libevel.so code to tweak the VES data produced so that sourceId and sourceName come from the openstack vnf_id property (instead of vm_uuid and vm_name) Issue-ID: INT-63 Change-Id: I469c2377df9dd9920a5769628b2b14d043d55d63 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2017-10-10Fix patch URLs for vCPE use case and other fixesEric Multanen1-0/+1
Fixup URLs for the patch files to be applied to VPP and honeycomb components. Fix what looked like a typo in vgmux key attribute. Create maven ~/.m2 directory before saving file to it. Change-Id: Iccd10dac44b51a3ad4721422619c8823d8fa65bb Issue-ID: INT-63 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
2017-09-25Merge "Add scripts to bind nic and set ip"Marco Platania2-1/+57
2017-09-22Add scripts to bind nic and set iproot2-1/+57
Issue-ID: INT-80 Change-Id: Idd407cadae26f354b85a356ce5aaf6e090e03fc1 Signed-off-by: root <rujun.li@intel.com> Signed-off-by: RujunLi <rujun.li@intel.com>
2017-09-22Upgrade VES library from 4.2 to 5.xJohnson Li1-10/+9
Issue-ID: INT-80 Change-Id: I6ae3cabf62c85a8da85c8a4623db4aae0e5e4281 Signed-off-by: Johnson Li <johnson.li@intel.com>
2017-09-14Add patch for BRG and scripts to set the NAT ruleJohnson Li8-4/+1407
Add Framework codes for the vCPE VNFs Issue-ID: INT-80 Change-Id: I312aef9631636f0e2273f482f5db44ca93a55983 Signed-off-by: Johnson Li <johnson.li@intel.com> Signed-off-by: root <rujun.li@intel.com>
2017-09-06Install Apache2 in vWEB vCPE VMMarco Platania1-0/+13
- Install Apache2 - Create a sample index.html web page Change-Id: Id38d7f3a060a298cc424c35d7f7c4dc00cd8b69b Issue-ID: UCA-32 Signed-off-by: Marco Platania <platania@research.att.com>
2017-09-01Add Java repo to all install scriptsMarco Platania8-16/+16
- ONAP install - vCPE/vFW/vLB use cases - Use sources.list.d instead of apt-add-repository - Parametrize the OS name Change-Id: I7287fda8c5f3aa4ecd42ff576ebfd3b937bfa549 Issue-ID: INT-129 Signed-off-by: Marco Platania <platania@research.att.com>
2017-09-01Add the Java repository to vCPE VMsMarco Platania8-16/+24
- Add repos to sources.list.d instead of using add-apt-repository Change-Id: I3f84bce0e189c3c0eed3d3dd2a292761726ec236 Issue-ID: INT-129 Signed-off-by: Marco Platania <platania@research.att.com>
2017-08-30Fix TFTP Server IP in vCPE vDHCPMarco Platania1-1/+1
Change-Id: Id3bccf33de4bb492036e7b1720aa8592b8bfb34c Issue-ID: INT-84 Signed-off-by: Marco Platania <platania@research.att.com>
2017-08-29Install vDNS, vAAA and vDHCP services in vCPEMarco Platania6-4/+75
- Bind as vDNS - FreeRADIUS as vAAA - KEA-DHCP-SERVER as vDHCP Change-Id: I9a54add31542c075163bf946f475a184e14600aa Issue-ID: INT-84 Signed-off-by: Marco Platania <platania@research.att.com>
2017-08-24Add Message Router IP address to vDHCP templateMarco Platania2-1/+4
- Add MR IP to vCPE-Infra Heat template - Modify kea-sdnc-notify.conf for Nexus - Update v_dhcp_install.sh to change the fake MR IP via sed Change-Id: I90faff7142739ca209ab2ad0efe9fd7a8d8dfe95 Issue-ID: UCA-35 Signed-off-by: Marco Platania <platania@research.att.com>
2017-08-11Remove useless commentsMarco Platania7-7/+0
Change-Id: I787ea63999ab302c064f4288ea68bd0de5139d37 Signed-off-by: Marco Platania <platania@research.att.com>
2017-08-11Fix vDHCP startMarco Platania4-4/+114
Change-Id: I68c8a27b27892fb3a1433f73c7a4e199f3d27a3b Signed-off-by: Marco Platania <platania@research.att.com>
2017-08-11Fix path to KEA-DHCP in install scriptMarco Platania1-1/+1
Change-Id: I7098a57356875e0320a9a3bd161f932bd779492c Signed-off-by: Marco Platania <platania@research.att.com>
2017-08-10Fix path to KEA-DHCP in install scriptMarco Platania1-1/+1
Change-Id: Icd5ffa67d9b34162f183080470e9e309c03d5cd6 Signed-off-by: Marco Platania <platania@research.att.com>
2017-08-10Add vCPE use case install scriptsMarco Platania23-0/+1327
Change-Id: I36085089fcb524f9b0526717449feefc1c45f73b Signed-off-by: Marco Platania <platania@research.att.com>
2017-08-10Add vCPE use case heat/install scriptsMarco Platania1-26/+23
Change-Id: I5ec26dc5bdfa647c15b2db88829b75ed713caf42 Signed-off-by: Marco Platania <platania@research.att.com>