summaryrefslogtreecommitdiffstats
path: root/vagrant-demo/ncmount.sh
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-08-19 16:56:57 +0200
committerMarek Gradzki <mgradzki@cisco.com>2016-08-19 17:05:43 +0200
commitb47d696bf3bd5640f44b43cdb12688dc19a0b5d7 (patch)
treebb0897c3590535664cf7e5ee65662ef7ca927779 /vagrant-demo/ncmount.sh
parent0ce0fa21ea0ae4f6e2b56546a8275901f9cf8196 (diff)
Remove vagrant scripts
Scripts were not updated for a long time, and are not actually needed. VPP vagrant scripts can be used instead. Honeycomb build needs only mvn and Java8. Change-Id: Icba286793fad4780f3ee1a3565a15b303146c82f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'vagrant-demo/ncmount.sh')
-rwxr-xr-xvagrant-demo/ncmount.sh35
1 files changed, 0 insertions, 35 deletions
diff --git a/vagrant-demo/ncmount.sh b/vagrant-demo/ncmount.sh
deleted file mode 100755
index 684c38a31..000000000
--- a/vagrant-demo/ncmount.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-
-add_vpp() {
- odl_ip=$1
- vpp_host=$2
- vpp_ip=$3
- vpp_port=$4
-
- vpp_username=admin
- vpp_password=admin
-
- put_data='<node xmlns="urn:TBD:params:xml:ns:yang:network-topology">
- <node-id>'$vpp_host'</node-id>
- <host xmlns="urn:opendaylight:netconf-node-topology">'$vpp_ip'</host>
- <port xmlns="urn:opendaylight:netconf-node-topology">'$vpp_port'</port>
- <username xmlns="urn:opendaylight:netconf-node-topology">admin</username>
- <password xmlns="urn:opendaylight:netconf-node-topology">admin</password>
- <tcp-only xmlns="urn:opendaylight:netconf-node-topology">false</tcp-only>
- <keepalive-delay xmlns="urn:opendaylight:netconf-node-topology">0</keepalive-delay>
- </node>
- '
-curl -u admin:admin -X PUT -d "$put_data" -H 'Content-Type: application/xml' http://$odl_ip:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/$vpp_host
-}
-
-if [ -z "$1" ] ||
- [ -z "$2" ] ||
- [ -z "$3" ] ||
- [ -z "$4" ]; then
- echo "usage: ./ncmount.sh <controllerIP_for_mount> <vpp_instance_name> <vpp_IP> <NETCONF_port>
- ie ./ncmount.sh 127.0.0.1 vpp1 192.168.10.12 2830"
- exit 1
-fi
-
-add_vpp $1 $2 $3 $4