Class: Ansible::Ruby::Modules::Opx_cps

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/opx/opx_cps.rb

Overview

Executes the given operation on the YANG object, using CPS API in the networking device running OpenSwitch (OPX). It uses the YANG models provided in github.com/open-switch/opx-base-model.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#attr_dataHash?

Returns Attribute Yang path and their corresponding data.

Returns:

  • (Hash, nil)

    Attribute Yang path and their corresponding data.



19
# File 'lib/ansible/ruby/modules/generated/network/opx/opx_cps.rb', line 19

attribute :attr_data

#attr_typeObject?

Returns Attribute Yang type.

Returns:

  • (Object, nil)

    Attribute Yang type.



16
# File 'lib/ansible/ruby/modules/generated/network/opx/opx_cps.rb', line 16

attribute :attr_type

#commit_event:yes, ...

Returns Attempts to force the auto-commit event to the specified yang object.

Returns:

  • (:yes, :no, nil)

    Attempts to force the auto-commit event to the specified yang object.



35
# File 'lib/ansible/ruby/modules/generated/network/opx/opx_cps.rb', line 35

attribute :commit_event

#db:yes, ...

Returns Queries/Writes the specified yang path from/to the db.

Returns:

  • (:yes, :no, nil)

    Queries/Writes the specified yang path from/to the db.



27
# File 'lib/ansible/ruby/modules/generated/network/opx/opx_cps.rb', line 27

attribute :db

#module_nameString?

Returns Yang path to be configured.

Returns:

  • (String, nil)

    Yang path to be configured.



12
# File 'lib/ansible/ruby/modules/generated/network/opx/opx_cps.rb', line 12

attribute :module_name

#operation:delete, ...

Returns Operation to be performed on the object.

Returns:

  • (:delete, :create, :set, :action, :get, nil)

    Operation to be performed on the object.



23
# File 'lib/ansible/ruby/modules/generated/network/opx/opx_cps.rb', line 23

attribute :operation

#qualifier:target, ...

Returns A qualifier provides the type of object data to retrieve or act on.

Returns:

  • (:target, :observed, :proposed, :realtime, :registration, :running, :startup, nil)

    A qualifier provides the type of object data to retrieve or act on.



31
# File 'lib/ansible/ruby/modules/generated/network/opx/opx_cps.rb', line 31

attribute :qualifier