Merge branch 'master' of github.com:open-cloud/xos
diff --git a/xos/configurations/cord/make-vtn-networkconfig-json.sh b/xos/configurations/cord/make-vtn-networkconfig-json.sh
index c4506cc..761ccb2 100755
--- a/xos/configurations/cord/make-vtn-networkconfig-json.sh
+++ b/xos/configurations/cord/make-vtn-networkconfig-json.sh
@@ -1,5 +1,7 @@
FN=$SETUPDIR/vtn-network-cfg.json
+echo "Writing to $FN"
+
rm -f $FN
cat >> $FN <<EOF
@@ -12,6 +14,10 @@
NODES=$( sudo bash -c "source $SETUPDIR/admin-openrc.sh ; nova hypervisor-list" |grep enabled|awk '{print $4}' )
+# also configure ONOS to manage the nm node
+NM=`grep "^nm" $SETUPDIR/fqdn.map | awk '{ print $2 }'`
+NODES="$NODES $NM"
+
NODECOUNT=0
for NODE in $NODES; do
((NODECOUNT++))