Class: Distem::Node::NetworkForge
- Inherits:
-
Forge
- Object
- Forge
- Distem::Node::NetworkForge
- 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
Instance Method Summary (collapse)
-
- (NetworkForge) initialize(viface, algorithm = Algorithm::Network::TBF.new)
constructor
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.
Methods inherited from Forge
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 |