Class: Distem::Node::NetworkForge

Inherits:
Forge
  • Object
show all
Defined in:
lib/distem/node/networkforge.rb

Overview

Allows to modify network physical resources to fit with the virtual resources specifications

Instance Attribute Summary

Attributes inherited from Forge

#algorithm, #resource

Instance Method Summary (collapse)

Methods inherited from Forge

#apply, #undo

Constructor Details

- (NetworkForge) initialize(viface, algorithm = Algorithm::Network::TBF.new)

Create a new NetworkForge specifying the virtual network interface resource to modify (limit) and the algorithm to use

Attributes

  • viface The VIface object

  • algorithm The Algorithm::Network object



13
14
15
# File 'lib/distem/node/networkforge.rb', line 13

def initialize(viface,algorithm=Algorithm::Network::TBF.new)
  super(viface,algorithm)
end