Overview | Index by: file name | procedure name | procedure call | annotation

interface-1.0.tm Annotations

Created from source/modules/interface-1.0.tm
The "interface" module defines commands for interface configuration. @todo Better value checking within each handler: Mtu, Mac, ...

Procedure Summary
check { }
          
constructor { }
          
description { }
          
destructor { }
          
dlist_interfaces { sid args }
          Alias of
event_INTERFACE_LINKSTATE { tag event details }
          
get_interfaces { args }
          Get the list of intefaces currently on the
get_mac { iface }
          Get the the mac addess of an
get_mtu { iface }
          Get interface
get_state { iface }
          Get interface
iface_print_callback { name }
          Register callback procs to be called when generating interface running-conf
iface_rename_callback { name }
          Register callback procs to be called when renaming an
print_Interface { }
          
print_RenameInterface { }
          
reset { }
          
version { }
          

Procedure Detail

check

proc check {  }
Defined in:
interface-1.0.tm, line 49

constructor

proc constructor {  }
Defined in:
interface-1.0.tm, line 92

description

proc description {  }
Defined in:
interface-1.0.tm, line 41

destructor

proc destructor {  }
Defined in:
interface-1.0.tm, line 144

dlist_interfaces

proc dlist_interfaces { sid args }
Alias of get_interfaces.
Defined in:
interface-1.0.tm, line 206

event_INTERFACE_LINKSTATE

proc event_INTERFACE_LINKSTATE { tag event details }
Defined in:
interface-1.0.tm, line 447

get_interfaces

proc get_interfaces { args }
Get the list of intefaces currently on the system
Parameters:
flags - -loopback : Don't include loopback interfaces in returned list.
Returns:
A list consisting of all the interface names.
Defined in:
interface-1.0.tm, line 192

get_mac

proc get_mac { iface }
Get the the mac addess of an interface.
Parameters:
iface - Interface name.
Returns:
Corresponding mac.
Defined in:
interface-1.0.tm, line 165

get_mtu

proc get_mtu { iface }
Get interface MTU.
Parameters:
iface - Interface name.
Returns:
Corresponding mtu.
Defined in:
interface-1.0.tm, line 183

get_state

proc get_state { iface }
Get interface state.
Parameters:
iface - Interface name.
Returns:
"up", "down", or "unknown".
Defined in:
interface-1.0.tm, line 174

iface_print_callback

proc iface_print_callback { name }
Register callback procs to be called when generating interface running-conf section.
Defined in:
interface-1.0.tm, line 211

iface_rename_callback

proc iface_rename_callback { name }
Register callback procs to be called when renaming an interface.
Defined in:
interface-1.0.tm, line 217

print_Interface

proc print_Interface {  }
Defined in:
interface-1.0.tm, line 243

print_RenameInterface

proc print_RenameInterface {  }
Defined in:
interface-1.0.tm, line 343

reset

proc reset {  }
Defined in:
interface-1.0.tm, line 64

version

proc version {  }
Defined in:
interface-1.0.tm, line 45

Overview | Index by: file name | procedure name | procedure call | annotation
File generated 2010-03-13 at 22:28.