tenant.host_protection.subject.rule

ACI class

hostprotRule

RN

rule-{name}

Cursor

RuleCursor

Parent

tenant.host_protection.subject

Atomic

—

Attributes

Accepted as keyword arguments of .rule(name) and of .set(**attrs) on this cursor. Enum parameters also accept the plain string.

parameter

wire

type

values

default

description

name (positional)

name

str

—

—

The name of the object.

host_protection_domain_action

action

HostprotAction

log, permit, deny

permit

The action required when the condition is met.

connection_tracking

connTrack

HostprotConnTrack

normal, reflexive

reflexive

—

description

descr

str

—

—

Specifies a description of the policy definition.

direction

direction

NetworkDirection

egress, ingress

ingress

The connector direction.

ethertype

ethertype

HostprotEtypeMatch

arp, fcoe, ipv4, ipv6, mac_security, mpls_ucast, trill, undefined

undefined

—

from_port

fromPort

int

—

unspecified

The port block from port.

icmp_code

icmpCode

int

—

unspecified

ICMP code

icmp_type

icmpType

int

—

unspecified

ICMP type

host_protection_rule_order

order

int

—

1

The relative priority or sequence order of this object.

owner_key

ownerKey

str

—

—

The key for enabling clients to own their data for entity correlation.

owner_tag

ownerTag

str

—

—

A tag for enabling clients to add their own data. For example, to indicate who created this object.

protocol

protocol

int

—

unspecified

The transfer protocol to be used for data export.

domain_name

toDns

str

—

—

—

to_port

toPort

int

—

unspecified

The fabric card’s port.

Children

maker

creates

position

.remote_ip(ip_address, **attrs)

hostprotRemoteIp

tenant.host_protection.subject.rule.remote_ip

.filter(**attrs)

hostprotFilterContainer

tenant.host_protection.subject.rule.filter