Comments (1)
The following instruction classes are coded:
InstructionList::GotoTable.new( :table_id => 2 )
InstructionList::WriteMetadata.new( :metadata => rand( 2**64 ), :metadata_mask => rand( 2**64 ) )
InstructionList::WriteActions.new( :actions => build_action_list )
InstructionList::ApplyActions.new( :actions => build_action_list )
InstructionList::ClearActions.new
InstructionList::Meter.new( rand( 2**32 ) )
InstructionList::Experimenter.new( :experimenter => rand( 2 ** 32 ), :user_data => rand( 36**10 ).to_s( 36 ).unpack( "C" ) )
All classes reside under trema/instruction-list and a typical class looks like the following:
module Trema
module InstructionList
class InstructionActions < InstructionAccessor
array :actions, :presence => true, :validate_with => :check_actions
end
def check_actions actions, name
raise ArgumentError, "At least one action object must be specified for #{ name }" if actions.empty?
end
end
end
The InstructionAccessor
class name TBD.
from trema-edge.
Related Issues (20)
- Multiple table usage error HOT 2
- make失敗およびlearning-switchの実行失敗 HOT 1
- FLOW_MODに使用するバイトオーダ HOT 1
- Trema::Match*_mask does not work HOT 6
- 生成したフレームをpacket_outのdata:として指定した際にエラーが出力される HOT 5
- ExactMatch.from is not fully implemented yet
- LoggerモジュールがSinatraと衝突して動かない HOT 1
- Trema::Controller::send_list_switches_request is not implemented yet
- send_flow_mod_delete
- Trema::Controller#switch_disconnected is not implemented
- Trema::Match#compare is not implemented
- FlowMultipartRequestがエラーになる HOT 2
- FlowMultipartRequestがエラーになる。 (Ipv4SrcAddr) HOT 1
- action buckets に複数の action を定義できない HOT 2
- OpenFLow 1.3.3 HOT 3
- Write-Action instruction does not allow to modify multiple header fields HOT 1
- TremaEdgeでPioが動作しない HOT 3
- trema-edge does not pass the unit tests
- Dumper.rb の port_status メソッド が正しく動作しない HOT 1
- trema version コマンドの出力 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trema-edge.