<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic create FC target interface in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/create-FC-target-interface/m-p/459954#M44868</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;trying to use ansible to create fc target for a vserver but no luck,&amp;nbsp; playbook below , the error is&amp;nbsp;fatal: [localhost]: FAILED! =&amp;gt; {"changed": false, "msg": "Error: the python NetApp-Lib module is required. Import error: No module named 'netapp_lib'"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;not sure what is missing, any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;playbook&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt;- hosts: localhost&lt;BR /&gt;vars:&lt;BR /&gt;netapp_hostname: cluster01&lt;BR /&gt;netapp_username: svmadmin&lt;BR /&gt;vars_prompt:&lt;BR /&gt;- name: netapp_password&lt;BR /&gt;prompt: "Please enter Netapp password (hidden from output)"&lt;BR /&gt;private: yes&lt;/P&gt;&lt;P&gt;tasks:&lt;BR /&gt;- name: Create FCP interface&lt;BR /&gt;netapp.ontap.na_ontap_interface:&lt;BR /&gt;vserver: svmfcp31&lt;BR /&gt;state: present&lt;BR /&gt;interface_name: svmtest_0g_tgt&lt;BR /&gt;interface_type: fc&lt;BR /&gt;data_protocol: fcp&lt;BR /&gt;current_node: node-01&lt;BR /&gt;current_port: 0g&lt;BR /&gt;role: data&lt;BR /&gt;failover_policy: disabled&lt;BR /&gt;force_subnet_association: false&lt;BR /&gt;admin_status: up&lt;BR /&gt;hostname: "{{ netapp_hostname }}"&lt;BR /&gt;username: "{{ netapp_username }}"&lt;BR /&gt;password: "{{ netapp_password }}"&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2025 16:28:02 GMT</pubDate>
    <dc:creator>murad12</dc:creator>
    <dc:date>2025-04-04T16:28:02Z</dc:date>
    <item>
      <title>create FC target interface</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/create-FC-target-interface/m-p/459954#M44868</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;trying to use ansible to create fc target for a vserver but no luck,&amp;nbsp; playbook below , the error is&amp;nbsp;fatal: [localhost]: FAILED! =&amp;gt; {"changed": false, "msg": "Error: the python NetApp-Lib module is required. Import error: No module named 'netapp_lib'"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;not sure what is missing, any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;playbook&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt;- hosts: localhost&lt;BR /&gt;vars:&lt;BR /&gt;netapp_hostname: cluster01&lt;BR /&gt;netapp_username: svmadmin&lt;BR /&gt;vars_prompt:&lt;BR /&gt;- name: netapp_password&lt;BR /&gt;prompt: "Please enter Netapp password (hidden from output)"&lt;BR /&gt;private: yes&lt;/P&gt;&lt;P&gt;tasks:&lt;BR /&gt;- name: Create FCP interface&lt;BR /&gt;netapp.ontap.na_ontap_interface:&lt;BR /&gt;vserver: svmfcp31&lt;BR /&gt;state: present&lt;BR /&gt;interface_name: svmtest_0g_tgt&lt;BR /&gt;interface_type: fc&lt;BR /&gt;data_protocol: fcp&lt;BR /&gt;current_node: node-01&lt;BR /&gt;current_port: 0g&lt;BR /&gt;role: data&lt;BR /&gt;failover_policy: disabled&lt;BR /&gt;force_subnet_association: false&lt;BR /&gt;admin_status: up&lt;BR /&gt;hostname: "{{ netapp_hostname }}"&lt;BR /&gt;username: "{{ netapp_username }}"&lt;BR /&gt;password: "{{ netapp_password }}"&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 16:28:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/create-FC-target-interface/m-p/459954#M44868</guid>
      <dc:creator>murad12</dc:creator>
      <dc:date>2025-04-04T16:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: create FC target interface</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/create-FC-target-interface/m-p/459964#M44869</link>
      <description>&lt;P&gt;Error message clearly says NetApp-Lib package is required.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pypi.org/project/netapp-lib/" target="_blank"&gt;https://pypi.org/project/netapp-lib/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 04:44:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/create-FC-target-interface/m-p/459964#M44869</guid>
      <dc:creator>Sanaman</dc:creator>
      <dc:date>2025-04-07T04:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: create FC target interface</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/create-FC-target-interface/m-p/459968#M44872</link>
      <description>&lt;P&gt;Hi, the error is actually generic and meaningless, the package is installed for sure&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 07:25:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/create-FC-target-interface/m-p/459968#M44872</guid>
      <dc:creator>murad12</dc:creator>
      <dc:date>2025-04-07T07:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: create FC target interface</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/create-FC-target-interface/m-p/459993#M44875</link>
      <description>&lt;P&gt;hello:&lt;/P&gt;&lt;P&gt;&amp;nbsp; This link is hoped to be helpful to you.&lt;/P&gt;&lt;P&gt;&lt;A href="https://forum.ansible.com/t/error-the-python-netapp-lib-module-is-required/3439" target="_blank" rel="noopener"&gt;https://forum.ansible.com/t/error-the-python-netapp-lib-module-is-required/3439&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 08:53:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/create-FC-target-interface/m-p/459993#M44875</guid>
      <dc:creator>chenguanghui</dc:creator>
      <dc:date>2025-04-08T08:53:30Z</dc:date>
    </item>
  </channel>
</rss>

