Age | Commit message (Collapse) | Author |
|
Many templates should allow any known interface type, since
interface may be created later. So create some generic hooks
for validation.
|
|
Unify all code that does name -> interface attribute translation
into one place. No need to pass interface path to scripts, and handle
addresses correctly in DHCP code. Use 'undef' consitently for false
in perl code.
|
|
htonl and if_nametoindex are not used.
|
|
Use hierarchal directory structure
|
|
interface has been disabled in CLI
|
|
|
|
|
|
|
|
Make sure and check if system commands worked.
|
|
Grep already has a count option, so use it.
|
|
Don't need to run a command to remove a file.
|
|
Don't need to call out to shell to create directory
|
|
Use perl to do the touch command.
|
|
Fix some assumptions in the vyatta-interfaces script that prevent
using dhcp on bonded devices
Bugfix 3835
|
|
Add more hacks to already fragile code that depends on interface
name. When next type is added this needs to be reworked.
Bugfix 3835
|
|
|
|
- also move temp files for release of dhcp interface to /var/run from /var/lib
|
|
Specified Value
- only request for dhcp-option interface-mtu from a dhcp-server for an ethernet interface using dhcp to get IP
- do not request for interface-mtu for other interfaces that use dhcp i.e. ethernet vifs and bridges
- request for interface-mtu from dhcp-server for ethernet interfaces, only if ethernet mtu not set in CLI
|
|
dhclient-script
|
|
array when no value is configured
=> Modified VyattaConfigLoad.pm to give a higher ranking to 'system host-name' than 'interface' so that during boot-up
if host is using dhcp client to get an ip for an interface, it can send the host-name if configured
=> Modified vyatta-interfaces.pl:
1. to request only for dhcp options 'subnet-nask', 'broadcast address', 'routers', 'domain-name-servers'
when an interface is configured to get an ip using dhcp.
2. ask for a domain-name only if domain-name is not configured in our CLI
3. do not request dhcp options: 'time-offset', 'interface-mtu' and 'host-name' that were being requested before
4. Update /etc/resolv.conf to remove domain-name and name-server options received from dhcp server for the
particular interface that releases dhcp lease either from op-mode or cfg-mode
|
|
|
|
|
|
implemented op-mode commands for DHCP client:
'release dhcp interface <>'
'renew dhcp interface <>'
|
|
interfaces,
use separate daemons for separate interfaces. when one daemon was handling all
interfaces, a release/renew at one interface would release/renew all other interfaces
as well before we brought them back to the state specified in vyatta config
-> Also, Fix bug 3346
replaced the die command with print followed by exit 1
-> modified vyatta-interfaces.pl to remove code for handling op-command:
'clear dhcp client process'
this command restarted the dhcp client daemon but now that we have separate
daemons for separate interfaces, this is not useful. Also, this will be
replaced by op-commands for 'dhcp client release lease' and 'dhcp client renew lease'
commands in hollywood beta
|
|
|
|
|
|
|
|
No longer need Tie or flock, these were used when dealing with watchlink
|
|
|
|
|
|
|
|
Watchlink is no longer used to manage link detection.
This is now provided by kernel.
|
|
This should no longer be needed
Revert "cycle interface state on IP address assigment to fix static routes"
This reverts commit b0dd3c96c5e30077a602082c829d4bccf7795252.
|
|
|
|
More robust fix for Bug 2802. Handle case of multiple addresses
and lines in the linkstatus file. Add locking to try and prevent
multiple update.
|
|
Kludge to work around address watchlink interaction: remove status file.
This should fix bug 2802.
There may still be problems when multiple addresses are assigned to
an interface. The correct fix is to just get rid of the watchlink
process and do the management in kernel or zebra.
|
|
Quagga link-detect may have already removed address from interface.
Check for missing address, and if not present just tell vtysh.
This fixes bug 2802
|
|
Bugfix: 2826
Enforce restrictions on address (must be valid ethernet address),
and only bring interface down/up if already up.
|
|
|
|
Glendale release is licensed under GPL version 2.
|
|
|
|
|
|
Send hostname in dhcp client request.
|
|
|
|
dhclient
|
|
|
|
|
|
Also while we're add it, allow user to set an ipv6 address or get address from dhcp.
|