Class: Ansible::Ruby::Modules::Virt_net
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Virt_net
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/misc/virt_net.rb
Overview
Manage I(libvirt) networks.
Instance Method Summary collapse
-
#autostart ⇒ Symbol?
Specify if a given network should be started automatically on system boot.
-
#command ⇒ :define, ...
In addition to state management, various non-idempotent commands are available.
-
#name ⇒ String
Name of the network being managed.
-
#state ⇒ :active, ...
Specify which state you want a network to be in.
-
#uri ⇒ String?
Libvirt connection uri.
-
#xml ⇒ String?
XML document used with the define command.
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
#autostart ⇒ Symbol?
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/virt_net.rb', line 24 attribute :autostart |
#command ⇒ :define, ...
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/virt_net.rb', line 20 attribute :command |
#name ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/virt_net.rb', line 12 attribute :name |
#state ⇒ :active, ...
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/virt_net.rb', line 16 attribute :state |
#uri ⇒ String?
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/virt_net.rb', line 28 attribute :uri |
#xml ⇒ String?
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/misc/virt_net.rb', line 32 attribute :xml |