# ================================================================================
# Copyright (C) 2017 AT&T Intellectual Property. All rights
# reserved.
+# Modifications Copyright (C) 2020 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
echo "Installing ${SDNC_HOME}/data/sdnctl.dump"
mysql -h dbhost -u root -p${MYSQL_PASSWD} sdnctl < ${SDNC_HOME}/data/sdnctl.dump
fi
-
-for datafile in ${SDNC_HOME}/data/*.data.dump
-do
- echo "Installing ${datafile}"
- mysql -h dbhost -u root -p${MYSQL_PASSWD} sdnctl < $datafile
-done
-
-# Create VNIs 100-199
-${SDNC_HOME}/bin/addVnis.sh 100 199
-
-# Create default ip address pool for VGW
-${SDNC_HOME}/bin/addIpAddresses.sh VGW 10.5.0 22 250
-
-# Drop FK_NETWORK_MODEL foreign key as workaround for SDNC-291.
-${SDNC_HOME}/bin/rmForeignKey.sh NETWORK_MODEL FK_NETWORK_MODEL