Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/vyos/vyatta-cfg
Vyatta configuration system
https://github.com/vyos/vyatta-cfg
a1fc34fc38d4d4d90a3100838da0a1adc5dbba61 authored almost 16 years ago
More generally useful, and maintaince is better when closer to home
6bfb468d769e515f23cebecf259490524e1524c5 authored almost 16 years ago1c653bf9f0c9a0ed4aaa7e07475858e3d7298d20 authored almost 16 years ago
b4b78cee341f07dd3fec1bc90c7310e6c2593d09 authored almost 16 years ago
Earlier commit d8922b367e5d45dc8bb2b5dfba59d9473c3403e8 broke
isChanged.
d2418b63d68d5bb562e64e322244f6b83af18620 authored almost 16 years ago
beae8c6231ead94e2ea704ccce6ee39d4e22f594 authored almost 16 years ago
76949e545bac7372642bb79cba3c1c3ea8fef871 authored almost 16 years ago
9ebbcfd470073c5aa97aace9b94d392d21354846 authored almost 16 years ago
No need for if (-d node) { return ...
can just use use return ( -d node )
exists returns a boolean so no need to explicitly check for
defined.
Global file handles are trap waiting to happen.
9f171d3f9c52c9be5fa281d9b7d8ad7c22f66c27 authored almost 16 years ago
When returning boolean no need to have
if (expr) return 1; else return 0
Also the proper boole...
eb17b185a339fb73059899f5a0bcbac987745002 authored almost 16 years ago
Using three argument open is safer against global handle clash,
and accidental scripting.
Save is broken by this, so do in smaller chunks.
f72dabfeeb0d99681535f9d60ecf84e861df8889 authored almost 16 years agoc576910412880516a4c3c4717fd8370612cdefb3 authored almost 16 years ago
Make this code pass perl critic. Mostly by changing it to return
proper booleans, and use three ...
Mistake in earlier change.
300f2f918be3e807f628ad1200a72e389a59ecfe authored almost 16 years agof120eee288860f3fb6582100ff68d4d5a1222698 authored almost 16 years ago
PBP recommends using local variable rather than global file handle.
381cd4352c00663ac01210a499a4c8c499e0de36 authored almost 16 years agoUse || operator
cc25ba067b79b91c92e0f67026e04a9b295dae76 authored almost 16 years agoRun through perltidy.
7fa9f0b7bdf358ced81ee8ca3051ce042ffd2e5b authored almost 16 years ago7dbf1a868ece331101ffed74d326d7cea4611973 authored about 16 years ago
Get rid of these:
"return" statement with explicit "undef" at line 333, column 27. See page 199...
Eliminate warnings about 2 arg open, and non stricture.
1fd526a571ef2ecb638bfb3b620e5b13f07c4504 authored about 16 years ago
Minor fix:
Code before strictures are enabled at line 31, column 1.
See page 429 of PBP. (Sev...
d747e5c31653a15f2bee94816a68af1740acb2d5 authored about 16 years ago
Use three arg form of open etc.
2c21014b15e853c6832cf2b54408e19757921393 authored about 16 years ago
The map function operates on an alias of the passed list, so any
modification of the elements ha...
Fix the easy perlcritc warning about explicit return undef,
and use strict
24f2f9d746ef946a11d4ac0da9d20fc9541853a1 authored about 16 years ago
e2022fecd97f3088dc489bc61fad38c012623b7f authored about 16 years ago
1941ce858983749d737b609f918410c33fc98e9b authored about 16 years ago
Use standard getprotoent() rather than manual parsing.
Fix perlcritic warnings.
fb4995b1be4aefb7652b3e6a5834326c8922ac1b authored about 16 years ago
b3146bf20dd8bfb5be2c9850c791b42cf9a3a97a authored about 16 years ago
Add more unit tests.
abe20d48f6a96a2f636672d50b9274c71acf7d9f authored about 16 years agofix bug in conversion to Vyatta::Interface by rewriting/refactoring.
05f12fecffab242122c2702c049b48500ae8081a authored about 16 years agoHandle requests for interfaces of a specific type
c28287fcf5ba523a46f86ec84c6dd648d2fcbe73 authored about 16 years ago65e8ffeee220fe3e2feb7724ccca6bbd2e824e4b authored about 16 years ago
Only get address once, and don't call new() directly, use in OO style.
3ddcf27d4f42a5b7f1453de6832a20088a129282 authored about 16 years agoMore standalone test.
bfa6748211a053e31edc710626413701e66e4c50 authored about 16 years agoInterfaces has changed, so need to change tests.
f5e621b2c113c45ce661cf5bb27494fce22265a4 authored about 16 years ago
This routine is used by DHCP server and needs to ignore IPV6
addresses.
NB: Does not fix bogus s...
Use new Vyatta::Interface and sysfs to avoid using ifconfig
and ip command unnecessarily.
ab1ede4439fa63a44de6b2e0db5e6df5ba495df1 authored about 16 years ago
Unify all code that does name -> interface attribute translation
into one place. No need to pass...
Use regex to identify legal IPV4 address, and get rid of perlcrtic
warnings.
Rather than reading /etc/services directly, use the standard
getservbyname function. This should...
htonl and if_nametoindex are not used.
99ea2c9a2bfc9f4af221ca735d26410dae3b2823 authored about 16 years ago0f7c234084a7912ced791514192e7d57387f23a1 authored about 16 years ago
Provide generic module to map interface name to configuration
and other attributes. This is fir...
ebb8b5cdec70e45d155652f759eeb3bb889410c6 authored about 16 years ago
33a052ba0eacc1d5abf7d97d93a1df5d68af3cf2 authored about 16 years ago
1da5320dd0ca6fbddd728aefe5bea8dc29f81022 authored about 16 years ago
d9976a31c4e34a2787c2bc5212e6e8c49e95b442 authored about 16 years ago
c52d2bc0a80c31b9a7580ad019dff82f48f910ed authored about 16 years ago
46b6951c85c9d1df22d764a8f7250e7606c06467 authored about 16 years ago
d9a54ce1f6d213575c6e427573ff87d55b9ff1d6 authored about 16 years ago
my_commit2 binary.
5da26e172a8c1ed5201527aefddabd6e277e5c03 authored about 16 years ago9ed9edcfe9aef3db9306a0d2b7c24f73831b1149 authored about 16 years ago
ec3185ea0fddf5a59806066b582037544c912843 authored about 16 years ago
bfcc2655d34a1e2030711fbb46a408d99c7116fc authored about 16 years ago
35b02c56e7e5ce465ae63e099eba7ab74b78e029 authored about 16 years ago
fdaaa2cf17771ed215db2a5610966055cb47f370 authored about 16 years ago
9dab7b72d8b7d6e984f83823642f1a711b42665e authored about 16 years ago
New script to wrap direct calls to vtysh
50c357cac4a0ce61bdb47c61a0891a714243a5be authored about 16 years ago76cc15d086d6368b9949ef58b6dd379d2af7de39 authored about 16 years ago
ae9f389cb3edaf93146a0180d0cc165929871782 authored about 16 years ago
3520dc63a346e261f89cc60fa7ae36e5fd4f4c64 authored about 16 years ago
7af3729e6255331af6198b646f5238780bffce49 authored about 16 years ago
I wanted to use Vyatta::Config::Output, but the perl part of the
autoconf installer is to stupid...
Use hierarchal directory structure
32cefc2d846f9946bf6e5b84cd914b5e2959dbfa authored about 16 years ago6d87be16190a658ac324488024a82961774f0ece authored about 16 years ago
86322573dae188303af9d821f8c72f96d178a2ff authored about 16 years ago
3a33aaead277f7f6da162b2285b1659cc2c2b7fd authored about 16 years ago
7a6c522c3968712b05cf6d1dc473219ec6edf6a6 authored about 16 years ago
571ffbe1034197f7f3ab6374e7c978fc172efbb3 authored about 16 years ago
9e936dd974391ae8c694e9e04bf5393b8a68e477 authored about 16 years ago
396f9ee97a867b549ac2696a9320a9bb0a21608d authored about 16 years ago
50f0982daf03025e60dd75abdf3a6babf8088ae9 authored about 16 years ago
50f3fc8b75d73bd05b90c84fce29dbc5e5f6c75e authored about 16 years ago
66eb0adacf0ae6238a31531d7ab8701ba842a16c authored about 16 years ago
Make sure and check if system commands worked.
db48fb251547dac1a8c7064be37c923c2a9bd209 authored about 16 years agoGrep already has a count option, so use it.
018569a6e5783672db7763b0762afe194a585aa3 authored about 16 years agoDon't need to run a command to remove a file.
40f55b9e218389800c0dab50b50c9cd8ae0dcfe6 authored about 16 years agoDon't need to call out to shell to create directory
d814833b484634442161de7be4935d1bd3f991a7 authored about 16 years agoUse perl to do the touch command.
160d05043a4b36d519b1e0aeff540c428dac38dd authored about 16 years ago4eab4706c868ee20301575db0322d5c3fa523abb authored about 16 years ago
dump_log doesn't need allocate whole buffer, just print in steps.
a79dc66234f32de6fdf1d16b69129f5722f824e9 authored about 16 years ago
Optimizing for size generates better code, especially on cache
starved processors.
Floppy device driver is now builtin the kernel.
Mount will load necessary filesystems
Move code to retrieve IP addresses for a specified interface-type to VyattaMisc module
013a9f70c38310a486b080b870a1173057ead6f6 authored over 16 years ago
Fix some assumptions in the vyatta-interfaces script that prevent
using dhcp on bonded devices
...
3d48065f09241a6878dc31a8d0223d673b5d553f authored over 16 years ago
For Bug 250, need to get timestamp from start of shell.
Otherwise, all commands show up as now
028a05903c69ab9b6d1e8a22791ccc9fd381e244 authored over 16 years ago
Add more hacks to already fragile code that depends on interface
name. When next type is added t...
07ac603a29d1157d0ed0d1629c2bf620b8846ef0 authored over 16 years ago
Bugfix 250
Collect more shell history and force append
Note: this overrides default setting of H...