Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Manage Network Interface Service-Policies with Powershell Toolkit?
2023-07-22
02:25 AM
2,039 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I want to manage ONTAP 9.12.1 network interface service-policies with PowerShell Toolkit 9.13.1.
E.g. I want to add an IP address to the management-https service of a custom cluster service-policy.
Seems to me that such operations are not yet supported with PSTK.
But maybe I just have not found the proper cmdlet or the proper REST call
Has anyone experience with this?
Kind regards,
Matthias
Solved! See The Solution
1 ACCEPTED SOLUTION
Matthias_Dietermann has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found https://docs.netapp.com/us-en/ontap-restmap-9121/net.html#net-interface-service-policy-get-iter
net-interface-service-policy-add-service
PATCH /api/network/ip/service-policies/{uuid}
Usage: This ONTAPI call cannot be issued against Storage VM (SVM) management LIFs.
allowed-addresses | No REST Equivalent | allowed-address list defaults to 0.0.0.0/0 in REST |
2 REPLIES 2
Matthias_Dietermann has accepted the solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found https://docs.netapp.com/us-en/ontap-restmap-9121/net.html#net-interface-service-policy-get-iter
net-interface-service-policy-add-service
PATCH /api/network/ip/service-policies/{uuid}
Usage: This ONTAPI call cannot be issued against Storage VM (SVM) management LIFs.
allowed-addresses | No REST Equivalent | allowed-address list defaults to 0.0.0.0/0 in REST |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think the answer you're looking for is that the cmdlet Get-NcNetServicePolicy is added in newer Toolkit versions. Specifically, I have it available to me in version 9.14.1.2401 - I'm not sure in which version it was added, but it's definitely in that one.
