Home
last modified time | relevance | path

Searched refs:_replace_keywords (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/tc-testing/plugin-lib/
H A DnsPlugin.py79 cmd = self._replace_keywords("$IP -a netns del")
167 cmds.append(self._replace_keywords('netns add {}'.format(ns)))
168 cmds.append(self._replace_keywords('link add $DEV1 type veth peer name $DEV0'))
169 cmds.append(self._replace_keywords('link set $DEV1 netns {}'.format(ns)))
170 cmds.append(self._replace_keywords('link add $DUMMY type dummy'.format(ns)))
171 cmds.append(self._replace_keywords('link set $DUMMY netns {}'.format(ns)))
172 cmds.append(self._replace_keywords('netns exec {} $IP link set $DEV1 up'.format(ns)))
173 cmds.append(self._replace_keywords('netns exec {} $IP link set $DUMMY up'.format(ns)))
174 cmds.append(self._replace_keywords('link set $DEV0 up'.format(ns)))
177 cmds.append(self._replace_keywords('link set $DEV2 netns {}'.format(ns)))
[all …]