class Fog::OpenStack::NFV::Vnfd

Public Instance Methods

create(options = {}) click to toggle source
# File lib/fog/openstack/nfv/models/vnfd.rb, line 21
def create(options = {})
  merge_attributes(service.create_vnfd(default_options.merge(options)).body['vnfd'])
  self
end
default_options() click to toggle source
# File lib/fog/openstack/nfv/models/vnfd.rb, line 40
def default_options
  {
    :vnfd => vnfd,
    :auth => auth
  }
end
destroy() click to toggle source
# File lib/fog/openstack/nfv/models/vnfd.rb, line 34
def destroy
  requires :id
  service.delete_vnfd(id)
  true
end
save(options = {}) click to toggle source
# File lib/fog/openstack/nfv/models/vnfd.rb, line 30
def save(options = {})
  identity ? update(options) : create(options)
end
update(_options = {}) click to toggle source
# File lib/fog/openstack/nfv/models/vnfd.rb, line 26
def update(_options = {})
  raise Fog::OpenStack::Errors::InterfaceNotImplemented, "Method 'update' is not supported"
end
vnf_attributes() click to toggle source
# File lib/fog/openstack/nfv/models/vnfd.rb, line 47
def vnf_attributes
  attributes['attributes']
end