libraries/resource_providers/api200/uplink_set_provider.rb
# Checks for external resources to be loaded within the @item
Checks for external resources to be loaded within the @item
Checks for external resources to be loaded within the @item
def load_native_network
        return @item['nativeNetworkUri'] = nil unless @new_resource.native_network
        network_type = @item['networkType'] == 'Ethernet' ? 'EthernetNetwork' : 'FCNetwork'
        @item['nativeNetworkUri'] = load_resource(network_type, native_network, 'uri')
      end
def load_native_network return @item [ 'nativeNetworkUri' ] = nil unless @new_resource . native_network network_type = @item [ 'networkType' ] == 'Ethernet' ? 'EthernetNetwork' : 'FCNetwork' @item [ 'nativeNetworkUri' ] = load_resource ( network_type , native_network , 'uri' ) end
Checks for external resources to be loaded within the @item
Checks for external resources to be loaded within the @item
# Retrieves the uplink set type based on the declared networkType parameter # Takes either Ethernet (default) or FibreChannel