class

Cl8r::Model::AccessRule

Inherits YAML::Serializable < Reference < Object

Represents an inter-VLAN, inter-zone, or node-to-node access control rule.

Constructors

new(name : String, from : String = "any", to : String = "any", action : String = "accept", protocols : Array(String) = ["all"], ports : Array(String) = [] of String, except_from : Array(String) = [] of String, description : String | Nil = nil)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

action
Source
action=(action : String)
Source
description
Source
description=(description : String | Nil)
Source
except_from
Source
except_from=(except_from : Array(String))
Source
from
Source
from=(from : String)
Source
name
Source
name=(name : String)
Source
ports
Source
ports=(ports : Array(String))
Source
protocols
Source
protocols=(protocols : Array(String))
Source
to=(to : String)
Source