parser.add_argument("profile",type=str,help="Path to the device YAML profile")
parser.add_argument("-n","--name",type=str,help="Name of the device's NFQueue")
parser.add_argument("-q","--nfqueue",type=uint16,default=0,help="NFQueue start index for this profile's policies (must be an integer between 0 and 65535)")
parser.add_argument("-o","--output",type=directory,help="Output directory for the generated files")
# Verdict modes
...
...
@@ -173,6 +174,9 @@ if __name__ == "__main__":
# Get device info
device=profile["device-info"]
# Set device's NFQueue name if not provided as argument