Skip to content

Fortinet FortiGate - Official Support for Capirca with Local-In Policy Support #364

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

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

pc48m8n1
Copy link
Contributor

@pc48m8n1 pc48m8n1 commented Jan 3, 2025

The Fortinet team is pleased to provide this contribution to Google Capirca. We welcome your guidance and suggestions to this contribution and are committed to the processes at hand.

We have only included three sample .POL files, per the observed standards and including the local-in policies for ipv4 and ipv6.

Thank you.

@loulecrivain
Copy link

@pc48m8n1 I'm working on another project (Nautobot Firewall App integration for FortiGate) and we would be interested in having this feature merged too!

I'm pinging you since it seems your feature branch is out of-sync and has conflicts (nothing too big, see diff below).

Hope someone at Google will take some time to look at your PR soon (do you know anyone to ping?).

diff --cc capirca/lib/policy.py
index 72a47a6,6a943aa..0000000
--- a/capirca/lib/policy.py
+++ b/capirca/lib/policy.py
@@@ -1798,12 -1737,8 +1819,17 @@@ class VarType
    DECAPSULATE = 67
    SOURCE_SERVICE_ACCOUNTS = 68
    VERSA_APPLICATION = 69
++<<<<<<< HEAD
 +  TRAFFIC_CLASS = 70
 +  NEXT_HOP_GROUP = 71
 +  NEXT_INTERFACE = 72
 +  POLICE_KBPS = 73
 +  POLICE_BURST = 74
 +  POLICE_PPS = 75
++=======
+   APPLICATION_ID = 70
+   INTERFACE = 71
++>>>>>>> pc48m8n1/fortigate-localin

Copy link
Collaborator

@abhindes abhindes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the generator contribution, with the in-depth feature support being added.

@pc48m8n1
Copy link
Contributor Author

Hi @abhindes, please review my latest commit for changes as per your request.

@pc48m8n1 pc48m8n1 force-pushed the fortigate-localin branch from 24a116c to e258523 Compare May 15, 2025 16:57
@pc48m8n1 pc48m8n1 force-pushed the fortigate-localin branch from 174db81 to 94508e7 Compare May 20, 2025 17:46
@pc48m8n1
Copy link
Contributor Author

Hi @abhindes I have made the change to check the platform instead for local-in policy.

@pc48m8n1
Copy link
Contributor Author

@abhindes They have been removed. Please review.

@abhindes abhindes self-assigned this May 27, 2025
copybara-service bot pushed a commit that referenced this pull request Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants