forked from relianoid/adc-loadbalancer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Improvement][CE] L4xnat: Add parameters configuration in global.conf…
… for SIP protocol A variable is added to configure parameters when nf_conntrack_sip module is loaded. Signed-off-by: Antonio Rendon <[email protected]> modified: usr/local/zevenet/share/global.conf.template modified: usr/share/perl5/Zevenet/Farm/L4xNAT/Config.pm
- Loading branch information
1 parent
d80aa10
commit 60dbfbc
Showing
11 changed files
with
113 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
usr/local/zevenet/zapi-model/v4.0/json/letsencryptz-modify.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"action" : "set", | ||
"description" : "Modify the Auto Renewal parameters of a Letsencrypt certificate.", | ||
"method" : "PUT", | ||
"params" : { | ||
"autorenewal" : { | ||
"description" : "true,the autorenewal will be configured.false, the autorenewal will be removed.", | ||
"non_blank" : "true", | ||
"required" : "true", | ||
"values" : [ | ||
"true", | ||
"false" | ||
] | ||
}, | ||
"farmname" : { | ||
"depend_on" : "autorenewal==true && vip!=defined", | ||
"description" : "Farm name which a temporal Service “Letsencryptz” is configured in. Required if param vip is not sent.", | ||
"dyn_values" : "true", | ||
"non_blank" : "true" | ||
}, | ||
"force_renewal" : { | ||
"depend_on" : "autorenewal==true", | ||
"description" : "true, force the certificate to be renewed even it is not expired, false, the certificate will be renewed if it is due to be renewed ( less than 30 days to expire ).", | ||
"required" : "true", | ||
"values" : [ | ||
"true", | ||
"false" | ||
] | ||
}, | ||
"restart" : { | ||
"depend_on" : "autorenewal==true", | ||
"description" : "true, all the farms using the certificate will be restarted. false, no farms using the certificate will be restarted.", | ||
"required" : "true", | ||
"values" : [ | ||
"true", | ||
"false" | ||
] | ||
}, | ||
"vip" : { | ||
"depend_on" : "autorenewal==true && farmname!=defined", | ||
"description" : "IP of the system, where a temporal Farm “Letsencryptz” is configured. Required true if param vip is not sent.", | ||
"dyn_values" : "true", | ||
"non_blank" : "true" | ||
} | ||
}, | ||
"url" : "/certificates/letsencryptz/<domain>" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
usr/local/zevenet/zapi-model/v4.0/tpl/letsencryptz-modify.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"method": "PUT", | ||
"url": "/certificates/letsencryptz/<domain>", | ||
"action": "set", | ||
"description": "Modify the Auto Renewal parameters of a Letsencrypt certificate.", | ||
"params": { | ||
"autorenewal": { | ||
"description": "true,the autorenewal will be configured.false, the autorenewal will be removed.", | ||
"values": [ | ||
"true", | ||
"false" | ||
], | ||
"non_blank": "true", | ||
"required": "true" | ||
}, | ||
"vip": { | ||
"description": "IP of the system, where a temporal Farm “Letsencryptz” is configured. Required true if param vip is not sent.", | ||
"non_blank": "true", | ||
"dyn_values": "true", | ||
"depend_on": "autorenewal==true && farmname!=defined" | ||
}, | ||
"farmname": { | ||
"description": "Farm name which a temporal Service “Letsencryptz” is configured in. Required if param vip is not sent.", | ||
"non_blank": "true", | ||
"dyn_values": "true", | ||
"depend_on": "autorenewal==true && vip!=defined" | ||
}, | ||
"force_renewal": { | ||
"description": "true, force the certificate to be renewed even it is not expired, false, the certificate will be renewed if it is due to be renewed ( less than 30 days to expire ).", | ||
"values": [ | ||
"true", | ||
"false" | ||
], | ||
"depend_on": "autorenewal==true", | ||
"required": "true" | ||
}, | ||
"restart": { | ||
"description": "true, all the farms using the certificate will be restarted. false, no farms using the certificate will be restarted.", | ||
"values": [ | ||
"true", | ||
"false" | ||
], | ||
"depend_on": "autorenewal==true", | ||
"required": "true" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters