Skip to content

[Enhancement]: add option vip for ip_interface as LIF with BGP #629

@bernd-reize

Description

@bernd-reize

Description

In an environment with BGP all logical interfaces for SVMs have to be created with the option vip=true to mark them as virtual and have them assigned to the correct broadcast domain by the system.
For this, the option "vip" with value true is required for the resource network_ip_interface

Corresponding CLI command:
network interface create -vserver svm01 -lif svm01_vip -is-vip true -data-protocol nfs -address 1.2.3.4

Corresponding API call:

{
    "name": "test_vip",
    "ip": {
        "address": "1.2.3.4"
    },
    "svm": {
        "name": "svm01"
    },
    "service_policy": "default-data-files",
    "location": {
        "home_node": "netapp-01"
    }
    "vip": "true"
}

curl -H "Content-type:application/json" -d @payload.json -X POST https://netapp_ip/api/network/ip/interfaces

Affected Resource(s) and/or Data Source(s)

netapp-ontap_network_ip_interface

Potential Terraform Configuration

resource "netapp-ontap_network_ip_interface" "vips" {
  name            = "test_vip"
  cx_profile_name = "netapp_ip"
  svm_name        = "svm01"
  ip = {
    address = "1.2.3.4"
  }
  location = {
    home_node = "node01"
  }
  service_policy = "default-data-files"
  ipspace        = "Default"
  vip            = true
}

References

No response

Would you like to implement a fix?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions