From 1eb080a43e18bc0975a256496175a586d2f2e632 Mon Sep 17 00:00:00 2001 From: Jason Hendry Date: Fri, 31 Oct 2014 23:30:46 +0000 Subject: Creating template for net.ipv4.ipfrag_time sysctl --- templates/system/sysctl/net.ipv4.ipfrag_time/node.def | 12 ++++++++++++ templates/system/sysctl/node.def | 1 + 2 files changed, 13 insertions(+) create mode 100644 templates/system/sysctl/net.ipv4.ipfrag_time/node.def create mode 100644 templates/system/sysctl/node.def (limited to 'templates') diff --git a/templates/system/sysctl/net.ipv4.ipfrag_time/node.def b/templates/system/sysctl/net.ipv4.ipfrag_time/node.def new file mode 100644 index 00000000..ee390f44 --- /dev/null +++ b/templates/system/sysctl/net.ipv4.ipfrag_time/node.def @@ -0,0 +1,12 @@ +# +# Configuration template for offload settings +# + +priority: 319 # Failure barrier only - no ordering constraints + +type: u32 +help: Configure net.ipv4.ipfrag_time option +val_help: ; Set net.ipv4.ipfrag_time to specific value + +update: sudo /opt/vyatta/sbin/vyatta_update_sysctl.pl --option net.ipv4.ipfrag_time $VAR(@) + diff --git a/templates/system/sysctl/node.def b/templates/system/sysctl/node.def new file mode 100644 index 00000000..95c9435d --- /dev/null +++ b/templates/system/sysctl/node.def @@ -0,0 +1 @@ +help: Sysctl parameters -- cgit v1.2.3 From 542cc6a50f55570dafc26abecd731adedd606d18 Mon Sep 17 00:00:00 2001 From: Jason Hendry Date: Sat, 1 Nov 2014 10:15:40 +0000 Subject: Adding all + custom sysctl option nodes --- templates/system/sysctl/all/node.def | 5 +++++ templates/system/sysctl/all/node.tag/node.def | 1 + templates/system/sysctl/all/node.tag/value/node.def | 8 ++++++++ templates/system/sysctl/custom/node.def | 5 +++++ templates/system/sysctl/custom/node.tag/node.def | 1 + templates/system/sysctl/custom/node.tag/value/node.def | 8 ++++++++ templates/system/sysctl/node.def | 2 +- 7 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 templates/system/sysctl/all/node.def create mode 100644 templates/system/sysctl/all/node.tag/node.def create mode 100644 templates/system/sysctl/all/node.tag/value/node.def create mode 100644 templates/system/sysctl/custom/node.def create mode 100644 templates/system/sysctl/custom/node.tag/node.def create mode 100644 templates/system/sysctl/custom/node.tag/value/node.def (limited to 'templates') diff --git a/templates/system/sysctl/all/node.def b/templates/system/sysctl/all/node.def new file mode 100644 index 00000000..47f08dbc --- /dev/null +++ b/templates/system/sysctl/all/node.def @@ -0,0 +1,5 @@ +tag: +priority: 318 +type: txt +help: List all sysctl options (BROKEN: Does not list all values) +allowed: /sbin/sysctl -N -a 2>&- diff --git a/templates/system/sysctl/all/node.tag/node.def b/templates/system/sysctl/all/node.tag/node.def new file mode 100644 index 00000000..b688551e --- /dev/null +++ b/templates/system/sysctl/all/node.tag/node.def @@ -0,0 +1 @@ +help: Value for sysctl option diff --git a/templates/system/sysctl/all/node.tag/value/node.def b/templates/system/sysctl/all/node.tag/value/node.def new file mode 100644 index 00000000..ac4daa52 --- /dev/null +++ b/templates/system/sysctl/all/node.tag/value/node.def @@ -0,0 +1,8 @@ +priority: 319 # Failure barrier only - no ordering constraints + +type: txt +help: Configure sysctl option +val_help: ; Set sysctl option + +update: sudo /opt/vyatta/sbin/vyatta_update_sysctl.pl --option $VAR(../@) $VAR(@) + diff --git a/templates/system/sysctl/custom/node.def b/templates/system/sysctl/custom/node.def new file mode 100644 index 00000000..f03a3e13 --- /dev/null +++ b/templates/system/sysctl/custom/node.def @@ -0,0 +1,5 @@ +tag: +priority: 318 +type: txt +help: Define specific sysctl options to modify +val_help: ; Name of sysctl option you want to modufy diff --git a/templates/system/sysctl/custom/node.tag/node.def b/templates/system/sysctl/custom/node.tag/node.def new file mode 100644 index 00000000..b688551e --- /dev/null +++ b/templates/system/sysctl/custom/node.tag/node.def @@ -0,0 +1 @@ +help: Value for sysctl option diff --git a/templates/system/sysctl/custom/node.tag/value/node.def b/templates/system/sysctl/custom/node.tag/value/node.def new file mode 100644 index 00000000..08a5f5a3 --- /dev/null +++ b/templates/system/sysctl/custom/node.tag/value/node.def @@ -0,0 +1,8 @@ +priority: 319 # Failure barrier only - no ordering constraints + +type: txt +help: Configure sysctl option +val_help: ; Set sysctl option value + +update: sudo /opt/vyatta/sbin/vyatta_update_sysctl.pl --option $VAR(../@) $VAR(@) + diff --git a/templates/system/sysctl/node.def b/templates/system/sysctl/node.def index 95c9435d..6f6ecedc 100644 --- a/templates/system/sysctl/node.def +++ b/templates/system/sysctl/node.def @@ -1 +1 @@ -help: Sysctl parameters +help: Sysctl options -- cgit v1.2.3 From d6de6f2755f326b8fb5195e051e801577939bdbf Mon Sep 17 00:00:00 2001 From: Jason Hendry Date: Sat, 1 Nov 2014 10:35:24 +0000 Subject: Removing sysctl all node, adding net.ipv4.igmp_max_memberships --- .../system/sysctl/net.ipv4.igmp_max_memberships/node.def | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 templates/system/sysctl/net.ipv4.igmp_max_memberships/node.def (limited to 'templates') diff --git a/templates/system/sysctl/net.ipv4.igmp_max_memberships/node.def b/templates/system/sysctl/net.ipv4.igmp_max_memberships/node.def new file mode 100644 index 00000000..22dba70d --- /dev/null +++ b/templates/system/sysctl/net.ipv4.igmp_max_memberships/node.def @@ -0,0 +1,12 @@ +# +# Configuration template for offload settings +# + +priority: 319 # Failure barrier only - no ordering constraints + +type: u32 +help: Configure net.ipv4.igmp_max_memberships option +val_help: ; Set net.ipv4.igmp_max_memberships value + +update: sudo /opt/vyatta/sbin/vyatta_update_sysctl.pl --option net.ipv4.igmp_max_memberships $VAR(@) + -- cgit v1.2.3