Lines Matching refs:vrfname
87 local vrfname=$2
91 ip ${nsarg} link add ${vrfname} type vrf table ${vrftable} &>/dev/null
97 local vrfname=$2
102 add_vrf ${nsname} ${vrfname} ${vrftable}; rc=$?
106 log_test ${rc} 0 "${nsname}: add vrf ${vrfname}, ${cnt} vrfs for table ${vrftable}"
112 local vrfname=$2
117 add_vrf ${nsname} ${vrfname} ${vrftable}; rc=$?
121 log_test ${rc} 2 "${nsname}: CANNOT add vrf ${vrfname}, ${cnt} vrfs for table ${vrftable}"
127 local vrfname=$2
130 ip ${nsarg} link del ${vrfname}
131 log_test $? 0 "${nsname}: remove vrf ${vrfname}"
138 local vrfname=$3
141 ip ${nsarg} link set dev ${vrfname} up && \
142 ip ${nsarg} addr add ${addr} dev ${vrfname}
143 log_test $? 0 "${nsname}: vrf ${vrfname} up, addr ${addr}"