<?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 Re: ansible playbook: create SVM with static IP adress and subnet ... in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ansible-playbook-create-SVM-with-static-IP-adress-and-subnet/m-p/168412#M3145</link>
    <description>&lt;P&gt;I don't think you need the line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;subnet_name: subnet vlan 110&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;all&amp;nbsp;I use is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;snip&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;interface_name: "{{ item.lif_interface_name }}"&lt;BR /&gt;home_port: "{{ item.lif_cluster_node_home_port }}"&lt;BR /&gt;home_node: "{{ item.lif_cluster_node_home_node }}"&lt;BR /&gt;role: "{{ item.lif_role }}"&lt;BR /&gt;protocols: "{{ item.lif_protocols }}"&lt;BR /&gt;admin_status: up&lt;BR /&gt;failover_policy: local-only&lt;BR /&gt;firewall_policy: "{{ item.lif_firewall }}"&lt;BR /&gt;is_auto_revert: true&lt;BR /&gt;address: "{{ item.lif_ip_address }}"&lt;BR /&gt;netmask: "{{ item.lif_netmask }}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;snip&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 13 Jul 2021 23:01:09 GMT</pubDate>
    <dc:creator>Greg_Wilson</dc:creator>
    <dc:date>2021-07-13T23:01:09Z</dc:date>
    <item>
      <title>ansible playbook: create SVM with static IP adress and subnet ...</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ansible-playbook-create-SVM-with-static-IP-adress-and-subnet/m-p/168299#M3144</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a question regarding create a SVM via ansible. We have a network with static IP adresses.&lt;/P&gt;&lt;P&gt;With Ontap GUI you can create SVM ... The data LIF configuration allows to&lt;/P&gt;&lt;P&gt;either&amp;nbsp; select using subnet with an (static) IP address&lt;/P&gt;&lt;P&gt;or specify IP,netmask and&amp;nbsp; gateway. This works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the ansible module&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;netapp.ontap.na_ontap_interface&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;this is not possible to do it like in GUI.&lt;/P&gt;&lt;P&gt;The documentation shows for address:&lt;/P&gt;&lt;DIV&gt;Specifies the LIF's IP address.&lt;/DIV&gt;&lt;DIV&gt;Required when state=present and is_ipv4_link_local if false and subnet_name is not set.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;----------- The part of the playbook --------------------&lt;/DIV&gt;&lt;DIV&gt;na_ontap_interface:&lt;BR /&gt;state: present&lt;BR /&gt;interface_name: ansibletestsvm2_nfs_lif1&lt;BR /&gt;home_port: e0c-110&lt;BR /&gt;home_node: XXXXXXX&lt;BR /&gt;role: data&lt;BR /&gt;protocols:&lt;BR /&gt;- nfs&lt;BR /&gt;admin_status: up&lt;BR /&gt;failover_policy: system-defined&lt;BR /&gt;firewall_policy: mgmt&lt;BR /&gt;is_auto_revert: true&lt;BR /&gt;address: XX.XX.XX.XX&lt;BR /&gt;netmask: 255.255.254.0&lt;BR /&gt;subnet_name: subnet vlan 110&lt;BR /&gt;----------------------------------------&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any ideas howto configure a SVM with&amp;nbsp; static IP using ansible ?&lt;/DIV&gt;&lt;DIV&gt;Running the playbook give the result:&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;fatal: [localhost]: FAILED! =&amp;gt; {"changed": false, "msg": "parameters are mutually exclusive: subnet_name|address, subnet_name|netmask"}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best regards,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Thomas&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:19:51 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ansible-playbook-create-SVM-with-static-IP-adress-and-subnet/m-p/168299#M3144</guid>
      <dc:creator>Thomas2</dc:creator>
      <dc:date>2025-06-04T10:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: ansible playbook: create SVM with static IP adress and subnet ...</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ansible-playbook-create-SVM-with-static-IP-adress-and-subnet/m-p/168412#M3145</link>
      <description>&lt;P&gt;I don't think you need the line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;subnet_name: subnet vlan 110&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;all&amp;nbsp;I use is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;snip&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;interface_name: "{{ item.lif_interface_name }}"&lt;BR /&gt;home_port: "{{ item.lif_cluster_node_home_port }}"&lt;BR /&gt;home_node: "{{ item.lif_cluster_node_home_node }}"&lt;BR /&gt;role: "{{ item.lif_role }}"&lt;BR /&gt;protocols: "{{ item.lif_protocols }}"&lt;BR /&gt;admin_status: up&lt;BR /&gt;failover_policy: local-only&lt;BR /&gt;firewall_policy: "{{ item.lif_firewall }}"&lt;BR /&gt;is_auto_revert: true&lt;BR /&gt;address: "{{ item.lif_ip_address }}"&lt;BR /&gt;netmask: "{{ item.lif_netmask }}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;snip&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jul 2021 23:01:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ansible-playbook-create-SVM-with-static-IP-adress-and-subnet/m-p/168412#M3145</guid>
      <dc:creator>Greg_Wilson</dc:creator>
      <dc:date>2021-07-13T23:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: ansible playbook: create SVM with static IP adress and subnet ...</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ansible-playbook-create-SVM-with-static-IP-adress-and-subnet/m-p/168751#M3151</link>
      <description>&lt;P&gt;hey&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/94085"&gt;@Thomas2&lt;/a&gt;&amp;nbsp;, was your question answered by&amp;nbsp;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/74691"&gt;@Greg_Wilson&lt;/a&gt;&amp;nbsp;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 06:38:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/ansible-playbook-create-SVM-with-static-IP-adress-and-subnet/m-p/168751#M3151</guid>
      <dc:creator>tahmad</dc:creator>
      <dc:date>2021-07-27T06:38:45Z</dc:date>
    </item>
  </channel>
</rss>

