blob: dfdc1e3716a6824fed53c98a1eb256f9c72e739d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?xml version="1.0"?>
<interfaceDefinition>
<node name="execute">
<children>
<node name="shell">
<properties>
<help>Execute shell</help>
</properties>
<children>
<tagNode name="netns">
<properties>
<help>Execute shell in given Network Namespace</help>
<completionHelp>
<path>netns name</path>
</completionHelp>
</properties>
<command>sudo ip netns exec $4 su - $(whoami)</command>
</tagNode>
<tagNode name="vrf">
<properties>
<help>Execute shell in given VRF instance</help>
<completionHelp>
<path>vrf name</path>
</completionHelp>
</properties>
<command>sudo ip vrf exec $4 su - $(whoami)</command>
</tagNode>
</children>
</node>
</children>
</node>
</interfaceDefinition>
|