Ansible Documentation
2.7

Installation, Upgrade & Configuration

  • Installation Guide
  • Configuring Ansible
  • Ansible Porting Guides

Using Ansible

  • User Guide

Contributing to Ansible

  • Ansible Community Guide

Extending Ansible

  • Developer Guide

Scenario Guides

  • Cisco ACI Guide
  • Amazon Web Services Guide
  • Microsoft Azure Guide
  • CloudStack Cloud Guide
  • Getting Started with Docker
  • Google Cloud Platform Guide
  • Infoblox Guide
  • Getting Started with Kubernetes and OpenShift
  • Cisco Meraki Guide
  • Using Ansible with the Packet host
  • Rackspace Cloud Guide
  • Continuous Delivery and Rolling Upgrades
  • Using Vagrant and Ansible
  • Vultr Guide

Ansible for VMWare

  • Ansible for VMware

Ansible for Network Automation

  • Ansible for Network Automation

Reference & Appendices

  • Module Index
  • Playbook Keywords
  • Ansible Galaxy
  • Return Values
  • Ansible Configuration Settings
  • YAML Syntax
  • Python 3 Support
  • Release and maintenance
  • Testing Strategies
  • Sanity Tests
  • Frequently Asked Questions
  • Glossary
  • Ansible Reference: Module Utilities
  • Special Variables
  • Ansible Tower

Roadmaps

  • Ansible Roadmap
Ansible Documentation
  • Docs »
  • dladm_linkprop – Manage link properties on Solaris/illumos systems.

dladm_linkprop – Manage link properties on Solaris/illumos systems.¶

New in version 2.3.

  • Synopsis
  • Parameters
  • Examples
  • Return Values
  • Status

Synopsis¶

  • Set / reset link properties on Solaris/illumos systems.

Parameters¶

Parameter Choices/Defaults Comments
link
- / required
Link interface name.

aliases: nic, interface
property
- / required
Specifies the name of the property we want to manage.

aliases: name
state
-
    Choices:
  • present ←
  • absent
  • reset
Set or reset the property value.
temporary
boolean
    Choices:
  • no ←
  • yes
Specifies that lin property configuration is temporary. Temporary link property configuration does not persist across reboots.
value
-
Specifies the value we want to set for the link property.

Examples¶

- name: Set 'maxbw' to 100M on e1000g1
  dladm_linkprop: name=e1000g1 property=maxbw value=100M state=present

- name: Set 'mtu' to 9000 on e1000g1
  dladm_linkprop: name=e1000g1 property=mtu value=9000

- name: Reset 'mtu' property on e1000g1
  dladm_linkprop: name=e1000g1 property=mtu state=reset

Return Values¶

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
link
string
always
link name

Sample:
e100g0
property
string
always
property name

Sample:
mtu
state
string
always
state of the target

Sample:
present
temporary
boolean
always
specifies if operation will persist across reboots

Sample:
True
value
string
always
property value

Sample:
9000


Status¶

  • This module is not guaranteed to have a backwards compatible interface. [preview]
  • This module is maintained by the Ansible Community. [community]

Authors¶

  • Adam Števko (@xen0l)

Hint

If you notice any issues in this documentation you can edit this document to improve it.


© Copyright 2013-2021 Ansible, Inc Last updated on Jul 27, 2021.

Built with Sphinx using a theme provided by Read the Docs.