Class: Ansible::Ruby::Modules::Ip_netns
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ip_netns
- 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
-
#name ⇒ String?
Name of the namespace.
-
#state ⇒ :present, ...
Whether the namespace should exist.
Methods inherited from Base
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
#name ⇒ String?
Returns 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.
16 |
# File 'lib/ansible/ruby/modules/generated/net_tools/ip_netns.rb', line 16 attribute :state |