You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@TheProdigyLeague ➜ /workspaces/codespaces-jupyter/capirca(master) $ ~/.local/bin/aclgen
Traceback(most recent call last):File"/home/codespace/.local/bin/aclgen", line 33,in <module>
sys.exit(load_entry_point('capirca==2.0.9','console_scripts','aclgen')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File"/home/codespace/.local/bin/aclgen", line 25,in importlib_load_entry_point
returnnext(matches).load()
^^^^^^^^^^^^^^^^^^^^
File"/home/codespace/.python/current/lib/python3.12/importlib/metadata/__init__.py", line 205,in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File"/home/codespace/.python/current/lib/python3.12/importlib/__init__.py", line 90,in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File"<frozen importlib._bootstrap>", line 1387,in _gcd_import
File"<frozen importlib._bootstrap>", line 1360,in _find_and_load
File"<frozen importlib._bootstrap>", line 1331,in _find_and_load_unlocked
File"<frozen importlib._bootstrap>", line 935,in _load_unlocked
File"<frozen importlib._bootstrap_external>", line 994,in exec_module
File"<frozen importlib._bootstrap>", line 488,in _call_with_frames_removed
File"/home/codespace/.local/lib/python3.12/site-packages/capirca/aclgen.py", line 22,in <module>
from absl import app
ModuleNotFoundError:No module named 'absl'
@TheProdigyLeague ➜ /workspaces/codespaces-jupyter(main) $ pip install absl-py
Collecting absl-py
Downloading absl_py-2.2.2-py3-none-any.whl.metadata(2.6 kB)Downloading absl_py-2.2.2-py3-none-any.whl(135 kB)Installing collected packages: absl-py
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed.This behaviour is the source of the following dependency conflicts.capirca2.0.9 requires mock, which is not installed.capirca2.0.9 requires ply, which is not installed.Successfully installed absl-py-2.2.2
@TheProdigyLeague ➜ /workspaces/codespaces-jupyter(main) $ ~/.local/bin/aclgen
Traceback(most recent call last):File"/home/codespace/.local/bin/aclgen", line 33,in <module>
sys.exit(load_entry_point('capirca==2.0.9','console_scripts','aclgen')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File"/home/codespace/.local/bin/aclgen", line 25,in importlib_load_entry_point
returnnext(matches).load()
^^^^^^^^^^^^^^^^^^^^
File"/home/codespace/.python/current/lib/python3.12/importlib/metadata/__init__.py", line 205,in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File"/home/codespace/.python/current/lib/python3.12/importlib/__init__.py", line 90,in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File"<frozen importlib._bootstrap>", line 1387,in _gcd_import
File"<frozen importlib._bootstrap>", line 1360,in _find_and_load
File"<frozen importlib._bootstrap>", line 1331,in _find_and_load_unlocked
File"<frozen importlib._bootstrap>", line 935,in _load_unlocked
File"<frozen importlib._bootstrap_external>", line 994,in exec_module
File"<frozen importlib._bootstrap>", line 488,in _call_with_frames_removed
File"/home/codespace/.local/lib/python3.12/site-packages/capirca/aclgen.py", line 25,in <module>
from capirca.lib import aclgeneratorFile"/home/codespace/.local/lib/python3.12/site-packages/capirca/lib/aclgenerator.py", line 23,in <module>
from capirca.lib import policyFile"/home/codespace/.local/lib/python3.12/site-packages/capirca/lib/policy.py", line 25,in <module>
from ply import lex
ModuleNotFoundError:No module named 'ply'
@TheProdigyLeague ➜ /workspaces/codespaces-jupyter(main) $ pip install ply
Collecting ply
Downloading ply-3.11-py2.py3-none-any.whl.metadata(844 bytes)Downloading ply-3.11-py2.py3-none-any.whl(49 kB)Installing collected packages: ply
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed.This behaviour is the source of the following dependency conflicts.capirca2.0.9 requires mock, which is not installed.Successfully installed ply-3.11
@TheProdigyLeague ➜ /workspaces/codespaces-jupyter (main) $ ~/.local/bin/aclgen
F0524 01:09:19.170531 131313876599424 aclgen.py:625] bad definitions directory: ./def
Fatal Python error: Aborted
Current thread 0x0000776de4f80280 (most recent call first):
File "/home/codespace/.python/current/lib/python3.12/site-packages/absl/logging/__init__.py", line 1002 in emit
File "/home/codespace/.python/current/lib/python3.12/logging/__init__.py", line 1028 in handle
File "/home/codespace/.python/current/lib/python3.12/site-packages/absl/logging/__init__.py", line 1053 in handle
File "/home/codespace/.python/current/lib/python3.12/logging/__init__.py", line 1762 in callHandlers
File "/home/codespace/.python/current/lib/python3.12/site-packages/absl/logging/__init__.py", line 1228 in handle
File "/home/codespace/.python/current/lib/python3.12/logging/__init__.py", line 1684 in _log
File "/home/codespace/.python/current/lib/python3.12/logging/__init__.py", line 1609 in log
File "/home/codespace/.python/current/lib/python3.12/site-packages/absl/logging/__init__.py", line 1211 in log
File "/home/codespace/.python/current/lib/python3.12/site-packages/absl/logging/__init__.py", line 627 in log
File "/home/codespace/.python/current/lib/python3.12/site-packages/absl/logging/__init__.py", line 417 in fatal
File "/home/codespace/.local/lib/python3.12/site-packages/capirca/aclgen.py", line 625 in Run
File "/home/codespace/.local/lib/python3.12/site-packages/capirca/aclgen.py", line 696 in main
File "/home/codespace/.python/current/lib/python3.12/site-packages/absl/app.py", line 261 in _run_main
File "/home/codespace/.python/current/lib/python3.12/site-packages/absl/app.py", line 316 in run
File "/home/codespace/.local/lib/python3.12/site-packages/capirca/aclgen.py", line 705 in EntryPoint
File "/home/codespace/.local/bin/aclgen", line 33 in<module>
Extension modules: yaml._yaml (total: 1)
Aborted (core dumped)
@TheProdigyLeague ➜ /workspaces/codespaces-jupyter(main) $ pip install capirca --user
Requirement already satisfied: capirca in /home/codespace/.local/lib/python3.12/site-packages(2.0.9)Requirement already satisfied: absl-py in /usr/local/python/3.12.1/lib/python3.12/site-packages(from capirca)(2.2.2)Requirement already satisfied: ply in /usr/local/python/3.12.1/lib/python3.12/site-packages(from capirca)(3.11)Requirement already satisfied: mock in /usr/local/python/3.12.1/lib/python3.12/site-packages(from capirca)(5.2.0)Requirement already satisfied: six in /home/codespace/.local/lib/python3.12/site-packages(from capirca)(1.17.0)Requirement already satisfied:PyYAMLin /home/codespace/.local/lib/python3.12/site-packages(from capirca)(6.0.2)
@TheProdigyLeague ➜ /workspaces/codespaces-jupyter/capirca(master) $ ~/.local/bin/aclgen
I052401:10:40.133004131864350544512 aclgen.py:633] finding policies...
W052401:10:40.134793131864350544512 aclgen.py:560] --> policies/pol(32 pol files found)I052401:10:40.178050131864350544512 sonic.py:237]Skipping policy allowtointernet as it does not apply to any offrozenset({'inet6','mixed','inet'})I052401:10:40.178535131864350544512 aclgen.py:493] file changed: sample_sonic.jsonW052401:10:40.183174131864350544512 gcp_hf.py:324]WARNING:Term test-folder-ssh-v4 is not being rendered for inet6, because there are no addresses of that family.I052401:10:40.184175131864350544512 gcp_hf.py:235]INFO:Term test-multiple-protocols-tcp-icmpv6 is being rendered using protocol number
W052401:10:40.187821131864350544512 gcp_hf.py:204]WARNING:Term test-multiple-protocols-tcp-icmp is being rendered for inet6,ICMP protocol will not be rendered.W052401:10:40.188072131864350544512 gcp_hf.py:204]WARNING:Term test-icmp is being rendered for inet6,ICMP protocol will not be rendered.I052401:10:40.188163131864350544512 gcp_hf.py:235]INFO:Term test-icmpv6 is being rendered using protocol number
W052401:10:40.188378131864350544512 gcp_hf.py:214]WARNING:Term test-igmp is being rendered for inet6,IGMP protocol will not be rendered.W052401:10:40.189108131864350544512 gcp_hf.py:276]WARNING:Term test-egress-address-v4-only is not being rendered for inet6, because there are no addresses of that family.I052401:10:40.189532131864350544512 gcp_hf.py:583]Policy testhf quota cost:30I052401:10:40.190288131864350544512 aclgen.py:493] file changed: sample_inet6_gcp_hf.gcphf
I052401:10:40.205874131864350544512 arista_tp.py:930]INFO: term accept-traceroute in policy MIXED-TRAFFIC-POLICY expires in less than two weeks.W052401:10:40.206164131864350544512arista_tp.py:937]WARNING: term accept-traceroute in policy MIXED-TRAFFIC-POLICY is expired and will not be rendered.I052401:10:40.206482131864350544512arista_tp.py:930]INFO: term ipv6-accept-traceroute in policy MIXED-TRAFFIC-POLICY expires in less than two weeks.W052401:10:40.206562131864350544512arista_tp.py:937]WARNING: term ipv6-accept-traceroute in policy MIXED-TRAFFIC-POLICY is expired and will not be rendered.I052401:10:40.214196131864350544512 aclgen.py:493] file changed: sample_paloalto.xmlI052401:10:40.223646131864350544512 aclgen.py:493] file changed: sample_ipset.ipsW052401:10:40.223852131864350544512 gce.py:302]WARNING:Term test-ssh-v6 is not being rendered for inet, because there are no addresses of that family.W052401:10:40.224374131864350544512 gce.py:302]WARNING:Term test-ssh-v4 is not being rendered for inet6, because there are no addresses of that family.W052401:10:40.224474131864350544512 gce.py:302]WARNING:Term test-multiple-protocols is not being rendered for inet, because there are no addresses of that family.W052401:10:40.224882131864350544512 gce.py:342]WARNING:Term test-multiple-protocols-tcp-icmpv6 is being rendered for inet,ICMPv6 protocol will not be rendered.I052401:10:40.225288131864350544512 gce.py:359]INFO:Term test-multiple-protocols-tcp-icmpv6 is being rendered using protocol number
W052401:10:40.217487131864350544512 arista_tp.py:1000]WARNING: term allow-dns-fragments uses fragment as well as src/dst port matches. traffic-policies currently do not support this match combination. the term will not be rendered
W052401:10:40.226004131864350544512 arista_tp.py:988]WARNING: term ipv6-allow-dns-fragments in mixed policy MIXED-TRAFFIC-POLICY uses fragment the ipv6 version of the term will not be rendered.W052401:10:40.226698131864350544512 gce.py:337]WARNING:Term test-multiple-protocols-tcp-icmp is being rendered for inet6,ICMP protocol will not be rendered.W052401:10:40.227235131864350544512 arista_tp.py:1011]WARNING: term invalid-action-next uses an unsupported action (next) and will not be rendered
W052401:10:40.238633131864350544512 arista_tp.py:1011]WARNING: term ipv6-invalid-action-next uses an unsupported action (next) and will not be rendered
W052401:10:40.227809131864350544512 gce.py:302]WARNING:Term test-multiple-protocols-tcp-icmpv6-v6-only is not being rendered for inet, because there are no addresses of that family.I052401:10:40.234524131864350544512 openconfig.py:316]Total rule count of policy None is:55I052401:10:40.243909131864350544512 gce.py:359]INFO:Term test-multiple-protocols-tcp-icmpv6-v6-only is being rendered using protocol number
W052401:10:40.244218131864350544512 gce.py:302]WARNING:Term test-multiple-protocols-tcp-icmp-v4-only is not being rendered for inet6, because there are no addresses of that family.W052401:10:40.244825131864350544512 gce.py:302]WARNING:Term test-web-tag-v4-only is not being rendered for inet6, because there are no addresses of that family.W052401:10:40.245031131864350544512 gce.py:302]WARNING:Term test-icmp is not being rendered for inet6, because there are no addresses of that family.W052401:10:40.245128131864350544512 gce.py:302]WARNING:Term test-icmpv6 is not being rendered for inet, because there are no addresses of that family.I052401:10:40.245350131864350544512 gce.py:359]INFO:Term test-icmpv6 is being rendered using protocol number
I052401:10:40.245547131864350544512 gce.py:359]INFO:Term test-igmp is being rendered using protocol number
W052401:10:40.245815131864350544512 gce.py:347]WARNING:Term test-igmp is being rendered for inet6,IGMP protocol will not be rendered.I052401:10:40.248884131864350544512 aclgen.py:493] file changed: sample_cisco_lab.acl
I052401:10:40.248465131864350544512 aclgen.py:493] file changed: sample_openconfig.oacl
W052401:10:40.257138131864350544512 gce.py:308]WARNING:Term test-egress-tag-v4-only-e is not being rendered for inet6, because there are no addresses of that family.W052401:10:40.257280131864350544512 gce.py:308]WARNING:Term test-egress-tag-v6-only-e is not being rendered for inet, because there are no addresses of that family.I052401:10:40.257781131864350544512 gce.py:584]Total rule count of policy EGRESS is:28I052401:10:40.258632131864350544512 gce.py:586]Total attribute count of policy EGRESS is:90I052401:10:40.259717131864350544512 aclgen.py:493] file changed: sample_mixed_gce.gce
I052401:10:40.260134131864350544512 aclgen.py:493] file changed: sample_cisconx.nxacl
W052401:10:40.269460131864350544512 gce.py:308]WARNING:Term test-egress-address-v6-only-e is not being rendered for inet, because there are no addresses of that family.I052401:10:40.269801131864350544512 gce.py:584]Total rule count of policy EGRESS is:3I052401:10:40.269908131864350544512 gce.py:586]Total attribute count of policy EGRESS is:10I052401:10:40.270255131864350544512 aclgen.py:493] file changed: sample_gce_vpc_tf.gce
E052401:10:40.273534131864350544512 gce_vpc_tf.py:498]Terraform does not currently support ipv6!
E052401:10:40.274647131864350544512 gce_vpc_tf.py:498]Terraform does not currently support
8000
ipv6!
W052401:10:40.275328131864350544512 gce_vpc_tf.py:333]WARNING:Term test-icmpv6 is being rendered for inet,ICMPv6 protocol will not be rendered.I052401:10:40.275717131864350544512 gce_vpc_tf.py:350]INFO:Term test-igmp is being rendered using protocol number
I052401:10:40.272851131864350544512 aclgen.py:493] file changed: sample_arista_tp.atp
W052401:10:40.278833131864350544512 gce_vpc_tf.py:333]WARNING:Term test-multiple-protocols-tcp-icmpv6 is being rendered for inet,ICMPv6 protocol will not be rendered.I052401:10:40.279416131864350544512 gce_vpc_tf.py:602]Total rule count of policy global/networks/default is:10I052401:10:40.279495131864350544512 gce_vpc_tf.py:604]Total attribute count of policy global/networks/default is:32I052401:10:40.280050131864350544512 aclgen.py:493] file changed: sample_gce_vpc_tf.tf.json
W052401:10:40.290084131864350544512 junipersrx.py:555]WARNING:Term test-inet6-webserver-traffic has 0 valid source IPs, skipping.W052401:10:40.291373131864350544512 junipersrx.py:555]WARNING:Term test-inet-webserver-traffic has 0 valid source IPs, skipping.W052401:10:40.299209131864350544512 gce.py:342]WARNING:Term test-icmpv6 is being rendered for inet,ICMPv6 protocol will not be rendered.I052401:10:40.299698131864350544512 gce.py:359]INFO:Term test-igmp is being rendered using protocol number
W052401:10:40.300007131864350544512 gce.py:342]WARNING:Term test-multiple-protocols-tcp-icmpv6 is being rendered for inet,ICMPv6 protocol will not be rendered.W052401:10:40.300890131864350544512 gce.py:308]WARNING:Term test-egress-address-v6-only-e is not being rendered for inet, because there are no addresses of that family.I052401:10:40.301061131864350544512 gce.py:584]Total rule count of policy EGRESS is:12I052401:10:40.301131131864350544512 gce.py:586]Total attribute count of policy EGRESS is:38I052401:10:40.301497131864350544512 aclgen.py:493] file changed: sample_stateful_multitarget_simple.srx
W052401:10:40.307000131864350544512 paloaltofw.py:457]WARNING:Term test-tcp-established in policy external>internal is a tcp-established term and will not be rendered.W052401:10:40.308655131864350544512paloaltofw.py:451]WARNING:Term test-dns-replies in policy external>internal is a established term and will not be rendered.W052401:10:40.309031131864350544512paloaltofw.py:457]WARNING:Term test-tcp-established in policy external>internal is a tcp-established term and will not be rendered.I052401:10:40.308239131864350544512 aclgen.py:493] file changed: sample_gce.gceW052401:10:40.309394131864350544512paloaltofw.py:451]WARNING:Term test-dns-replies in policy external>internal is a established term and will not be rendered.W052401:10:40.309663131864350544512paloaltofw.py:581]WARNING:Term test-inet6-webserver-traffic in policy unknown>internal has one or more invalid src-dest combinations ['ip4-ip4'], term will not be rendered.W052401:10:40.310452131864350544512 gce.py:302]WARNING:Term test-ssh-v4 is not being rendered for inet6, because there are no addresses of that family.W052401:10:40.310739131864350544512 paloaltofw.py:575]WARNING:Term test-inet6-tcp-icmp-traffic in policy unknown>internal references ICMP protocol, term and will not be rendered.I052401:10:40.310858131864350544512paloaltofw.py:219]INFO:Term test-inet6-tcp-icmpv6-traffic in policy unknown>internal contains port-less tcp with non-port protocol(s).Moving icmpv6 to a new term.W052401:10:40.311115131864350544512paloaltofw.py:566]WARNING:Term test-inet-webserver-traffic in policy unknown>internal has one or more invalid src-dest combinations ['ip6-ip6'], term will not be rendered.W052401:10:40.311204131864350544512paloaltofw.py:560]WARNING:Term test-inet-tcp-icmpv6-traffic in policy unknown>internal references ICMPv6 protocol, term will not be rendered.I052401:10:40.311092131864350544512 gce.py:359]INFO:Term test-multiple-protocols-tcp-icmpv6 is being rendered using protocol number
I052401:10:40.311277131864350544512 paloaltofw.py:219]INFO:Term test-inet-tcp-icmp-traffic in policy unknown>internal contains port-less tcp with non-port protocol(s).Moving icmp to a new term.W052401:10:40.311514131864350544512 gce.py:337]WARNING:Term test-multiple-protocols-tcp-icmp is being rendered for inet6,ICMP protocol will not be rendered.W052401:10:40.311861131864350544512 gce.py:302]WARNING:Term test-web-tag-v4-only is not being rendered for inet6, because there are no addresses of that family.W052401:10:40.312061131864350544512 gce.py:302]WARNING:Term test-icmp is not being rendered for inet6, because there are no addresses of that family.I052401:10:40.312365131864350544512 gce.py:359]INFO:Term test-icmpv6 is being rendered using protocol number
W052401:10:40.312734131864350544512 gce.py:347]WARNING:Term test-igmp is being rendered for inet6,IGMP protocol will not be rendered.W052401:10:40.314190131864350544512 gce.py:308]WARNING:Term test-egress-tag-v4-only-e is not being rendered for inet6, because there are no addresses of that family.I052401:10:40.315892131864350544512 gce.py:584]Total rule count of policy EGRESS is:11I052401:10:40.313115131864350544512 nftables.py:835]INFO:NFtables priority not specified in header.Defaulting to 0I052401:10:40.324738131864350544512 aclgen.py:493] file changed: sample_nftables-mixed-multiple-headers-combo.nftI052401:10:40.315842131864350544512nftables.py:835]INFO:NFtables priority not specified in header.Defaulting to 0I052401:10:40.325123131864350544512nftables.py:835]INFO:NFtables priority not specified in header.Defaulting to 0I052401:10:40.325297131864350544512nftables.py:835]INFO:NFtables priority not specified in header.Defaulting to 0I052401:10:40.320534131864350544512 gce.py:586]Total attribute count of policy EGRESS is:35I052401:10:40.326103131864350544512 aclgen.py:493] file changed: sample_inet6_gce.gceI052401:10:40.329369131864350544512 aclgen.py:493] file changed: sample_srx.srxI052401:10:40.326467131864350544512nftables.py:835]INFO:NFtables priority not specified in header.Defaulting to 0I052401:10:40.331924131864350544512nftables.py:835]INFO:NFtables priority not specified in header.Defaulting to 0W052401:10:40.332219131864350544512nftables.py:739]WARNING:Term test-conntrack-established is a established term and will not be rendered.W052401:10:40.332335131864350544512nftables.py:744]WARNING:Term test-conntrack-tcp-replies is a tcp-established term and will not be rendered.I052401:10:40.332623131864350544512nftables.py:835]INFO:NFtables priority not specified in header.Defaulting to 0I052401:10:40.332754131864350544512nftables.py:835]INFO:NFtables priority not specified in header.Defaulting to 0I052401:10:40.332867131864350544512nftables.py:835]INFO:NFtables priority not specified in header.Defaulting to 0I052401:10:40.333018131864350544512nftables.py:835]INFO:NFtables priority not specified in header.Defaulting to 0I052401:10:40.336675131864350544512 aclgen.py:493] file changed: sample_nftables.nftI052401:10:40.345385131864350544512 nsxv.py:513]INFO:Term accept-traceroute in policy sample_nsxv_filter expires in less than two weeks.W052401:10:40.346175131864350544512 nsxv.py:516]WARNING:Term accept-traceroute in policy sample_nsxv_filter is expired and will not be rendered.I052401:10:40.356927131864350544512 aclgen.py:493] file changed: sample_stateful_multitarget_simple.xmlI052401:10:40.361209131864350544512 k8s.py:353]Total rule count of policy EGRESS is:10I052401:10:40.365216131864350544512 aclgen.py:493] file changed: sample_nsxv.nsxI052401:10:40.384749131864350544512nftables.py:835]INFO:NFtables priority not specified in header.Defaulting to 0I052401:10:40.386149131864350544512juniper.py:1053]INFO:Term accept-traceroute in policy LOOPBACK expires in less than two weeks.W052401:10:40.386276131864350544512juniper.py:1056]WARNING:Term accept-traceroute in policy LOOPBACK is expired and will not be rendered.I052401:10:40.389155131864350544512 aclgen.py:493] file changed: sample_nftables-mixed-icmp.nftI052401:10:40.392096131864350544512 aclgen.py:493] file changed: sample_cloudarmor.gcaI052401:10:40.397248131864350544512 aclgen.py:493] file changed: sample_packetfilter.pfI052401:10:40.398333131864350544512 aclgen.py:493] file changed: sample_juniper_loopback.jclW052401:10:40.402681131864350544512 gcp_hf.py:209]WARNING:Term test-icmpv6 is being rendered for inet,ICMPv6 protocol will not be rendered.I052401:10:40.402822131864350544512 gcp_hf.py:235]INFO:Term test-igmp is being rendered using protocol number
W052401:10:40.403130131864350544512 gcp_hf.py:209]WARNING:Term test-multiple-protocols-tcp-icmpv6 is being rendered for inet,ICMPv6 protocol will not be rendered.W052401:10:40.405634131864350544512 gcp_hf.py:276]WARNING:Term test-egress-address-v6-only is not being rendered for inet, because there are no addresses of that family.I052401:10:40.409357131864350544512 gcp_hf.py:583]Policy testhf quota cost:33I052401:10:40.410030131864350544512 aclgen.py:493] file changed: sample_gcp_hf.gcphf
I052401:10:40.406920131864350544512 aclgen.py:493] file changed: sample_k8s.yml
I052401:10:40.432952131864350544512 nftables.py:835]INFO:NFtables priority not specified in header.Defaulting to 0W052401:10:40.433240131864350544512nftables.py:744]WARNING:Term permit-tcp-replies is a tcp-established term and will not be rendered.I052401:10:40.433513131864350544512 aclgen.py:493] file changed: sample_nftables-dev.nftW052401:10:40.436946131864350544512 gcp_hf.py:324]WARNING:Term test-folder-ssh-v6 is not being rendered for inet, because there are no addresses of that family.W052401:10:40.437340131864350544512 gcp_hf.py:324]WARNING:Term test-folder-ssh-v4 is not being rendered for inet6, because there are no addresses of that family.W052401:10:40.438284131864350544512 gcp_hf.py:209]WARNING:Term test-multiple-protocols-tcp-icmpv6 is being rendered for inet,ICMPv6 protocol will not be rendered.I052401:10:40.438470131864350544512 gcp_hf.py:235]INFO:Term test-multiple-protocols-tcp-icmpv6 is being rendered using protocol number
I052401:10:40.439700131864350544512 aclgen.py:493] file changed: sample_multitarget.jcl
I052401:10:40.441250131864350544512 aclgen.py:493] file changed: sample_speedway.ipt
W052401:10:40.441540131864350544512 gcp_hf.py:204]WARNING:Term test-multiple-protocols-tcp-icmp is being rendered for inet6,ICMP protocol will not be rendered.W052401:10:40.442848131864350544512 gcp_hf.py:209]WARNING:Term test-multiple-protocols-tcp-icmpv6-v6-only is being rendered for inet,ICMPv6 protocol will not be rendered.W052401:10:40.442960131864350544512 gcp_hf.py:324]WARNING:Term test-multiple-protocols-tcp-icmpv6-v6-only is not being rendered for inet, because there are no addresses of that family.I052401:10:40.443042131864350544512 gcp_hf.py:235]INFO:Term test-multiple-protocols-tcp-icmpv6-v6-only is being rendered using protocol number
W052401:10:40.443360131864350544512 gcp_hf.py:204]WARNING:Term test-multiple-protocols-tcp-icmp-v4-only is being rendered for inet6,ICMP protocol will not be rendered.W052401:10:40.443450131864350544512 gcp_hf.py:324]WARNING:Term test-multiple-protocols-tcp-icmp-v4-only is not being rendered for inet6, because there are no addresses of that family.W052401:10:40.443634131864350544512 gcp_hf.py:204]WARNING:Term test-icmp is being rendered for inet6,ICMP protocol will not be rendered.W052401:10:40.443713131864350544512 gcp_hf.py:209]WARNING:Term test-icmpv6 is being rendered for inet,ICMPv6 protocol will not be rendered.I052401:10:40.443784131864350544512 gcp_hf.py:235]INFO:Term test-icmpv6 is being rendered using protocol number
I052401:10:40.444004131864350544512 gcp_hf.py:235]INFO:Term test-igmp is being rendered using protocol number
W052401:10:40.444154131864350544512 gcp_hf.py:214]WARNING:Term test-igmp is being rendered for inet6,IGMP protocol will not be rendered.W052401:10:40.445261131864350544512 gcp_hf.py:276]WARNING:Term test-egress-address-v4-only is not being rendered for inet6, because there are no addresses of that family.I052401:10:40.445324131864350544512 aclgen.py:493] file changed: sample_multitarget.evojcl
W052401:10:40.445374131864350544512 gcp_hf.py:276]WARNING:Term test-egress-address-v6-only is not being rendered for inet, because there are no addresses of that family.I052401:10:40.446039131864350544512 gcp_hf.py:583]Policy testhf quota cost:82I052401:10:40.447486131864350544512 aclgen.py:493] file changed: sample_mixed_gcp_hf.gcphf
I052401:10:40.450386131864350544512 nsxt.py:462]INFO:Term accept-traceroute in policy sample_nsxt_filter expires in less than two weeks.W052401:10:40.450498131864350544512 nsxt.py:465]WARNING:Term accept-traceroute in policy sample_nsxt_filter is expired and will not be rendered.I052401:10:40.462546131864350544512 aclgen.py:493] file changed: sample_nsxt.nsxtI052401:10:40.462735131864350544512juniper.py:1053]INFO:Term accept-traceroute in policy LOOPBACK expires in less than two weeks.W052401:10:40.462843131864350544512juniper.py:1056]WARNING:Term accept-traceroute in policy LOOPBACK is expired and will not be rendered.I052401:10:40.466380131864350544512 aclgen.py:493] file changed: sample_juniperevo_loopback.evojclW052401:10:40.980438131864350544512junipersrx.py:657]LARGETERMENCOUNTEREDI052401:10:41.610152131864350544512 aclgen.py:493] file changed: sample_multitarget.msmpcI052401:10:41.624357131864350544512 aclgen.py:493] file changed: sample_multitarget.aclI052401:10:41.625776131864350544512 aclgen.py:493] file changed: sample_multitarget.asaI052401:10:41.626843131864350544512 aclgen.py:493] file changed: sample_multitarget.baclI052401:10:41.628006131864350544512 aclgen.py:493] file changed: sample_multitarget.eaclI052401:10:41.635237131864350544512 aclgen.py:493] file changed: sample_multitarget.atpI052401:10:41.638856131864350544512 aclgen.py:493] file changed: sample_multitarget.iptI052401:10:41.639856131864350544512 aclgen.py:493] file changed: sample_multitarget.nxaclI052401:10:41.642449131864350544512 aclgen.py:493] file changed: sample_multitarget.xaclI052401:10:42.908046131864350544512 aclgen.py:493] file changed: sample_msmpc.msmpcW052401:10:50.240122131864350544512junipersrx.py:657]LARGETERMENCOUNTEREDW052401:10:52.419692131864350544512 junipersrx.py:657]LARGETERMENCOUNTEREDI052401:11:18.661242131864350544512 aclgen.py:493] file changed: sample_stateful_multitarget_complex.srxI052401:11:18.908072131864350544512 aclgen.py:493] file changed: sample_stateful_multitarget_complex.xmlI052401:11:18.934909131864350544512 aclgen.py:574] writing 44 files to disk...
I052401:11:18.938696131864350544512 aclgen.py:593] writing file: sample_sonic.jsonI052401:11:18.939172131864350544512 aclgen.py:593] writing file: sample_inet6_gcp_hf.gcphfI052401:11:18.939619131864350544512 aclgen.py:593] writing file: sample_paloalto.xmlI052401:11:18.940009131864350544512 aclgen.py:593] writing file: sample_ipset.ipsI052401:11:18.940444131864350544512 aclgen.py:593] writing file: sample_openconfig.oaclI052401:11:18.940855131864350544512 aclgen.py:593] writing file: sample_cisco_lab.aclI052401:11:18.941211131864350544512 aclgen.py:593] writing file: sample_mixed_gce.gceI052401:11:18.941587131864350544512 aclgen.py:593] writing file: sample_gce_vpc_tf.gceI052401:11:18.941964131864350544512 aclgen.py:593] writing file: sample_cisconx.nxaclI052401:11:18.942367131864350544512 aclgen.py:593] writing file: sample_gce_vpc_tf.tf.jsonI052401:11:18.942790131864350544512 aclgen.py:593] writing file: sample_arista_tp.atpI052401:11:18.943212131864350544512 aclgen.py:593] writing file: sample_stateful_multitarget_simple.srxI052401:11:18.943684131864350544512 aclgen.py:593] writing file: sample_gce.gceI052401:11:18.944037131864350544512 aclgen.py:593] writing file: sample_nftables-mixed-multiple-headers-combo.nftI052401:11:18.944420131864350544512 aclgen.py:593] writing file: sample_inet6_gce.gceI052401:11:18.944844131864350544512 aclgen.py:593] writing file: sample_srx.srxI052401:11:18.945183131864350544512 aclgen.py:593] writing file: sample_nftables.nftI052401:11:18.945557131864350544512 aclgen.py:593] writing file: sample_stateful_multitarget_simple.xmlI052401:11:18.946003131864350544512 aclgen.py:593] writing file: sample_nsxv.nsxI052401:11:18.946347131864350544512 aclgen.py:593] writing file: sample_cloudarmor.gcaI052401:11:18.946757131864350544512 aclgen.py:593] writing file: sample_nftables-mixed-icmp.nftI052401:11:18.947118131864350544512 aclgen.py:593] writing file: sample_juniper_loopback.jclI052401:11:18.947455131864350544512 aclgen.py:593] writing file: sample_packetfilter.pfI052401:11:18.947813131864350544512 aclgen.py:593] writing file: sample_gcp_hf.gcphfI052401:11:18.948232131864350544512 aclgen.py:593] writing file: sample_k8s.ymlI052401:11:18.948606131864350544512 aclgen.py:593] writing file: sample_nftables-dev.nftI052401:11:18.949097131864350544512 aclgen.py:593] writing file: sample_multitarget.jclI052401:11:18.949609131864350544512 aclgen.py:593] writing file: sample_multitarget.evojclI052401:11:18.950057131864350544512 aclgen.py:593] writing file: sample_speedway.iptI052401:11:18.950517131864350544512 aclgen.py:593] writing file: sample_mixed_gcp_hf.gcphfI052401:11:18.951089131864350544512 aclgen.py:593] writing file: sample_nsxt.nsxtI052401:11:18.951479131864350544512 aclgen.py:593] writing file: sample_juniperevo_loopback.evojclI052401:11:18.963704131864350544512 aclgen.py:593] writing file: sample_multitarget.msmpcI052401:11:18.970462131864350544512 aclgen.py:593] writing file: sample_multitarget.aclI052401:11:18.970960131864350544512 aclgen.py:593] writing file: sample_multitarget.asaI052401:11:18.971390131864350544512 aclgen.py:593] writing file: sample_multitarget.baclI052401:11:18.971883131864350544512 aclgen.py:593] writing file: sample_multitarget.eaclI052401:11:18.972230131864350544512 aclgen.py:593] writing file: sample_multitarget.atpI052401:11:18.972591131864350544512 aclgen.py:593] writing file: sample_multitarget.iptI052401:11:18.973029131864350544512 aclgen.py:593] writing file: sample_multitarget.nxaclI052401:11:18.973448131864350544512 aclgen.py:593] writing file: sample_multitarget.xaclI052401:11:18.990920131864350544512 aclgen.py:593] writing file: sample_msmpc.msmpcI052401:11:19.000735131864350544512 aclgen.py:593] writing file: sample_stateful_multitarget_complex.srxI052401:11:19.002266131864350544512 aclgen.py:593] writing file: sample_stateful_multitarget_complex.xmlI052401:11:19.003127131864350544512 aclgen.py:675] done.
@TheProdigyLeague ➜ /workspaces/codespaces-jupyter/capirca (master) $ ~/.local/bin/capirca --helpfull
bash: /home/codespace/.local/bin/capirca: No such file or directory
@TheProdigyLeague ➜ /workspaces/codespaces-jupyter/capirca (master) $ ^C
Traceback(most recent call last):File"<stdin>", line 5,in <module>
File"/workspaces/codespaces-jupyter/capirca/capirca/lib/paloaltofw.py", line 328,in__init__
super().__init__(pol, exp_info)File"/workspaces/codespaces-jupyter/capirca/capirca/lib/aclgenerator.py", line 322,in __init__
self._TranslatePolicy(pol, exp_info)File"/workspaces/codespaces-jupyter/capirca/capirca/lib/paloaltofw.py", line 488,in _TranslatePolicy
raise UnsupportedFilterError(
capirca.lib.paloaltofw.UnsupportedFilterError:Term ping-gdns contains non tcp, udp protocols with pan-application: icmp: icmp
pan-application can only be used with protocols tcp, udp
>>> output = paloaltofw.PaloAltoFW(pol,1)[1]+ Stopped python3
The text was updated successfully, but these errors were encountered:
@TheProdigyLeague ➜ /workspaces/codespaces-jupyter/capirca (master) $ ~/.local/bin/capirca --helpfull bash: /home/codespace/.local/bin/capirca: No such file or directory @TheProdigyLeague ➜ /workspaces/codespaces-jupyter/capirca (master) $ ^C
...
The text was updated successfully, but these errors were encountered: