- Community Home
- >
- Software
- >
- HPE OneView
- >
- Create multiple networks into one POST
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2015 10:51 AM
03-10-2015 10:51 AM
Create multiple networks into one POST
I'm able to create one network with the REST API, but I want to create multiple networks in one POST.
e.g. this below failed, but what should it be?
{ "vlanId" : "10", "purpose" : "General", "name" : "vlan10-A", "smartLink" : true, "privateNetwork" : false, "connectionTemplateUri" : null, "ethernetNetworkType" : "Tagged", "type" : "ethernet-networkV2" },
{ "vlanId" : "10", "purpose" : "General", "name" : "vlan10-B", "smartLink" : true, "privateNetwork" : false, "connectionTemplateUri" : null, "ethernetNetworkType" : "Tagged", "type" : "ethernet-networkV2" }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2015 04:25 PM
03-10-2015 04:25 PM
Re: Create multiple networks into one POST
Hello @genesisfan and welcome to the HP OneView Communities.
The Parent URI /rest/ethernet-networks does not support multiple network resources to be created in a single POST request. You must use /rest/ethernet-networks/bulk. There is a specific format to the JSON request. Please review the documentation here.
I am an HPE employee