Yohohohohohooho | Sanrei Aya
Sanrei Aya


Server : LiteSpeed
System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : elvh3918 ( 1528)
PHP Version : 8.2.31
Disable Function : mail
Directory :  /lib/python3.9/site-packages/ansible/module_utils/facts/network/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3.9/site-packages/ansible/module_utils/facts/network/__pycache__/nvme.cpython-39.pyc
a

�)g�@slddlmZmZmZeZddlZddlZddlm	m
mZddl
mZddlmZGdd�de�ZdS)�)�absolute_import�division�print_functionN)�get_file_content)�NetworkCollectorc@s eZdZdZe�Zddd�ZdS)�NvmeInitiatorNetworkCollectorZnvmeNcCshi}d|d<tj�d�rdtdd���D]<}|�d�s&|�d�s&|��dkrLq&|�d�r&||d<qdq&|S)a�
        Currently NVMe is only supported in some Linux distributions.
        If NVMe is configured on the host then a file will have been created
        during the NVMe driver installation. This file holds the unique NQN
        of the host.

        Example of contents of /etc/nvme/hostnqn:

        # cat /etc/nvme/hostnqn
        nqn.2014-08.org.nvmexpress:fc_lif:uuid:2cd61a74-17f9-4c22-b350-3020020c458d

        �ZhostnqnZlinuxz/etc/nvme/hostnqn�#�;znqn.)�sys�platform�
startswithr�
splitlines�strip)�self�moduleZcollected_factsZ
nvme_facts�line�r�K/usr/lib/python3.9/site-packages/ansible/module_utils/facts/network/nvme.py�collect"s 
z%NvmeInitiatorNetworkCollector.collect)NN)�__name__�
__module__�__qualname__�name�setZ	_fact_idsrrrrrrsr)Z
__future__rrr�typeZ
__metaclass__r�
subprocessZ"ansible.module_utils.compat.typingZmodule_utils�compat�typing�tZ ansible.module_utils.facts.utilsrZ'ansible.module_utils.facts.network.baserrrrrr�<module>s

Yohohohohohooho | Sanrei Aya