Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add FortiADC, FortiSwitch, FortiFAZ (FortiAnalyzer) and FortiMail .rb #2789

Closed
wants to merge 5 commits into from

Conversation

DRIgnazGortngschirl
Copy link
Contributor

@DRIgnazGortngschirl DRIgnazGortngschirl commented May 11, 2023

Works somehow, but also adds "#" to the config file in fortiadc.rb like in #2473

# # COMMAND: show
# config system global
#   set hostname HOSTNAME
#   set admin-idle-timeout 480
#   set gslb-ca-verify disable
# end
# config system traffic-group
# end
# config system vdom-link
# end
# config system interface
#   edit "port1"
#     set vdom root
#     set allowaccess https ping ssh snmp 
#     config  ha-node-ip-list
#     end
#   next
#   edit "port2"
#     set vdom root
#     set ip 192.168.107.100/24
#     set allowaccess https ping ssh snmp 
#     config  ha-node-ip-list
#     end
# 
         
  next
#   edit "port3"
#     set vdom root
#     config  ha-node-ip-list
#     end
#   next
#   edit "port4"
#     set vdom root
#     config  ha-node-ip-list
#     end
#   next
#   edit "port5"
#     set vdom root
#     config  ha-node-ip-list
#     end
#   next
#   edit "port6"
#     set vdom root
#     config  ha-node-ip-list
#     end
#   next
#   edit "port7"
# 
         
    set vdom root
...

All added modules work up to some extend!

Willing to test and improve the commit, if someone can help with the regex and ruby.

Pre-Request Checklist

  • Passes rubocop code analysis (try rubocop --auto-correct)
  • Tests added or adapted (try rake test)
  • Changes are reflected in the documentation
  • User-visible changes appended to CHANGELOG.md

Description

added FortiADC
added FortiSwitch
added FortiFAZ (FortiAnalyzer)
added FortiMail

@ghost
Copy link

ghost commented May 13, 2023

Please fix the issues in fortifaz.rb and fortiadc.rb. Also please add your changes to CHANGELOG.md

@github-actions github-actions bot added the Stale label Sep 9, 2023
@github-actions github-actions bot closed this Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant