fabric.configuration_import_policy

A configuration import policy specifies how to import a fabric configuration file.

ACI class

configImportP

RN

configimp-{name}

Cursor

ConfigurationImportPolicyCursor

Parent

fabric

Atomic

—

Attributes

Accepted as keyword arguments of .configuration_import_policy(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 import policy. For ease of reference, include details such as: the full or partial name of the file to be imported, the type/mode of import, and the remote location where the file is stored. The name cannot be changed after the policy has been created.

administrative_state

adminSt

TrigExecState

triggered, untriggered

untriggered

The administrative state of the executable policies.

description

descr

str

—

—

Specifies the description of a policy component.

fail_on_decrypt_errors

failOnDecryptErrors

bool

—

True

—

file_to_import

fileName

str

—

—

The name of the file to be imported from the remote location listed below.

import_mode

importMode

ConfigImportMode

atomic, best-effort

atomic

The import mode. The configuration data is imported per shard with each shard holding certain part of the system configuration objects.

import_action_type

importType

ConfigImportAction

merge, replace

merge

The import type specifies whether the existing fabric configuration will be merged or replaced with the backup configuration being imported.

snapshot

snapshot

bool

—

False

—