The following is a list of places that a Python policy could be applied:
Under capture SAP
Apply to the DHCPv4/v6 packets sent/received on the capture SAP
Under group-interface
Apply to DHCPv4/v6 packets sent/received on the group-interface
Under subscriber-interface
Apply to DHCPv4 packets on the retail subscriber interface
In the radius-server-policy
Apply to the RADIUS packets sent, received to, or from the RADIUS servers configured in the radius-server-policy
In the radius-proxy-server
Apply to the RADIUS packets on the client side of proxy
In the diameter-peer-policy
Apply to the Diameter packets sent or received on the Diameter peers configured in the policy