-
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.
- Loading branch information
Showing
16 changed files
with
278 additions
and
116 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
# 1.1.0 (2014-10-16) | ||
|
||
#### New feature | ||
- [Issue #1](https://github.com/syepes/cvm/issues/1). Rewrite the Device Profile assignation | ||
|
||
#### Doc | ||
- Added Back and Front End [Wiki](https://github.com/syepes/cvm/wiki) sections | ||
|
||
# 1.0.0 (2014-09-15) | ||
|
||
First public release |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Alias /search /var/www/htdocs/calaca/ | ||
<LocationMatch "^/(search|_plugin)$"> | ||
AuthType Basic | ||
AuthName "CVM - Configuration Versioning Manager" | ||
AuthBasicProvider file | ||
AuthUserFile /opt/cvm/.access | ||
<LimitExcept OPTIONS> | ||
Require valid-user | ||
</LimitExcept> | ||
</LocationMatch > | ||
|
||
ProxyRequests On | ||
<Proxy http://127.0.0.1:9200> | ||
ProxySet connectiontimeout=5 timeout=90 | ||
</Proxy> | ||
|
||
# Proxy for _aliases and .*/_search | ||
<LocationMatch "^/(_plugin.*|_status|_cluster.*|_nodes.*|_aliases|_search|.*/_search|_mapping|.*/_mapping)$"> | ||
ProxyPassMatch http://127.0.0.1:9200/$1 | ||
ProxyPassReverse http://127.0.0.1:9200/$1 | ||
</LocationMatch> |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
deviceProfiles = [[type:"vendor", pattern:"~/(?i)cisco.*/", profileName:'Cisco_Generic'], | ||
[type:"vendor", pattern:"~/(?i)fortinet.*/", profileName:'Fortinet-Full_Generic'], | ||
[type:"vendor", pattern:"~/(?i)juniper.*/", profileName:'JuniperNetworks_Generic'], | ||
[type:"device", pattern:"~/(?i)dc.-core.*/", profileName:'Fortinet-Small_Generic'] | ||
] |
2 changes: 1 addition & 1 deletion
2
src/dist/profiles/Cisco.json → src/dist/profiles/Cisco_Generic.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "Cisco", | ||
"name": "Cisco_Generic", | ||
"access": { | ||
"timeout": 30, | ||
"prompt_standard": [".*#\\s*$"], | ||
|
2 changes: 1 addition & 1 deletion
2
src/dist/profiles/Fortinet.json → src/dist/profiles/Fortinet-Full_Generic.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
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,55 @@ | ||
{ | ||
"name": "Fortinet_Generic", | ||
"access": { | ||
"timeout": 30, | ||
"prompt_standard": [".*\\$\\s+$", ".*#\\s+$"], | ||
"explet_timeout": 30, | ||
"explet_bufferSize": 4096, | ||
"cmds_disable_more_prompt": ["config system console","set output standard","end"], | ||
"explet_disable_more_prompt": ["(?ms)\\(console\\)\\s\\$\\send.*\\$\\s+$"], | ||
"explet_post_login": [], | ||
"cmds_disconnect": ["exit"] | ||
}, | ||
"commands": [ | ||
{ | ||
"name": "system_status", | ||
"storage": "system_status.cfg", | ||
"send": ["get system status"], | ||
"explet": ["\\r\\n.*\\$\\s+$"], | ||
"explet_timeout": 30, | ||
"strip_top": 0, | ||
"strip_down": 0, | ||
"cleanup_patterns": ["/\\r/g","", "/ ?--More--[ \\S]*[\\s\\cH]+\\cH/g","", "/(?i)System time.*/",""] | ||
}, | ||
{ | ||
"name": "hardware_status", | ||
"storage": "hardware_status.cfg", | ||
"send": ["get hardware status"], | ||
"explet": ["\\r\\n.*\\$\\s+$"], | ||
"explet_timeout": 30, | ||
"strip_top": 0, | ||
"strip_down": 0, | ||
"cleanup_patterns": ["/\\r/g","", "/ ?--More--[ \\S]*[\\s\\cH]+\\cH/g","", "/(?i)System time.*/",""] | ||
}, | ||
{ | ||
"name": "system_interface", | ||
"storage": "system_interface.cfg", | ||
"send": ["show system interface"], | ||
"explet": ["\\r\\n.*\\$\\s+$"], | ||
"explet_timeout": 30, | ||
"strip_top": 0, | ||
"strip_down": 0, | ||
"cleanup_patterns": ["/\\r/g","", "/ ?--More--[ \\S]*[\\s\\cH]+\\cH/g","", "/(?i)System time.*/",""] | ||
}, | ||
{ | ||
"name": "small-configuration", | ||
"storage": "small-configuration.cfg", | ||
"send": ["show"], | ||
"explet": ["\\r\\n.*\\$\\s+$"], | ||
"explet_timeout": 300, | ||
"strip_top": 0, | ||
"strip_down": 0, | ||
"cleanup_patterns": ["/\\r/g","", "/ ?--More--[ \\S]*[\\s\\cH]+\\cH/g","", "/(?i)System time.*/","", "/(.*set\\s+.*[password|passwd|key].*\\s+ENC)\\s+.*/g","$1 <REMOVED>", "/(?s)-----BEGIN RSA PRIVATE KEY-----.*-----END RSA PRIVATE KEY-----/g","<REMOVED>", "/(?m)^(#conf_file_ver=).*/g","$1<REMOVED>"] | ||
} | ||
] | ||
} |
2 changes: 1 addition & 1 deletion
2
src/dist/profiles/JuniperNetworks.json → ...ist/profiles/JuniperNetworks_Generic.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
2 changes: 1 addition & 1 deletion
2
src/dist/profiles/Linux.json → src/dist/profiles/Linux_Generic.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "Linux", | ||
"name": "Linux_Generic", | ||
"access": { | ||
"timeout": 20, | ||
"prompt_standard": [".*\\$\\s$"], | ||
|
Oops, something went wrong.