
    Vh
                         d dl mZmZmZ eZd dlZd dlZd dlm	Z
 d dlmZ d dlmZ d dlmZ d dlmZ  e       Z G d d	e      Zy)
    )absolute_importdivisionprint_functionN)	constants)ActionModule)aruba_provider_spec)load_provider)Displayc                         e Zd Zd fd	Z xZS )r   c                    ~| j                   j                  j                  d      d   }|dk(  rdnd| _        | j                  j
                  j                  d      d   }|dk(  rl| j                   j                  j                  di       }t        |j                               rot        j                  d       | j                   j                  d= nB| j                  j
                  d	k(  rdd
dS t        dd| j                  j
                  z        S | j                  j                  rM| j                  j                  j                  d      d   dk(  r"d| j                  _        d | j                  _        t        t         | G  |      }|S )N.aruba_configTFnetwork_cliproviderzBprovider is unnecessary when using network_cli and will be ignoredlocalzconnection local support for this module has been removed use either 'network_cli' or 'ansible.netcommon.network_cli' connection)failedmsgzninvalid connection specified, expected connection is either network_cli or ansible.netcommon.network_cligot %senable)	task_vars)_taskactionsplit_config_module_play_context
connectionargsgetanyvaluesdisplaywarningdictbecome_methodbecomesuperr   run)selftmpr   module_namepersistent_connectionr   result	__class__s          j/home/dcms/DCMS/lib/python3.12/site-packages/ansible_collections/community/network/plugins/action/aruba.pyr'   zActionModule.run$   sd   jj''--c226&1^&Cd $ 2 2 = = C CC H L M1zz**:r:H8??$% deJJOOJ/**g5 Z 
 #11<<=  ++0B0B0P0P0V0VWZ0[\^0_ck0k(-D%/3D,|T..C    )NN)__name__
__module____qualname__r'   __classcell__)r-   s   @r.   r   r   "   s     r/   r   )
__future__r   r   r   type__metaclass__syscopyansibler   C<ansible_collections.ansible.netcommon.plugins.action.networkr   ActionNetworkModuleNansible_collections.community.network.plugins.module_utils.network.aruba.arubar   Oansible_collections.ansible.netcommon.plugins.module_utils.network.common.utilsr	   ansible.utils.displayr
   r!    r/   r.   <module>rA      s<   & C B 
  " l n i )
)& r/   