Lines Matching refs:vrfname
84 local vrfname=$2
88 ip ${nsarg} link add ${vrfname} type vrf table ${vrftable} &>/dev/null
94 local vrfname=$2
99 add_vrf ${nsname} ${vrfname} ${vrftable}; rc=$?
103 log_test ${rc} 0 "${nsname}: add vrf ${vrfname}, ${cnt} vrfs for table ${vrftable}"
109 local vrfname=$2
114 add_vrf ${nsname} ${vrfname} ${vrftable}; rc=$?
118 log_test ${rc} 2 "${nsname}: CANNOT add vrf ${vrfname}, ${cnt} vrfs for table ${vrftable}"
124 local vrfname=$2
127 ip ${nsarg} link del ${vrfname}
128 log_test $? 0 "${nsname}: remove vrf ${vrfname}"
135 local vrfname=$3
138 ip ${nsarg} link set dev ${vrfname} up && \
139 ip ${nsarg} addr add ${addr} dev ${vrfname}
140 log_test $? 0 "${nsname}: vrf ${vrfname} up, addr ${addr}"