Properties and action

Table 51: Properties and action for netdev_device

Property/Action name

Description

Value type and restrictions

hostname

Specifies the device name.

String, case insensitive.

Length: 1 to 64 characters.

user

Specifies the username for SSH login.

String, case sensitive.

Length: 1 to 55 characters.

password

Specifies the password for SSH login.

String, case sensitive.

Length and form requirements in non-FIPS mode:

  • 1 to 63 characters when in plaintext form.

  • 1 to 110 characters when in hashed form.

  • 1 to 117 characters when in encrypted form.

action

Specifies the action for the resource.

Symbol:

  • create—Establishes a NETCONF connection to the Chef server.

  • delete—Closes the NETCONF connection to the Chef server.

The default action is create.