Class: Ansible::Ruby::Modules::Ip_netns

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/net_tools/ip_netns.rb

Overview

Create or delete network namespaces using the ip command.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#nameString?

Returns Name of the namespace.

Returns:

  • (String, nil)

    Name of the namespace



12
# File 'lib/ansible/ruby/modules/generated/net_tools/ip_netns.rb', line 12

attribute :name

#state:present, ...

Returns Whether the namespace should exist.

Returns:

  • (:present, :absent, nil)

    Whether the namespace should exist



16
# File 'lib/ansible/ruby/modules/generated/net_tools/ip_netns.rb', line 16

attribute :state