This project is no longer being developed and has limited support. In the near future this repository will be fully deprecated. Please consider using other OneView projects, such as Golang and Python.
The bulk Ethernet network creates a range or multiples VLANs at once, but doesn't return a path.
This behavior is expected.
Error output:
vagrant@chef-synergy-dev:/project/oneview-sdk-ruby/examples$ ruby bulk_ethernet_network.rb
Connected to OneView appliance at https://<hostname>
/project/oneview-sdk-ruby/lib/oneview-sdk-ruby/rest.rb:21:in `rest_api': Must specify path (RuntimeError)
from /project/oneview-sdk-ruby/lib/oneview-sdk-ruby/rest.rb:75:in `rest_get'
from /project/oneview-sdk-ruby/lib/oneview-sdk-ruby/rest.rb:125:in `response_handler'
from /project/oneview-sdk-ruby/lib/oneview-sdk-ruby/resource.rb:121:in `create'
from bulk_ethernet_network.rb:20:in `<main>'
The bulk Ethernet network creates a range or multiples VLANs at once, but doesn't return a path. This behavior is expected.
Error output: