Lines Matching refs:vrfname
89 local vrfname=$2
93 ip ${nsarg} link add ${vrfname} type vrf table ${vrftable} &>/dev/null
99 local vrfname=$2
104 add_vrf ${nsname} ${vrfname} ${vrftable}; rc=$?
108 log_test ${rc} 0 "${nsname}: add vrf ${vrfname}, ${cnt} vrfs for table ${vrftable}"
114 local vrfname=$2
119 add_vrf ${nsname} ${vrfname} ${vrftable}; rc=$?
123 log_test ${rc} 2 "${nsname}: CANNOT add vrf ${vrfname}, ${cnt} vrfs for table ${vrftable}"
129 local vrfname=$2
132 ip ${nsarg} link del ${vrfname}
133 log_test $? 0 "${nsname}: remove vrf ${vrfname}"
140 local vrfname=$3
143 ip ${nsarg} link set dev ${vrfname} up && \
144 ip ${nsarg} addr add ${addr} dev ${vrfname}
145 log_test $? 0 "${nsname}: vrf ${vrfname} up, addr ${addr}"