Age | Commit message (Collapse) | Author |
|
|
|
Remove redundant my_commit check
Do not show output on serial-getty (double output issue)
|
|
|
|
|
|
Add a port checking routine to Vyatta/Misc.pm to allow commits to
check if a port is currently in use before allowing them. This is in
connection with Bug #43, where no port checking was done on commit.
|
|
Expand the matching done in is_primary_address to account for the fact
that the output from "ip address show" is different for vtun and wan
interfaces; add a separate check for these interfaces.
Bug #488 http://bugzilla.vyos.net/show_bug.cgi?id=488
|
|
Expand the matching done in get_ipaddr_int_hash to account for the
fact that the output from "ip addr show" is different for vtun and wan
interfaces; add a separate check for these interfaces.
Bug #35 http://bugzilla.vyos.net/show_bug.cgi?id=35
|
|
Update the path set when the interface in question is a VRRP so it
points to vrrp vrrp-group vrid rather than vrrp vrid. Along with the
patch for bug #7, this now shows the description correctly for a VRRP
interface.
Bug #130 http://bugzilla.vyos.net/show_bug.cgi?id=130
|
|
|
|
Fix for the _ppp_int function so it returns the actual ethernet
interface associated with the ppp device rather than an empty string.
As a result the path function now returns the correct configuration
path for the interface.
Linked to Bug #321 http://bugzilla.vyos.net/show_bug.cgi?id=321
Bug #333 http://bugzilla.vyos.net/show_bug.cgi?id=333
|
|
Update lib/Vyatta/Interface.pm to have consistent identation levels and
style throughout.
|
|
When OpenVPN tunnels are taken down and recreated by the OpenVPN
process, any previously set descriptions on the interfaces are missing.
This is caused by the fact that the ifalias for that interface isn't
readded when the interface is recreated.
This patch updates the interface_description function so that it either
returns the current value of ifalias if it's set on the interface, or
uses the value set in the active config if it's present.
Bug #7 http://bugzilla.vyos.net/show_bug.cgi?id=7
Bug #313 http://bugzilla.vyos.net/show_bug.cgi?id=313
|
|
Update lib/Vyatta/Misc.pm to have consistent identation levels and
style throughout.
|
|
|
|
|
|
Also squelch warnings from requiring features.ph (via ioctl.ph).
Fixes bug 8387
|
|
Bug 8279
Read network device name prefixes from file.
|
|
Placeholder for possible future work.
|
|
Anything starting with dp[0-9] is a dataplane interface
|
|
Useful to optimize lookup and resolve issue in Bz 8171
|
|
Use indent of 4
|
|
Use indent of 4 and break long lines.
|
|
Turns out that [\d]+ is same as \d+ since \d is the class
of all digits and [] is the set operator
|
|
|
|
Extra whitespace causes git to complain when integrating patches.
|
|
Do some minor enhancements for usability.
* export get_terminal_size and get_interface_flags
* handle case where /dev/tty is inaccessible
* turn on warnings in this code
|
|
|
|
|
|
|
|
|
|
perl only allows a require to be done once. If it is done in two
included modules the module or function in the module used second
doesn't have the data in the required file in its scope. To prevent
this I created a third module that contains the functions that require
'sys/ioctl.ph' so that there is no longer a conflict.
|
|
|
|
|
|
|
|
Make parsing of multilink config options work properly. Multilink
interfaces have one allowed vif. They do not show up with the same
way as all the other vifs on the system, i.e. <if>.<vif>. In order
for scripts using a generic config path parsing mechanism to work
with multilink interfaces we must return the path with 'vif 1'
appended after 'mlX' e.g. 'interfaces multilink mlX vif 1' is the
proper path for options under the 'interface multilink mlX' tree.
|
|
Bug 8006
Interface running state is only visible through ioctl() or netlink.
The flag is not exported via sysfs properly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for validating ports entered
|
|
(cherry picked from commit 9cc533d34fdef09d69f4fccdaaaee0724bf11f2d)
|
|
|
|
|
|
* use shorter /config path when presenting configuration directory to users
|