otupy.profiles.slpf.validation

SLPF validation rules

This module defines specific SLPF constraints on the usable Action`s and `Args defined by the Language Specification. See Sec. 2.3 of the SLPF Specification.

Module attributes

AllowedActions

List of allowed `Action`s

AllowedTargets

List of allowed `Target`s

AllowedStatusCode

List of allowed status code in Response

AllowedCommandTarget

List of allowed Target for each Action

AllowedCommandArguments

List of allowed Args for each Action

Functions

fillin_allowed_command_arguments

Fill in the table for actions with multiple targets

validate_args

Validate a Command

validate_command

Validate a Command