~ubuntu-branches/ubuntu/jaunty/xorp/jaunty

« back to all changes in this revision

Viewing changes to xrl/interfaces/fea_ifmgr.xif

  • Committer: Bazaar Package Importer
  • Author(s): Jose Calhariz, Javier Fernandez-Sanguino, Jose Calhariz
  • Date: 2008-01-23 01:24:37 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080123012437-7l2u9r0k8e7op8st
Tags: 1.5~cvs.20080128-1
[ Javier Fernandez-Sanguino ]
* Update to latest CVS contents
* Modify debian/rules to prevent autobuilders from building 
  the binary-independent components: (Closes: #441121)
  - Create a new Build-Depends-Indep with all the TeX
  components used to build documentation
  - Since autobuilders call build, which in turns calls build-indep, hack
    the debian rules file so that the documentation is only built if ps2pdf,
    dvips and pslatex are available. 
* Modify the init.d script:
  - restart action: Do not attempt to stop xorp if not running
  - stop function: fix errors in the script
  - add a try-restart action
  - restructure the init.d script, move the restart code to a function
  - review the use of echo calls and exit values
* Use, as examples, the new boot files at rtrmgr/config/

[ Jose Calhariz ]
* Add depends on ncurses-dev, I don't know why xorp use tigetstr
  function from curses.  This way the depends field change less between
  build environments.
* Removed pushd and popd commands from Makefile and replaced with cd
  commands, was a bashism and FTBFS (closes: #453637)
* debian/control converted to utf-8 (closes: #454026) (closes: #453485)
* init.d/xorp now returns 0 if disabled.
* Added Vcs-Browser and Vcs-Svn fields pointing to the repository of the
  package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $XORP: xorp/xrl/interfaces/fea_ifmgr.xif,v 1.21 2007/08/09 00:47:04 pavlin Exp $ */
 
1
/* $XORP: xorp/xrl/interfaces/fea_ifmgr.xif,v 1.25 2007/12/30 09:15:01 pavlin Exp $ */
2
2
 
3
3
/*
4
4
 * Forwarding Engine Abstraction Interface Management XRL interface.
48
48
 
49
49
        get_configured_interface_discard ? ifname:txt -> discard:bool
50
50
 
 
51
        get_configured_interface_unreachable ? ifname:txt -> unreachable:bool
 
52
 
 
53
        get_configured_interface_management ? ifname:txt -> management:bool
 
54
 
51
55
        get_configured_mac ? ifname:txt -> mac:mac
52
56
 
53
57
        get_configured_mtu ? ifname:txt -> mtu:u32
87
91
         * information from the underlying system.
88
92
         *
89
93
         * @param tid the transaction ID.
 
94
         * @param enable if true, then enable the implicit configuration,
 
95
         * otherwise disable it.
90
96
         */
91
 
        configure_all_interfaces_from_system ? tid:u32
 
97
        configure_all_interfaces_from_system ? tid:u32 & enable:bool
92
98
 
93
99
        /**
94
100
         * Implicitly configure an interface within the FEA by using
96
102
         *
97
103
         * @param tid the transaction ID.
98
104
         * @param ifname the name of the interface to configure.
 
105
         * @param enable if true, then enable the implicit configuration,
 
106
         * otherwise disable it.
99
107
         */
100
 
        configure_interface_from_system ? tid:u32 & ifname:txt
 
108
        configure_interface_from_system ? tid:u32 & ifname:txt & enable:bool
101
109
 
102
110
        set_interface_enabled ? tid:u32 & ifname:txt & enabled:bool
103
111
 
104
112
        set_interface_discard ? tid:u32 & ifname:txt & discard:bool
105
113
 
 
114
        set_interface_unreachable ? tid:u32 & ifname:txt & unreachable:bool
 
115
 
 
116
        set_interface_management ? tid:u32 & ifname:txt & management:bool
 
117
 
106
118
        set_mac ? tid:u32 & ifname:txt & mac:mac
107
119
 
108
120
        restore_original_mac ? tid:u32 & ifname:txt
112
124
        restore_original_mtu ? tid:u32 & ifname:txt
113
125
 
114
126
        /**
115
 
         * Create a vif
 
127
         * Create a vif.
116
128
         *
117
129
         * @param ifname the name of the physical interface associated with
118
130
         *               the new vif.
125
137
 
126
138
        set_vif_enabled ? tid:u32 & ifname:txt & vif:txt & enabled:bool
127
139
 
 
140
        /**
 
141
         * Set VLAN vif.
 
142
         *
 
143
         * @param ifname the name of the physical interface associated with
 
144
         *               the VLAN.
 
145
         * @param vif the name of the VLAN.
 
146
         * @param vlan_id the VLAN ID. It must be in the range 0 through 4095.
 
147
         */
 
148
        set_vif_vlan ? tid:u32 & ifname:txt & vif:txt & vlan_id:u32
 
149
 
128
150
        create_address4 ? tid:u32 & ifname:txt & vif:txt & address:ipv4
129
151
 
130
152
        delete_address4 ? tid:u32 & ifname:txt & vif:txt & address:ipv4