This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
HOST_IP=192.168.56.105 | |
ADMIN_TOKEN=$(\ | |
curl http://192.168.56.105:5000/v3/auth/tokens \ | |
-s \ | |
-i \ | |
-H "Content-Type: application/json" \ | |
-d ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Source the admin credentials ### | |
source ~/keystonerc_admin | |
#Variables definition. These variables are required for all the neutron operation. ####### | |
first_tenant_name=tenantA | |
first_tenant_networkname=tenantA-net | |
first_tenant_subnetname=tenantA-subnet | |
first_tenant_subnetaddress=10.0.0.0/24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Source the admin credentials ### | |
source ~/keystonerc_admin | |
#Variables definition. These variables are required for all the neutron operation. ####### | |
network_name=demo-net | |
subnet_name=demo-subnet | |
subnet_address=10.0.0.0/24 | |
router_name=demo-router |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Author: vishmule | |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: vishmule | |
# Configure VMs before installation of Kubernetes components | |
## Disable Selinux | |
setenforce 0 | |
sed -i 's/^SELINUX=enforcing$/SELINUX=permissive/' /etc/selinux/config | |
## Update IP table setting | |
## This ensures that packets are properly processed by IP tables during filtering and port forwarding. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author : vishmule | |
# Install VirtualBox and Vagrant on Linux Host machine | |
## Install following pre-requisites required for VirtualBox Installation | |
yum install compat-libstdc++-33 SDL wget | |
yum install gcc kernel-devel make libGL qt qt-devel libXmu | |
## Download and Install VirtualBox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Author: vishmule | |
## These steps will install VirtualBox and Vagrant on Windows VM | |
# Install chocolatey package manager for Windows. | |
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex | |
# Install VirtuaBox on Winodws | |
choco install virtualbox -y |