<artifactId>vnfmadapter</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
- <name>vfc/nfvo/drivers/vnfm/svnfm/huawei/vnfmadapter</name>
+ <name>vfc-nfvo-driver-vnfm-svnfm</name>
<description>nfvo vnfmadapter</description>
<modules>
<module>VnfmadapterService</module>
if [ $SERVICE_IP ]; then
sed -i "s|\"ip\": \".*\"|\"ip\": \"$SERVICE_IP\"|" vfc/nfvo/driver/vnfm/svnfm/zte/vmanager/driver/pub/config/config.py
- sed -i "s|127\.0\.0\.1|$SERVICE_IP|" vfc/nfvo/driver/vnfm/svnfm/zte/vmanager/run.sh
- sed -i "s|127\.0\.0\.1|$SERVICE_IP|" vfc/nfvo/driver/vnfm/svnfm/zte/vmanager/stop.sh
fi
cat vfc/nfvo/driver/vnfm/svnfm/zte/vmanager/driver/pub/config/config.py
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-sip=127.0.0.1
-nohup python manage.py runserver $sip:8410 > /dev/null &
+nohup python manage.py runserver 0.0.0.0:8410 > /dev/null &
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-sip=127.0.0.1
-ps auxww | grep "manage.py runserver $sip:8410" | awk '{print $2}' | xargs kill -9
+ps auxww | grep "manage.py runserver 0.0.0.0:8410" | awk '{print $2}' | xargs kill -9