#!/bin/sh

HASHSIZE=100

NODE_CONFIG=$MERU_TOP/src/wnc/ip/wncreg/wncnode_config
[ -f /opt/meru/bin/wncnode_config ] && NODE_CONFIG=/opt/meru/bin/wncnode_config

#############################################################
clear
echo "Setting up location table..."
echo "...................................................."
$NODE_CONFIG asc add_stdtype 0 0 hash $HASHSIZE 'ASC Instance (Index)'
$NODE_CONFIG asc add_stdtype 3 0 none 'IP Address'
more /proc/meru/wnc-nodes/asc/reg_state_types
echo "...................................................."
$NODE_CONFIG ats add_stdtype 0 0 hash $HASHSIZE 'ATS Instance (Index)'
$NODE_CONFIG ats add_stdtype 0 0 none 'ASC Instance'
more /proc/meru/wnc-nodes/ats/reg_state_types
echo "...................................................."

