Professional Documents
Culture Documents
Orchestration and Automation - Ryan Darst - Marco Garcia
Orchestration and Automation - Ryan Darst - Marco Garcia
Orchestration and Automation - Ryan Darst - Marco Garcia
ORCHESTRATION
R80.10
https://r80mgmt/web_api/add_host
Install Policy
https://<mgmt>/web_api/install_policy
• Automation Tools
̶ Ansible (ansible library available)
̶ OpenStack Heat
[Expert@r80mgmt:0]#
mgmt_cli login
• https://cpxlab-##.cpmarco.com/guacamole
̶ user: cpx2017/ pw: cpx2017
• SmartConsole:
̶ user: admin/ pw: cpx2017
Manage & Settings -> Blades -> Management API -> Advanced Settings
After Publish -> Logon to the R80 Server via CLI and type “api restart”
©2017 Check Point Software Technologies Ltd. 18
Setup Postman
Install Policy
https://<mgmt>/web_api/install_policy
Login
- Save the token
- Create a host object
- Publish
- Logout
Network
CPX2017 Network
• Using the mgmt_cli , create a csv file and add a list of hosts with the
batch function.
• Using the mgmt_cli , create a csv file and add a list of services with the
batch function.
• Using the mgmt_cli , create a csv file and add a list of rules with the
batch function from the hosts and services created earlier
• On your lab , open the orchestrator (SSH), under the /scripts folder
̶ Go to /scripts/r80_shell_scripts
̶ Run : ./create-host
Verify that is on the dashboard
̶ Run: ./delete-host
Example
ansible-playbook cpx_add_host_w_inputs.yml –extra-vars “ip=1.2.3.4 host=myhost”
• https://<your ip>/cpportal
̶ User: api_user PW: cpx2017
https://s3-us-west-2.amazonaws.com/cpx2017-automation/list.html
• Exchange Point
https://community.checkpoint.com