diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-06-20 22:58:12 +0000 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-06-20 22:58:12 +0000 |
commit | 831845a659ffe6d054d09d19364021519f211a23 (patch) | |
tree | d2ca8453930da1e91e4a597fbb4091430edd3bf2 /templates/renew/dhcp | |
parent | 1772280e0ca4db5b3cc4202f92cc49b49d25d66f (diff) | |
download | vyatta-op-831845a659ffe6d054d09d19364021519f211a23.tar.gz vyatta-op-831845a659ffe6d054d09d19364021519f211a23.zip |
Fix bug 3059 Operator Level commands for DHCP client
implemented op-mode commands for DHCP client:
'release dhcp interface <>'
'renew dhcp interface <>'
Diffstat (limited to 'templates/renew/dhcp')
-rw-r--r-- | templates/renew/dhcp/interface/node.def | 1 | ||||
-rw-r--r-- | templates/renew/dhcp/interface/node.tag/node.def | 5 | ||||
-rw-r--r-- | templates/renew/dhcp/node.def | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/templates/renew/dhcp/interface/node.def b/templates/renew/dhcp/interface/node.def new file mode 100644 index 0000000..87993a9 --- /dev/null +++ b/templates/renew/dhcp/interface/node.def @@ -0,0 +1 @@ +help: Renew DHCP client lease for specified interface diff --git a/templates/renew/dhcp/interface/node.tag/node.def b/templates/renew/dhcp/interface/node.tag/node.def new file mode 100644 index 0000000..460e2f6 --- /dev/null +++ b/templates/renew/dhcp/interface/node.tag/node.def @@ -0,0 +1,5 @@ +help: Renew DHCP IP address lease for specified interface +run: + IFNAME=${4} + /opt/vyatta/sbin/vyatta-interfaces.pl --op-command dhcp-renew --dev $IFNAME + diff --git a/templates/renew/dhcp/node.def b/templates/renew/dhcp/node.def new file mode 100644 index 0000000..78b64fb --- /dev/null +++ b/templates/renew/dhcp/node.def @@ -0,0 +1 @@ +help: Renew DHCP client lease |