Class: TCWrapper::QdiscIngress
- Inherits:
-
Wrapper
- Object
- Wrapper
- TCWrapper::QdiscIngress
- Defined in:
- lib/distem/wrapper/tc/qdiscingress.rb
Constant Summary
- TYPE =
"qdisc"
Constants inherited from Wrapper
Instance Attribute Summary (collapse)
-
- (Object) id
readonly
Returns the value of attribute id.
Instance Method Summary (collapse)
- - (Object) get_cmd(*args)
-
- (QdiscIngress) initialize(iface)
constructor
A new instance of QdiscIngress.
Methods inherited from Wrapper
Constructor Details
- (QdiscIngress) initialize(iface)
Returns a new instance of QdiscIngress
10 11 12 13 |
# File 'lib/distem/wrapper/tc/qdiscingress.rb', line 10 def initialize(iface) super(iface,TYPE,"ingress",Hash.new) @id = Id.new("ffff") end |
Instance Attribute Details
- (Object) id (readonly)
Returns the value of attribute id
8 9 10 |
# File 'lib/distem/wrapper/tc/qdiscingress.rb', line 8 def id @id end |
Instance Method Details
- (Object) get_cmd(*args)
15 16 17 |
# File 'lib/distem/wrapper/tc/qdiscingress.rb', line 15 def get_cmd(*args) super(*args) + "ingress" end |