// Code generated by "libovsdb.modelgen"
// DO NOT EDIT.

package nbdb

type (
	ACLAction    = string
	ACLDirection = string
	ACLSeverity  = string
)

const (
	ACLActionAllow        ACLAction    = "allow"
	ACLActionAllowRelated ACLAction    = "allow-related"
	ACLActionDrop         ACLAction    = "drop"
	ACLActionReject       ACLAction    = "reject"
	ACLDirectionFromLport ACLDirection = "from-lport"
	ACLDirectionToLport   ACLDirection = "to-lport"
	ACLSeverityAlert      ACLSeverity  = "alert"
	ACLSeverityWarning    ACLSeverity  = "warning"
	ACLSeverityNotice     ACLSeverity  = "notice"
	ACLSeverityInfo       ACLSeverity  = "info"
	ACLSeverityDebug      ACLSeverity  = "debug"
)

// ACL defines an object in ACL table
type ACL struct {
	UUID        string            `ovsdb:"_uuid"`
	Action      ACLAction         `ovsdb:"action"`
	Direction   ACLDirection      `ovsdb:"direction"`
	ExternalIDs map[string]string `ovsdb:"external_ids"`
	Log         bool              `ovsdb:"log"`
	Match       string            `ovsdb:"match"`
	Meter       []string          `ovsdb:"meter"`
	Name        []string          `ovsdb:"name"`
	Priority    int               `ovsdb:"priority"`
	Severity    []ACLSeverity     `ovsdb:"severity"`
}
