summaryrefslogtreecommitdiff
path: root/op-mode-definitions/force-vrf.xml.in
blob: 71f50b0d28514f5033bdb02809038e19bcef3fd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="force">
    <children>
      <tagNode name="vrf">
        <properties>
          <help>Execute shell in given VRF instance</help>
          <completionHelp>
            <path>vrf name</path>
          </completionHelp>
        </properties>
        <command>sudo ip vrf exec $3 su - $(whoami)</command>
      </tagNode>
    </children>
  </node>
</interfaceDefinition>