Class: Distem::Resource::VIface::VTraffic::Property

Inherits:
Object
  • Object
show all
Defined in:
lib/distem/resource/viface.rb

Overview

Abstract interface that helps to handle properties a network traffic can have

Direct Known Subclasses

Bandwidth, Latency

Instance Method Summary (collapse)

Constructor Details

- (Property) initialize

Should not be used directly



21
22
# File 'lib/distem/resource/viface.rb', line 21

def initialize()
end

Instance Method Details

- (Object) parse_params(paramshash)

Parameter parsing method prototype



25
26
# File 'lib/distem/resource/viface.rb', line 25

def parse_params(paramshash)
end

- (Object) to_s



28
29
30
# File 'lib/distem/resource/viface.rb', line 28

def to_s()
  return self.class.name.split('::').last || ''
end