trema 0.2.2.1 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (250) hide show
  1. data/.gitmodules +3 -0
  2. data/.travis.yml +13 -0
  3. data/.yardopts +4 -0
  4. data/Gemfile +2 -3
  5. data/README.md +43 -97
  6. data/Rakefile +60 -4
  7. data/Rantfile +11 -10
  8. data/cruise.rb +4 -6
  9. data/features/example.packetin_filter_config.feature +10 -10
  10. data/features/example.switch_monitor.feature +14 -2
  11. data/features/step_definitions/kill_steps.rb +2 -2
  12. data/features/step_definitions/{off_steps.rb → killall_steps.rb} +2 -2
  13. data/features/step_definitions/misc_steps.rb +1 -1
  14. data/features/step_definitions/up_steps.rb +30 -0
  15. data/features/trema.feature +1 -0
  16. data/features/trema.run.feature +1 -0
  17. data/locale/README.ja.md +19 -0
  18. data/locale/ja/yard.po +3762 -0
  19. data/locale/yard.pot +3740 -0
  20. data/ruby/extconf.rb +4 -1
  21. data/ruby/trema/action-common.c +3 -17
  22. data/ruby/trema/action-common.h +3 -7
  23. data/ruby/trema/action.rb +33 -0
  24. data/ruby/trema/app.rb +1 -1
  25. data/ruby/trema/barrier-request.c +1 -0
  26. data/ruby/trema/command/run.rb +13 -9
  27. data/ruby/trema/command/usage.rb +1 -0
  28. data/ruby/trema/command/version.rb +1 -1
  29. data/ruby/trema/controller.c +133 -50
  30. data/ruby/trema/controller.rb +2 -2
  31. data/ruby/trema/desc-stats-reply.rb +77 -0
  32. data/ruby/trema/dsl/configuration.rb +3 -14
  33. data/ruby/trema/dsl/rswitch.rb +47 -0
  34. data/ruby/trema/dsl/runner.rb +4 -1
  35. data/ruby/trema/dsl/syntax.rb +11 -8
  36. data/ruby/trema/echo-reply.c +59 -45
  37. data/ruby/trema/echo-reply.h +1 -3
  38. data/ruby/trema/echo-request.c +49 -71
  39. data/ruby/trema/echo-request.h +0 -2
  40. data/ruby/trema/echo.c +99 -0
  41. data/ruby/trema/{action-enqueue.h → echo.h} +6 -7
  42. data/ruby/trema/enqueue.rb +87 -0
  43. data/ruby/trema/error.c +109 -104
  44. data/ruby/trema/error.h +0 -2
  45. data/ruby/trema/features-reply.c +89 -35
  46. data/ruby/trema/features-reply.h +0 -6
  47. data/ruby/trema/features-request.c +63 -37
  48. data/ruby/trema/features-request.h +0 -2
  49. data/ruby/trema/flow-mod.c +149 -0
  50. data/ruby/trema/{action-output.h → flow-mod.h} +6 -6
  51. data/ruby/trema/get-config-request.c +1 -0
  52. data/ruby/trema/hardware-switch.rb +88 -0
  53. data/ruby/trema/hello.c +55 -31
  54. data/ruby/trema/hello.h +0 -2
  55. data/ruby/trema/ip.rb +12 -2
  56. data/ruby/trema/logger.rb +29 -0
  57. data/ruby/trema/mac.rb +57 -36
  58. data/ruby/trema/match.c +7 -9
  59. data/ruby/trema/monkey-patch/integer/ranges.rb +0 -2
  60. data/ruby/trema/network-component.rb +1 -1
  61. data/ruby/trema/open-vswitch.rb +2 -2
  62. data/ruby/trema/openflow-switch.rb +3 -54
  63. data/ruby/trema/{packet_in.c → packet-in.c} +262 -175
  64. data/ruby/trema/{packet_in.h → packet-in.h} +0 -2
  65. data/ruby/trema/packet-queue.rb +4 -3
  66. data/ruby/trema/port-mod.c +8 -9
  67. data/ruby/trema/port-status-add.rb +60 -0
  68. data/ruby/trema/port-status-delete.rb +60 -0
  69. data/ruby/trema/port-status-modify.rb +60 -0
  70. data/ruby/trema/port-status.c +48 -15
  71. data/ruby/trema/port-status.h +6 -8
  72. data/ruby/trema/port.c +63 -8
  73. data/ruby/trema/queue-get-config-request.c +1 -0
  74. data/ruby/trema/ruby-switch.rb +62 -0
  75. data/ruby/trema/send-out-port.rb +97 -0
  76. data/ruby/trema/set-config.c +1 -0
  77. data/ruby/trema/set-eth-addr.rb +45 -0
  78. data/ruby/trema/set-eth-dst-addr.rb +54 -0
  79. data/ruby/trema/set-eth-src-addr.rb +54 -0
  80. data/ruby/trema/set-ip-addr.rb +47 -0
  81. data/ruby/trema/set-ip-dst-addr.rb +53 -0
  82. data/ruby/trema/set-ip-src-addr.rb +52 -0
  83. data/ruby/trema/set-ip-tos.rb +63 -0
  84. data/ruby/trema/set-transport-dst-port.rb +53 -0
  85. data/ruby/trema/set-transport-port.rb +52 -0
  86. data/ruby/trema/set-transport-src-port.rb +54 -0
  87. data/ruby/trema/set-vlan-priority.rb +65 -0
  88. data/ruby/trema/set-vlan-vid.rb +64 -0
  89. data/ruby/trema/shell/down.rb +1 -1
  90. data/ruby/trema/shell/link.rb +4 -4
  91. data/ruby/trema/shell/run.rb +8 -6
  92. data/ruby/trema/shell/up.rb +3 -3
  93. data/ruby/trema/stats-reply.c +27 -2
  94. data/ruby/trema/stats-request.c +64 -23
  95. data/ruby/trema/strip-vlan-header.rb +41 -0
  96. data/ruby/trema/switch.c +196 -0
  97. data/ruby/trema/{action-vendor.h → switch.h} +5 -7
  98. data/ruby/trema/switch.rb +28 -9
  99. data/ruby/trema/trema-ruby-utils.c +66 -0
  100. data/ruby/trema/{action-set-dl-src.h → trema-ruby-utils.h} +9 -11
  101. data/ruby/trema/trema.c +61 -61
  102. data/ruby/trema/vendor-action.rb +73 -0
  103. data/ruby/trema/vendor.c +121 -52
  104. data/ruby/trema/vendor.h +6 -10
  105. data/ruby/trema/version.rb +1 -1
  106. data/spec/spec_helper.rb +1 -1
  107. data/spec/support/action.rb +52 -0
  108. data/spec/support/mandatory-option.rb +56 -0
  109. data/spec/support/openflow-message.rb +91 -7
  110. data/spec/support/port-status.rb +38 -0
  111. data/spec/trema/controller_spec.rb +0 -26
  112. data/spec/trema/dsl/configuration_spec.rb +3 -3
  113. data/spec/trema/dsl/runner_spec.rb +12 -32
  114. data/spec/trema/dsl/syntax_spec.rb +2 -11
  115. data/spec/trema/echo-reply_spec.rb +49 -14
  116. data/spec/trema/echo-request_spec.rb +86 -34
  117. data/spec/trema/enqueue_spec.rb +76 -0
  118. data/spec/trema/error_spec.rb +43 -58
  119. data/spec/trema/features-reply_spec.rb +58 -24
  120. data/spec/trema/features-request_spec.rb +54 -28
  121. data/spec/trema/flow-mod_spec.rb +99 -0
  122. data/spec/trema/{openflow-switch_spec.rb → hardware-switch_spec.rb} +3 -3
  123. data/spec/trema/hello_spec.rb +28 -14
  124. data/spec/trema/ip_spec.rb +54 -0
  125. data/spec/trema/mac_spec.rb +49 -64
  126. data/spec/trema/match_spec.rb +1 -1
  127. data/spec/trema/open-vswitch_spec.rb +7 -7
  128. data/spec/trema/packet-in_spec.rb +73 -16
  129. data/spec/trema/port-status-add_spec.rb +32 -0
  130. data/spec/trema/port-status-delete_spec.rb +32 -0
  131. data/spec/trema/port-status-modify_spec.rb +71 -0
  132. data/spec/trema/port-status_spec.rb +5 -76
  133. data/spec/trema/{action-output_spec.rb → send-out-port_spec.rb} +20 -47
  134. data/spec/trema/set-eth-dst-addr_spec.rb +75 -0
  135. data/spec/trema/set-eth-src-addr_spec.rb +72 -0
  136. data/spec/trema/set-ip-dst-addr_spec.rb +58 -0
  137. data/spec/trema/set-ip-src-addr_spec.rb +58 -0
  138. data/spec/trema/set-ip-tos_spec.rb +65 -0
  139. data/spec/trema/set-transport-dst-port_spec.rb +65 -0
  140. data/spec/trema/set-transport-src-port_spec.rb +65 -0
  141. data/spec/trema/set-vlan-priority_spec.rb +65 -0
  142. data/spec/trema/set-vlan-vid_spec.rb +65 -0
  143. data/spec/trema/shell/vhost_spec.rb +4 -1
  144. data/spec/trema/shell/vswitch_spec.rb +11 -11
  145. data/spec/trema/stats-reply_spec.rb +59 -13
  146. data/spec/trema/stats-request_spec.rb +6 -0
  147. data/spec/trema/{action-strip-vlan_spec.rb → strip-vlan-header_spec.rb} +3 -17
  148. data/spec/trema/switch-daemon_spec.rb +39 -0
  149. data/spec/trema/vendor-action_spec.rb +81 -0
  150. data/spec/trema/vendor_spec.rb +76 -0
  151. data/spec/trema_spec.rb +56 -0
  152. data/src/examples/dumper/dumper.c +0 -8
  153. data/src/examples/dumper/dumper.rb +52 -52
  154. data/src/examples/hello_trema/hello_trema.c +0 -2
  155. data/src/examples/learning_switch/learning-switch.rb +3 -3
  156. data/src/examples/multi_learning_switch/multi-learning-switch.rb +3 -3
  157. data/src/examples/openflow_message/features-request.rb +3 -3
  158. data/src/examples/packetin_filter_config/utils.c +4 -4
  159. data/src/examples/repeater_hub/repeater-hub.rb +3 -3
  160. data/src/examples/switch_info/switch_info.rb +2 -2
  161. data/src/examples/switch_monitor/switch_monitor.c +1 -1
  162. data/src/examples/traffic_monitor/traffic-monitor.rb +3 -3
  163. data/src/lib/arp.h +4 -1
  164. data/src/lib/chibach.c +391 -0
  165. data/src/lib/chibach.h +71 -0
  166. data/src/lib/chibach_private.c +170 -0
  167. data/src/lib/chibach_private.h +52 -0
  168. data/src/lib/ether.c +2 -1
  169. data/src/lib/ether.h +0 -1
  170. data/src/lib/ipv4.h +13 -14
  171. data/{ruby/trema/action-set-nw-src.h → src/lib/ipv6.h} +13 -9
  172. data/src/lib/log.c +161 -58
  173. data/src/lib/log.h +11 -16
  174. data/src/lib/messenger.c +36 -1
  175. data/src/lib/messenger.h +1 -0
  176. data/src/lib/openflow_application_interface.c +128 -28
  177. data/src/lib/openflow_application_interface.h +31 -6
  178. data/src/lib/openflow_message.c +2 -1
  179. data/src/lib/openflow_service_interface.h +1 -0
  180. data/src/lib/openflow_switch_interface.c +1380 -0
  181. data/src/lib/openflow_switch_interface.h +264 -0
  182. data/src/lib/packet_info.c +94 -11
  183. data/src/lib/packet_info.h +22 -3
  184. data/src/lib/packet_parser.c +38 -2
  185. data/src/lib/secure_channel.c +498 -0
  186. data/{ruby/trema/vendor-request.h → src/lib/secure_channel.h} +11 -10
  187. data/src/lib/tcp.h +0 -3
  188. data/src/lib/trema.c +38 -5
  189. data/{ruby/trema/action-set-nw-dst.h → src/lib/trema.hpp} +17 -8
  190. data/src/lib/trema_wrapper.c +5 -0
  191. data/src/lib/trema_wrapper.h +4 -0
  192. data/src/lib/utility.c +93 -4
  193. data/src/lib/utility.h +1 -0
  194. data/src/lib/wrapper.c +30 -7
  195. data/src/lib/wrapper.h +2 -0
  196. data/src/switch_manager/ofpmsg_recv.c +44 -30
  197. data/src/switch_manager/ofpmsg_send.c +40 -1
  198. data/src/switch_manager/ofpmsg_send.h +2 -0
  199. data/src/switch_manager/switch.c +153 -8
  200. data/src/switch_manager/switch.h +1 -0
  201. data/src/switch_manager/switchinfo.h +5 -0
  202. data/src/tremashark/README +2 -2
  203. data/src/tremashark/plugin/packet-trema/packet-trema.c +1 -0
  204. data/trema +1 -1
  205. data/unittests/lib/log_test.c +158 -34
  206. data/unittests/lib/openflow_application_interface_test.c +252 -69
  207. data/unittests/lib/openflow_message_test.c +3 -1
  208. data/unittests/lib/packet_parser_test.c +60 -15
  209. data/unittests/lib/test_packets/icmp6_echo_rep.cap +0 -0
  210. data/unittests/lib/test_packets/icmp6_echo_req.cap +0 -0
  211. data/unittests/lib/trema_test.c +2 -0
  212. data/unittests/lib/utility_test.c +65 -2
  213. data/unittests/lib/wrapper_test.c +29 -0
  214. data/vendor/{README → README.md} +2 -12
  215. data/vendor/packet-openflow.diff +13 -0
  216. metadata +86 -53
  217. data/GPL2 +0 -339
  218. data/ruby/trema/action-enqueue.c +0 -161
  219. data/ruby/trema/action-output.c +0 -169
  220. data/ruby/trema/action-set-dl-dst.c +0 -131
  221. data/ruby/trema/action-set-dl-dst.h +0 -44
  222. data/ruby/trema/action-set-dl-src.c +0 -131
  223. data/ruby/trema/action-set-nw-dst.c +0 -135
  224. data/ruby/trema/action-set-nw-src.c +0 -140
  225. data/ruby/trema/action-set-nw-tos.c +0 -124
  226. data/ruby/trema/action-set-nw-tos.h +0 -42
  227. data/ruby/trema/action-set-tp-dst.c +0 -122
  228. data/ruby/trema/action-set-tp-dst.h +0 -42
  229. data/ruby/trema/action-set-tp-src.c +0 -124
  230. data/ruby/trema/action-set-tp-src.h +0 -42
  231. data/ruby/trema/action-set-vlan-pcp.c +0 -128
  232. data/ruby/trema/action-set-vlan-pcp.h +0 -42
  233. data/ruby/trema/action-set-vlan-vid.c +0 -125
  234. data/ruby/trema/action-set-vlan-vid.h +0 -42
  235. data/ruby/trema/action-strip-vlan.c +0 -81
  236. data/ruby/trema/action-strip-vlan.h +0 -42
  237. data/ruby/trema/action-vendor.c +0 -121
  238. data/ruby/trema/vendor-request.c +0 -193
  239. data/spec/trema/action-enqueue_spec.rb +0 -100
  240. data/spec/trema/action-set-dl-dst_spec.rb +0 -95
  241. data/spec/trema/action-set-dl-src_spec.rb +0 -92
  242. data/spec/trema/action-set-nw-dst_spec.rb +0 -96
  243. data/spec/trema/action-set-nw-src_spec.rb +0 -97
  244. data/spec/trema/action-set-nw-tos_spec.rb +0 -88
  245. data/spec/trema/action-set-tp-dst_spec.rb +0 -88
  246. data/spec/trema/action-set-tp-src_spec.rb +0 -88
  247. data/spec/trema/action-set-vlan-pcp_spec.rb +0 -91
  248. data/spec/trema/action-set-vlan-vid_spec.rb +0 -91
  249. data/spec/trema/action-vendor_spec.rb +0 -90
  250. data/spec/trema/vendor-request_spec.rb +0 -79
@@ -16,7 +16,7 @@ Feature: Packet-In filter configuration example
16
16
  And I try to run "TREMA_HOME=`pwd` ./objects/examples/packetin_filter_config/add_filter"
17
17
  Then the output should include:
18
18
  """
19
- A packetin filter was added ( match = [wildcards = 0xc, in_port = 1, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 65535, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 10, nw_src = 10.0.0.1/32, nw_dst = 10.0.0.2/32, tp_src = 1024, tp_dst = 2048], service_name = dumper ).
19
+ A packetin filter was added ( match = [wildcards = 0xc(dl_src|dl_dst), in_port = 1, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 65535, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 10, nw_src = 10.0.0.1/32, nw_dst = 10.0.0.2/32, tp_src = 1024, tp_dst = 2048], service_name = dumper ).
20
20
  """
21
21
 
22
22
  Scenario: dump filter
@@ -30,9 +30,9 @@ Feature: Packet-In filter configuration example
30
30
  And I try to run "TREMA_HOME=`pwd` ./objects/examples/packetin_filter_config/dump_filter"
31
31
  Then the output should include:
32
32
  """
33
- 2 packetin filters found ( match = [wildcards = 0x3fffff, in_port = 0, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 0, dl_vlan_pcp = 0, dl_type = 0, nw_tos = 0, nw_proto = 0, nw_src = 0.0.0.0/0, nw_dst = 0.0.0.0/0, tp_src = 0, tp_dst = 0], service_name = dumper, strict = false ).
34
- [#0] match = [wildcards = 0x3fffef, in_port = 0, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 0, dl_vlan_pcp = 0, dl_type = 0x88cc, nw_tos = 0, nw_proto = 0, nw_src = 0.0.0.0/0, nw_dst = 0.0.0.0/0, tp_src = 0, tp_dst = 0], priority = 32768, service_name = dumper.
35
- [#1] match = [wildcards = 0x3fffff, in_port = 0, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 0, dl_vlan_pcp = 0, dl_type = 0, nw_tos = 0, nw_proto = 0, nw_src = 0.0.0.0/0, nw_dst = 0.0.0.0/0, tp_src = 0, tp_dst = 0], priority = 0, service_name = dumper.
33
+ 2 packetin filters found ( match = [wildcards = 0x3fffff(all), in_port = 0, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 0, dl_vlan_pcp = 0, dl_type = 0, nw_tos = 0, nw_proto = 0, nw_src = 0.0.0.0/0, nw_dst = 0.0.0.0/0, tp_src = 0, tp_dst = 0], service_name = dumper, strict = false ).
34
+ [#0] match = [wildcards = 0x3fffef(in_port|dl_src|dl_dst|dl_vlan|dl_vlan_pcp|nw_proto|nw_tos|nw_src(63)|nw_dst(63)|tp_src|tp_dst), in_port = 0, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 0, dl_vlan_pcp = 0, dl_type = 0x88cc, nw_tos = 0, nw_proto = 0, nw_src = 0.0.0.0/0, nw_dst = 0.0.0.0/0, tp_src = 0, tp_dst = 0], priority = 32768, service_name = dumper.
35
+ [#1] match = [wildcards = 0x3fffff(all), in_port = 0, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 0, dl_vlan_pcp = 0, dl_type = 0, nw_tos = 0, nw_proto = 0, nw_src = 0.0.0.0/0, nw_dst = 0.0.0.0/0, tp_src = 0, tp_dst = 0], priority = 0, service_name = dumper.
36
36
  """
37
37
 
38
38
  Scenario: dump filter strict
@@ -46,14 +46,14 @@ Feature: Packet-In filter configuration example
46
46
  And I try to run "TREMA_HOME=`pwd` ./objects/examples/packetin_filter_config/dump_filter_strict"
47
47
  Then the output should include:
48
48
  """
49
- 0 packetin filter found ( match = [wildcards = 0xc, in_port = 1, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 65535, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 10, nw_src = 10.0.0.1/32, nw_dst = 10.0.0.2/32, tp_src = 1024, tp_dst = 2048], service_name = dumper, strict = true ).
49
+ 0 packetin filter found ( match = [wildcards = 0xc(dl_src|dl_dst), in_port = 1, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 65535, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 10, nw_src = 10.0.0.1/32, nw_dst = 10.0.0.2/32, tp_src = 1024, tp_dst = 2048], service_name = dumper, strict = true ).
50
50
  """
51
51
  And I try to run "TREMA_HOME=`pwd` ./objects/examples/packetin_filter_config/add_filter"
52
52
  And I try to run "TREMA_HOME=`pwd` ./objects/examples/packetin_filter_config/dump_filter_strict"
53
53
  Then the output should include:
54
54
  """
55
- 1 packetin filter found ( match = [wildcards = 0xc, in_port = 1, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 65535, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 10, nw_src = 10.0.0.1/32, nw_dst = 10.0.0.2/32, tp_src = 1024, tp_dst = 2048], service_name = dumper, strict = true ).
56
- [#0] match = [wildcards = 0xc, in_port = 1, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 65535, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 10, nw_src = 10.0.0.1/32, nw_dst = 10.0.0.2/32, tp_src = 1024, tp_dst = 2048], priority = 65535, service_name = dumper.
55
+ 1 packetin filter found ( match = [wildcards = 0xc(dl_src|dl_dst), in_port = 1, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 65535, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 10, nw_src = 10.0.0.1/32, nw_dst = 10.0.0.2/32, tp_src = 1024, tp_dst = 2048], service_name = dumper, strict = true ).
56
+ [#0] match = [wildcards = 0xc(dl_src|dl_dst), in_port = 1, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 65535, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 10, nw_src = 10.0.0.1/32, nw_dst = 10.0.0.2/32, tp_src = 1024, tp_dst = 2048], priority = 65535, service_name = dumper.
57
57
  """
58
58
 
59
59
  Scenario: delete filter strict
@@ -67,13 +67,13 @@ Feature: Packet-In filter configuration example
67
67
  And I try to run "TREMA_HOME=`pwd` ./objects/examples/packetin_filter_config/delete_filter_strict"
68
68
  Then the output should include:
69
69
  """
70
- 0 packetin filter was deleted ( match = [wildcards = 0xc, in_port = 1, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 65535, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 10, nw_src = 10.0.0.1/32, nw_dst = 10.0.0.2/32, tp_src = 1024, tp_dst = 2048], service_name = dumper, strict = true ).
70
+ 0 packetin filter was deleted ( match = [wildcards = 0xc(dl_src|dl_dst), in_port = 1, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 65535, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 10, nw_src = 10.0.0.1/32, nw_dst = 10.0.0.2/32, tp_src = 1024, tp_dst = 2048], service_name = dumper, strict = true ).
71
71
  """
72
72
  And I try to run "TREMA_HOME=`pwd` ./objects/examples/packetin_filter_config/add_filter"
73
73
  And I try to run "TREMA_HOME=`pwd` ./objects/examples/packetin_filter_config/delete_filter_strict"
74
74
  Then the output should include:
75
75
  """
76
- 1 packetin filter was deleted ( match = [wildcards = 0xc, in_port = 1, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 65535, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 10, nw_src = 10.0.0.1/32, nw_dst = 10.0.0.2/32, tp_src = 1024, tp_dst = 2048], service_name = dumper, strict = true ).
76
+ 1 packetin filter was deleted ( match = [wildcards = 0xc(dl_src|dl_dst), in_port = 1, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 65535, dl_vlan_pcp = 0, dl_type = 0x800, nw_tos = 0, nw_proto = 10, nw_src = 10.0.0.1/32, nw_dst = 10.0.0.2/32, tp_src = 1024, tp_dst = 2048], service_name = dumper, strict = true ).
77
77
  """
78
78
 
79
79
  Scenario: delete filter
@@ -87,5 +87,5 @@ Feature: Packet-In filter configuration example
87
87
  And I try to run "TREMA_HOME=`pwd` ./objects/examples/packetin_filter_config/delete_filter"
88
88
  Then the output should include:
89
89
  """
90
- 2 packetin filters were deleted ( match = [wildcards = 0x3fffff, in_port = 0, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 0, dl_vlan_pcp = 0, dl_type = 0, nw_tos = 0, nw_proto = 0, nw_src = 0.0.0.0/0, nw_dst = 0.0.0.0/0, tp_src = 0, tp_dst = 0], service_name = dumper, strict = false ).
90
+ 2 packetin filters were deleted ( match = [wildcards = 0x3fffff(all), in_port = 0, dl_src = 00:00:00:00:00:00, dl_dst = 00:00:00:00:00:00, dl_vlan = 0, dl_vlan_pcp = 0, dl_type = 0, nw_tos = 0, nw_proto = 0, nw_src = 0.0.0.0/0, nw_dst = 0.0.0.0/0, tp_src = 0, tp_dst = 0], service_name = dumper, strict = false ).
91
91
  """
@@ -14,12 +14,18 @@ Feature: Hello trema sample application
14
14
  """
15
15
  And *** sleep 2 ***
16
16
  And wait until "SwitchMonitor" is up
17
- When I try trema off "0x3"
17
+ When I try trema kill "0x3"
18
18
  And *** sleep 2 ***
19
19
  Then the log file "SwitchMonitor.log" should match:
20
20
  """
21
21
  Switch 0x3 is DOWN
22
22
  """
23
+ When I try trema up "0x3"
24
+ And *** sleep 10 ***
25
+ Then the log file "SwitchMonitor.log" should match:
26
+ """
27
+ All switches = 0x1, 0x2, 0x3
28
+ """
23
29
 
24
30
 
25
31
  Scenario: switch-monitor in C
@@ -31,9 +37,15 @@ Feature: Hello trema sample application
31
37
  """
32
38
  And *** sleep 2 ***
33
39
  And wait until "switch_monitor" is up
34
- When I try trema off "0x3"
40
+ When I try trema kill "0x3"
35
41
  And *** sleep 2 ***
36
42
  Then the log file "switch_monitor.log" should match:
37
43
  """
38
44
  Switch 0x3 is DOWN
39
45
  """
46
+ When I try trema up "0x3"
47
+ And *** sleep 10 ***
48
+ Then the log file "switch_monitor.log" should match:
49
+ """
50
+ All switches = 0x1, 0x2, 0x3
51
+ """
@@ -18,8 +18,8 @@
18
18
  #
19
19
 
20
20
 
21
- Given /^I terminated all trema services$/ do
22
- run "./trema killall"
21
+ When /^I try trema kill "([^"]*)"$/ do | component |
22
+ run "./trema kill #{ component }"
23
23
  end
24
24
 
25
25
 
@@ -18,8 +18,8 @@
18
18
  #
19
19
 
20
20
 
21
- When /^I try trema off "([^"]*)"$/ do | component |
22
- run "./trema off #{ component }"
21
+ Given /^I terminated all trema services$/ do
22
+ run "./trema killall"
23
23
  end
24
24
 
25
25
 
@@ -28,7 +28,7 @@ When /^wait until "([^"]*)" is up$/ do | process |
28
28
  pid_file = File.join( Trema.pid, "#{ process }.pid" )
29
29
  loop do
30
30
  nloop += 1
31
- raise "Timeout" if nloop > 50 # FIXME
31
+ raise "Timeout" if nloop > 60 # FIXME
32
32
  break if FileTest.exists?( pid_file ) and not ps_entry_of( process ).nil?
33
33
  sleep 0.1
34
34
  end
@@ -0,0 +1,30 @@
1
+ #
2
+ # Author: Yasuhito Takamiya <yasuhito@gmail.com>
3
+ #
4
+ # Copyright (C) 2008-2012 NEC Corporation
5
+ #
6
+ # This program is free software; you can redistribute it and/or modify
7
+ # it under the terms of the GNU General Public License, version 2, as
8
+ # published by the Free Software Foundation.
9
+ #
10
+ # This program is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ # GNU General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU General Public License along
16
+ # with this program; if not, write to the Free Software Foundation, Inc.,
17
+ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
+ #
19
+
20
+
21
+ When /^I try trema up "([^"]*)"$/ do | component |
22
+ run "./trema up #{ component }"
23
+ end
24
+
25
+
26
+ ### Local variables:
27
+ ### mode: Ruby
28
+ ### coding: utf-8-unix
29
+ ### indent-tabs-mode: nil
30
+ ### End:
@@ -23,4 +23,5 @@ Feature: trema help
23
23
  reset_stats - resets stats of packets.
24
24
  dump_flows - print all flow entries.
25
25
  ruby - opens in your browser Trema's Ruby API documentation.
26
+ version - displays the current runtime version.
26
27
  """
@@ -40,6 +40,7 @@ Feature: run trema application with `trema run' command
40
40
  Usage: ./trema run [OPTIONS ...]
41
41
  -c, --conf FILE
42
42
  -d, --daemonize
43
+ -s, --tremashark
43
44
 
44
45
  -h, --help
45
46
  -v, --verbose
@@ -0,0 +1,19 @@
1
+ YARD の翻訳作業の進めかた
2
+ ====================
3
+
4
+ 翻訳は gettext + YARD の仕組みを使っています。基本的にすべて rake コマンドだけでできます。
5
+
6
+ 1. YARD で .rb と .c のコメントを書く
7
+ 2. rake yard:po で locale/ja/yard.po を更新
8
+ 3. locale/ja/yard.po に日本語訳を書く。Emacs だと po-mode が便利。
9
+ 4. rake yard:ja で日本語対応した html が [trema]/doc に生成される
10
+ 5. html に間違いが無いことを確認したあと、更新した .po などを git commit
11
+
12
+ つぎのことをこころがけてください。
13
+
14
+ 1. 生成物はそのまま公開されます。わかりやすく書こう (訳語の統一、むずかしい言葉を使わない、など)
15
+ 2. 元の英語ドキュメントが足りない場合には、英語のほうを書き足してから翻訳しよう。Floodlight や OpenFaucet のドキュメントが参考になると思います
16
+ 3. できれば spec/ のテストと見比べて、ドキュメントに書いてあることがテストされていなければ書き足そう
17
+
18
+ すべてを最初から完璧にする必要は無いです。
19
+ あとまわしにした箇所は TODO コメントを残す、チケットを切る等々、後で見てわかるように進めてください!
data/locale/ja/yard.po ADDED
@@ -0,0 +1,3762 @@
1
+ # Japanese translations for Trema http://trema.github.com/trema/.
2
+ # Copyright (C) 2012 NEC Corporation.
3
+ # This file is distributed under the same license as the Trema.
4
+ # Yasuhito TAKAMIYA <yasuhito@gmail.com>, 2012.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: Trema VERSION\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2011-11-20 22:17+0900\n"
11
+ "PO-Revision-Date: 2012-04-05 11:28+0900\n"
12
+ "Last-Translator: Yasuhito TAKAMIYA <yasuhito@gmail.com>\n"
13
+ "Language-Team: Japanese\n"
14
+ "Language: ja\n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=UTF-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+ "Plural-Forms: nplurals=1; plural=0;\n"
19
+
20
+ #: ../README.md:1
21
+ msgid ""
22
+ "Welcome to Trema\n"
23
+ "================"
24
+ msgstr ""
25
+
26
+ #: ../README.md:4
27
+ msgid ""
28
+ "Trema is a OpenFlow controller framework that includes everything\n"
29
+ "needed to create OpenFlow controllers in Ruby and C."
30
+ msgstr ""
31
+
32
+ #: ../README.md:7
33
+ msgid ""
34
+ "This distribution includes all the source code of Trema you need to\n"
35
+ "develop your own OpenFlow controllers. The source tree includes basic\n"
36
+ "libraries and functional modules that work as an interface to OpenFlow\n"
37
+ "switches."
38
+ msgstr ""
39
+
40
+ #: ../README.md:12
41
+ msgid ""
42
+ "Several sample applications developed on top of Trema are also\n"
43
+ "provided, so you can run them as a sample of OpenFlow\n"
44
+ "controllers. Additionally, a simple but powerful framework that\n"
45
+ "emulates an OpenFlow-based network and end-hosts is provided for\n"
46
+ "testing your own controllers. For debugging, a wireshark plug-in to\n"
47
+ "diagnose internal data-flows among functional modules is provided."
48
+ msgstr ""
49
+
50
+ #: ../README.md:20
51
+ msgid ""
52
+ "Getting Started\n"
53
+ "---------------"
54
+ msgstr ""
55
+
56
+ #: ../README.md:23
57
+ msgid "1.Install the prerequisites at the command prompt:"
58
+ msgstr ""
59
+
60
+ #: ../README.md:25
61
+ msgid ""
62
+ " $ sudo apt-get install gcc make ruby rubygems ruby-dev irb file libpcap-"
63
+ "dev libsqlite3-dev"
64
+ msgstr ""
65
+
66
+ #: ../README.md:27
67
+ msgid "2.Install Trema at the command prompt:"
68
+ msgstr ""
69
+
70
+ #: ../README.md:29
71
+ msgid " $ sudo gem install trema"
72
+ msgstr ""
73
+
74
+ #: ../README.md:31
75
+ msgid ""
76
+ "3.Follow the guidelines to start developing your OpenFlow controller. You "
77
+ "may find the following resources handy:"
78
+ msgstr ""
79
+
80
+ #: ../README.md:33
81
+ msgid ""
82
+ "* The [Getting Started with Trema](https://github.com/trema/trema/wiki/Quick-"
83
+ "start).\n"
84
+ "* The [Trema in 10 Minutes Tutorial](http://trema-10min.heroku.com/).\n"
85
+ "* The [Trema Tutorial](http://trema-tutorial.heroku.com/).\n"
86
+ "* The [Trema Ruby API documents](http://rubydoc.info/github/trema/trema/"
87
+ "master/frames).\n"
88
+ "* The [Programming Trema Article (in Japanese)](http://gihyo.jp/dev/"
89
+ "serial/01/openflow_sd/0007)."
90
+ msgstr ""
91
+
92
+ #: ../README.md:40
93
+ msgid ""
94
+ "Meta\n"
95
+ "----"
96
+ msgstr ""
97
+
98
+ #: ../README.md:43
99
+ msgid ""
100
+ "* Web Page: http://trema.github.com/trema/\n"
101
+ "* Bugs: https://github.com/trema/trema/issues\n"
102
+ "* Mailing List: https://groups.google.com/group/trema-dev\n"
103
+ "* Twitter: http://twitter.com/trema_news"
104
+ msgstr ""
105
+
106
+ #: ../README.md:49
107
+ msgid ""
108
+ "Supported Platforms\n"
109
+ "-------------------"
110
+ msgstr "サポートプラットフォーム"
111
+
112
+ #: ../README.md:52
113
+ msgid "Trema has been tested ONLY on the following environments:"
114
+ msgstr "Trema は以下の環境でのみテストが行われています。"
115
+
116
+ #: ../README.md:54
117
+ msgid ""
118
+ "* Ubuntu 11.10, 11.04, 10.10, and 10.04 (i386/amd64, Desktop Edition)\n"
119
+ "* Debian GNU/Linux 6.0 (i386/amd64)"
120
+ msgstr ""
121
+
122
+ #: ../README.md:57
123
+ msgid ""
124
+ "It may also run on other GNU/Linux distributions but is not tested and\n"
125
+ "NOT SUPPORTED at this moment."
126
+ msgstr ""
127
+
128
+ #: ../README.md:61
129
+ msgid ""
130
+ "Contributors\n"
131
+ "------------"
132
+ msgstr ""
133
+
134
+ #: ../README.md:64
135
+ msgid ""
136
+ "Special thanks to all contributors for submitting patches. A full list of "
137
+ "contributors including their patches can be found at:"
138
+ msgstr ""
139
+
140
+ #: ../README.md:66
141
+ msgid "https://github.com/trema/trema/contributors"
142
+ msgstr ""
143
+
144
+ #: ../README.md:69
145
+ msgid ""
146
+ "Project Status\n"
147
+ "--------------"
148
+ msgstr ""
149
+
150
+ #: ../README.md:72
151
+ msgid ""
152
+ "* Build Status [![Build Status](https://secure.travis-ci.org/trema/trema.png?"
153
+ "branch=develop)](http://travis-ci.org/trema/trema)\n"
154
+ "* Dependency Status [![Dependency Status](https://gemnasium.com/trema/trema."
155
+ "png)](https://gemnasium.com/trema/trema)"
156
+ msgstr ""
157
+
158
+ #: ../README.md:76
159
+ msgid ""
160
+ "License\n"
161
+ "-------"
162
+ msgstr ""
163
+
164
+ #: ../README.md:79
165
+ msgid "Trema is released under the GNU General Public License version 2.0:"
166
+ msgstr ""
167
+
168
+ #: ../README.md:81
169
+ msgid "* http://www.gnu.org/licenses/gpl-2.0.html"
170
+ msgstr ""
171
+
172
+ # Trema::ActionEnqueue#initialize
173
+ #: ../ruby/trema/action-enqueue.c:30
174
+ msgid ""
175
+ "Enqueues the packet on the specified queue attached to a port. When a queue\n"
176
+ "is configured the user can associate a flow with this action to forward a\n"
177
+ "packet through the specific queue in that port."
178
+ msgstr ""
179
+
180
+ # @overload
181
+ #: ../ruby/trema/action-enqueue.c:56 ../ruby/trema/action-output.c:60
182
+ #: ../ruby/trema/action-set-dl-dst.c:52 ../ruby/trema/action-set-dl-src.c:52
183
+ #: ../ruby/trema/action-set-nw-dst.c:50 ../ruby/trema/action-set-nw-src.c:51
184
+ #: ../ruby/trema/action-set-nw-tos.c:50 ../ruby/trema/action-set-tp-dst.c:49
185
+ #: ../ruby/trema/action-set-tp-src.c:50 ../ruby/trema/action-set-vlan-pcp.c:53
186
+ #: ../ruby/trema/action-set-vlan-vid.c:51 ../ruby/trema/action-strip-vlan.c:36
187
+ #: ../ruby/trema/action-vendor.c:49 ../ruby/trema/aggregate-stats-reply.rb:59
188
+ #: ../ruby/trema/barrier-reply.c:43 ../ruby/trema/barrier-request.c:58
189
+ #: ../ruby/trema/desc-stats-reply.rb:63 ../ruby/trema/echo-reply.c:76
190
+ #: ../ruby/trema/echo-request.c:73 ../ruby/trema/error.c:72
191
+ #: ../ruby/trema/features-reply.c:74 ../ruby/trema/features-request.c:63
192
+ #: ../ruby/trema/flow-removed.c:94 ../ruby/trema/flow-stats-reply.rb:98
193
+ #: ../ruby/trema/get-config-reply.c:64 ../ruby/trema/get-config-request.c:57
194
+ #: ../ruby/trema/hello.c:63 ../ruby/trema/ip.rb:52 ../ruby/trema/mac.rb:56
195
+ #: ../ruby/trema/match.c:447 ../ruby/trema/openflow-error.c:67
196
+ #: ../ruby/trema/packet-queue.rb:82 ../ruby/trema/port-mod.c:80
197
+ #: ../ruby/trema/port-stats-reply.rb:100 ../ruby/trema/port-status.c:59
198
+ #: ../ruby/trema/port.c:80 ../ruby/trema/queue-get-config-reply.c:61
199
+ #: ../ruby/trema/queue-get-config-request.c:66
200
+ #: ../ruby/trema/queue-stats-reply.rb:67 ../ruby/trema/set-config.c:72
201
+ #: ../ruby/trema/stats-helper.rb:38 ../ruby/trema/stats-reply.c:69
202
+ #: ../ruby/trema/table-stats-reply.rb:76
203
+ #: ../ruby/trema/vendor-stats-reply.rb:51 ../ruby/trema/vendor.c:67
204
+ msgid "tag|overload|initialize"
205
+ msgstr ""
206
+
207
+ # Trema::ActionEnqueue#port
208
+ # Trema::QueueGetConfigReply#port
209
+ # Trema::QueueGetConfigRequest#port
210
+ #: ../ruby/trema/action-enqueue.c:91 ../ruby/trema/queue-get-config-reply.c:91
211
+ #: ../ruby/trema/queue-get-config-request.c:113
212
+ msgid "The port the queue is attached to."
213
+ msgstr ""
214
+
215
+ # @return [Number]
216
+ #: ../ruby/trema/action-enqueue.c:95 ../ruby/trema/action-output.c:103
217
+ #: ../ruby/trema/queue-get-config-reply.c:95
218
+ #: ../ruby/trema/queue-get-config-request.c:117
219
+ msgid "the value of port."
220
+ msgstr ""
221
+
222
+ # Trema::ActionEnqueue#queue_id
223
+ #: ../ruby/trema/action-enqueue.c:102
224
+ msgid "The configured queue."
225
+ msgstr ""
226
+
227
+ # @return [Number]
228
+ #: ../ruby/trema/action-enqueue.c:106
229
+ msgid "the value of queue_id."
230
+ msgstr ""
231
+
232
+ # Trema::ActionEnqueue#append
233
+ #: ../ruby/trema/action-enqueue.c:112
234
+ msgid "Appends its action(enqueue) to the list of actions."
235
+ msgstr ""
236
+
237
+ # @return [ActionSetVlanVid]
238
+ # @return [ActionSetNwSrc]
239
+ # @return [ActionSetTpSrc]
240
+ # @return [ActionEnqueue]
241
+ # @return [ActionSetNwTos]
242
+ # @return [ActionSetDlDst]
243
+ # @return [ActionSetDlSrc]
244
+ # @return [ActionSetTpDst]
245
+ # @return [ActionOutput]
246
+ # @return [ActionVendor]
247
+ # @return [ActionSetNwDst]
248
+ # @return [ActionStripVlan]
249
+ # @return [ActionSetVlanPcp]
250
+ #: ../ruby/trema/action-enqueue.c:116 ../ruby/trema/action-output.c:126
251
+ #: ../ruby/trema/action-set-dl-dst.c:89 ../ruby/trema/action-set-dl-src.c:89
252
+ #: ../ruby/trema/action-set-nw-dst.c:87 ../ruby/trema/action-set-nw-src.c:88
253
+ #: ../ruby/trema/action-set-nw-tos.c:87 ../ruby/trema/action-set-tp-dst.c:86
254
+ #: ../ruby/trema/action-set-tp-src.c:87 ../ruby/trema/action-set-vlan-pcp.c:91
255
+ #: ../ruby/trema/action-set-vlan-vid.c:89 ../ruby/trema/action-strip-vlan.c:47
256
+ #: ../ruby/trema/action-vendor.c:83
257
+ msgid "self"
258
+ msgstr ""
259
+
260
+ # Trema::ActionSetVlanVid#inspect
261
+ # Trema::ActionSetNwSrc#inspect
262
+ # Trema::ActionSetTpSrc#inspect
263
+ # Trema::ActionEnqueue#inspect
264
+ # Trema::ActionSetNwTos#inspect
265
+ # Trema::ActionSetDlDst#inspect
266
+ # Trema::ActionSetDlSrc#inspect
267
+ # Trema::ActionSetTpDst#inspect
268
+ # Trema::ActionOutput#inspect
269
+ # Trema::ActionVendor#inspect
270
+ # Trema::ActionSetNwDst#inspect
271
+ # Trema::ActionStripVlan#inspect
272
+ # Trema::ActionSetVlanPcp#inspect
273
+ #: ../ruby/trema/action-enqueue.c:129 ../ruby/trema/action-output.c:143
274
+ #: ../ruby/trema/action-set-dl-dst.c:103 ../ruby/trema/action-set-dl-src.c:103
275
+ #: ../ruby/trema/action-set-nw-dst.c:97 ../ruby/trema/action-set-nw-src.c:101
276
+ #: ../ruby/trema/action-set-nw-tos.c:98 ../ruby/trema/action-set-tp-dst.c:96
277
+ #: ../ruby/trema/action-set-tp-src.c:98
278
+ #: ../ruby/trema/action-set-vlan-pcp.c:102
279
+ #: ../ruby/trema/action-set-vlan-vid.c:99 ../ruby/trema/action-strip-vlan.c:57
280
+ #: ../ruby/trema/action-vendor.c:98
281
+ msgid "A text representation of its attributes."
282
+ msgstr ""
283
+
284
+ # Trema::ActionOutput#initialize
285
+ #: ../ruby/trema/action-output.c:30
286
+ msgid "An action to output a packet to a port."
287
+ msgstr ""
288
+
289
+ # Trema::ActionOutput#port
290
+ #: ../ruby/trema/action-output.c:99
291
+ msgid "The index into switch's physical port list."
292
+ msgstr ""
293
+
294
+ # Trema::ActionOutput#max_len
295
+ #: ../ruby/trema/action-output.c:110
296
+ msgid ""
297
+ "The maximum number of bytes from a packet to send to controller when port\n"
298
+ "is set to +OFPP_CONTROLLER+."
299
+ msgstr ""
300
+
301
+ # @return [Number]
302
+ #: ../ruby/trema/action-output.c:115
303
+ msgid "the value of max_len."
304
+ msgstr ""
305
+
306
+ # Trema::ActionOutput#append
307
+ #: ../ruby/trema/action-output.c:122
308
+ msgid "Appends its action(output to port) to the list of actions."
309
+ msgstr ""
310
+
311
+ # Trema::ActionSetDlDst#initialize
312
+ #: ../ruby/trema/action-set-dl-dst.c:31
313
+ msgid "An action to modify the destination Ethernet address of a packet."
314
+ msgstr ""
315
+
316
+ # Trema::ActionSetDlDst#dl_dst
317
+ #: ../ruby/trema/action-set-dl-dst.c:74
318
+ msgid "A destination Ethernet address encapsulated as a {Mac} object."
319
+ msgstr ""
320
+
321
+ # @return [Mac]
322
+ #: ../ruby/trema/action-set-dl-dst.c:78 ../ruby/trema/match.c:256
323
+ msgid "the value of dl_dst."
324
+ msgstr ""
325
+
326
+ # Trema::ActionSetDlDst#append
327
+ #: ../ruby/trema/action-set-dl-dst.c:85
328
+ msgid "Appends its action(set_dl_dst) to the list of actions."
329
+ msgstr ""
330
+
331
+ # Trema::ActionSetDlSrc#initialize
332
+ #: ../ruby/trema/action-set-dl-src.c:31
333
+ msgid "An action to modify the source Ethernet address of a packet."
334
+ msgstr ""
335
+
336
+ # Trema::ActionSetDlSrc#dl_src
337
+ #: ../ruby/trema/action-set-dl-src.c:74
338
+ msgid "A source Ethernet address encapsulated as a {Mac} object."
339
+ msgstr ""
340
+
341
+ # @return [Mac]
342
+ #: ../ruby/trema/action-set-dl-src.c:78 ../ruby/trema/match.c:247
343
+ msgid "the value of dl_src."
344
+ msgstr ""
345
+
346
+ # Trema::ActionSetDlSrc#append
347
+ #: ../ruby/trema/action-set-dl-src.c:85
348
+ msgid "Appends its action(set_dl_src) to the list of actions."
349
+ msgstr ""
350
+
351
+ # Trema::ActionSetNwDst#initialize
352
+ #: ../ruby/trema/action-set-nw-dst.c:31
353
+ msgid "An action to modify the IPv4 destination address of a packet."
354
+ msgstr ""
355
+
356
+ # Trema::ActionSetNwDst#nw_dst
357
+ #: ../ruby/trema/action-set-nw-dst.c:72
358
+ msgid "The destination IPv4 address as an {IP} object."
359
+ msgstr ""
360
+
361
+ # @return [IP]
362
+ #: ../ruby/trema/action-set-nw-dst.c:76 ../ruby/trema/match.c:342
363
+ msgid "the value of nw_dst."
364
+ msgstr ""
365
+
366
+ # Trema::ActionSetNwDst#append
367
+ #: ../ruby/trema/action-set-nw-dst.c:83
368
+ msgid "Appends its action(nw_dst) to the list of actions."
369
+ msgstr ""
370
+
371
+ # Trema::ActionSetNwDst#to_i
372
+ #: ../ruby/trema/action-set-nw-dst.c:108
373
+ msgid "The numeric representation of IPv4 destination address."
374
+ msgstr ""
375
+
376
+ # @return [Number]
377
+ #: ../ruby/trema/action-set-nw-dst.c:112
378
+ msgid "the value of IPv4 destination address converted to an integer."
379
+ msgstr ""
380
+
381
+ # Trema::ActionSetNwSrc#initialize
382
+ #: ../ruby/trema/action-set-nw-src.c:31
383
+ msgid "An action to modify the IPv4 source address of a packet."
384
+ msgstr ""
385
+
386
+ # Trema::ActionSetNwSrc#nw_src
387
+ #: ../ruby/trema/action-set-nw-src.c:73
388
+ msgid "The source IPv4 address as an {IP} object."
389
+ msgstr ""
390
+
391
+ # @return [IP]
392
+ #: ../ruby/trema/action-set-nw-src.c:77 ../ruby/trema/match.c:331
393
+ msgid "the value of nw_src."
394
+ msgstr ""
395
+
396
+ # Trema::ActionSetNwSrc#append
397
+ #: ../ruby/trema/action-set-nw-src.c:84
398
+ msgid "Appends its action(set_nw_src) to the list of actions."
399
+ msgstr ""
400
+
401
+ # Trema::ActionSetNwSrc#to_i
402
+ #: ../ruby/trema/action-set-nw-src.c:113
403
+ msgid "The numeric representation of IPv4 source address."
404
+ msgstr ""
405
+
406
+ # @return [Number]
407
+ #: ../ruby/trema/action-set-nw-src.c:117
408
+ msgid "the value of IPv4 source address converted to an integer."
409
+ msgstr ""
410
+
411
+ # Trema::ActionSetNwTos#initialize
412
+ #: ../ruby/trema/action-set-nw-tos.c:30
413
+ msgid "An action to modify the IP ToS/DSCP field of a packet."
414
+ msgstr ""
415
+
416
+ # Trema::ActionSetNwTos#nw_tos
417
+ #: ../ruby/trema/action-set-nw-tos.c:72
418
+ msgid "The ToS/DSCP value to set to."
419
+ msgstr ""
420
+
421
+ # @return [Number]
422
+ #: ../ruby/trema/action-set-nw-tos.c:76 ../ruby/trema/match.c:292
423
+ msgid "the value of nw_tos."
424
+ msgstr ""
425
+
426
+ # Trema::ActionSetNwTos#append
427
+ #: ../ruby/trema/action-set-nw-tos.c:83
428
+ msgid "Appends its action(nw_tos) to the list of actions."
429
+ msgstr ""
430
+
431
+ # Trema::ActionSetTpDst#initialize
432
+ #: ../ruby/trema/action-set-tp-dst.c:30
433
+ msgid "An action to modify the destination TCP or UDP port of a packet."
434
+ msgstr ""
435
+
436
+ # Trema::ActionSetTpDst#tp_dst
437
+ #: ../ruby/trema/action-set-tp-dst.c:71
438
+ msgid "The destination TCP or UDP port number."
439
+ msgstr ""
440
+
441
+ # @return [Number]
442
+ #: ../ruby/trema/action-set-tp-dst.c:75 ../ruby/trema/match.c:360
443
+ msgid "the value of tp_dst."
444
+ msgstr ""
445
+
446
+ # Trema::ActionSetTpDst#append
447
+ #: ../ruby/trema/action-set-tp-dst.c:82
448
+ msgid "Appends its actions(tp_dst) to the list of actions."
449
+ msgstr ""
450
+
451
+ # Trema::ActionSetTpSrc#initialize
452
+ #: ../ruby/trema/action-set-tp-src.c:30
453
+ msgid "An action to modify the source TCP or UDP port of a packet."
454
+ msgstr ""
455
+
456
+ # Trema::ActionSetTpSrc#tp_src
457
+ #: ../ruby/trema/action-set-tp-src.c:72
458
+ msgid "The source TCP or UDP port number."
459
+ msgstr ""
460
+
461
+ # @return [Number]
462
+ #: ../ruby/trema/action-set-tp-src.c:76 ../ruby/trema/match.c:351
463
+ msgid "the value of tp_src."
464
+ msgstr ""
465
+
466
+ # Trema::ActionSetTpSrc#append
467
+ #: ../ruby/trema/action-set-tp-src.c:83
468
+ msgid "Appends its action(tp_src) to the list of actions."
469
+ msgstr ""
470
+
471
+ # Trema::ActionSetVlanPcp#initialize
472
+ #: ../ruby/trema/action-set-vlan-pcp.c:31
473
+ msgid ""
474
+ "An action to modify the VLAN priority of a packet. Valid values are between\n"
475
+ "(0) lowest and (7) highest. Priority bits can be used to prioritize "
476
+ "different\n"
477
+ "classes of traffic."
478
+ msgstr ""
479
+
480
+ # Trema::ActionSetVlanPcp#vlan_pcp
481
+ #: ../ruby/trema/action-set-vlan-pcp.c:76
482
+ msgid "The VLAN priority value."
483
+ msgstr ""
484
+
485
+ # @return [Number]
486
+ #: ../ruby/trema/action-set-vlan-pcp.c:80
487
+ msgid "the value of vlan_pcp."
488
+ msgstr ""
489
+
490
+ # Trema::ActionSetVlanPcp#append
491
+ #: ../ruby/trema/action-set-vlan-pcp.c:87
492
+ msgid "Appends its action(vlan_pcp) to the list of actions."
493
+ msgstr ""
494
+
495
+ # Trema::ActionSetVlanVid#initialize
496
+ #: ../ruby/trema/action-set-vlan-vid.c:30
497
+ msgid ""
498
+ "An action to modify the VLAN id of a packet. The VLAN id is 16-bits long "
499
+ "but\n"
500
+ "the actual VID(VLAN Identifier) of the IEEE 802.1Q frame is 12-bits."
501
+ msgstr ""
502
+
503
+ # Trema::ActionSetVlanVid#vlan_vid
504
+ #: ../ruby/trema/action-set-vlan-vid.c:74
505
+ msgid "The VLAN id value."
506
+ msgstr ""
507
+
508
+ # @return [Number]
509
+ #: ../ruby/trema/action-set-vlan-vid.c:78
510
+ msgid "the value of vlan_vid."
511
+ msgstr ""
512
+
513
+ # Trema::ActionSetVlanVid#append
514
+ #: ../ruby/trema/action-set-vlan-vid.c:85
515
+ msgid "Appends its action(vlan_vid) to the list of actions."
516
+ msgstr ""
517
+
518
+ # Trema::ActionStripVlan#initialize
519
+ #: ../ruby/trema/action-strip-vlan.c:30
520
+ msgid "Strips the VLAN tag of a packet."
521
+ msgstr ""
522
+
523
+ # @return [ActionStripVlan]
524
+ #: ../ruby/trema/action-strip-vlan.c:36
525
+ msgid "an object that encapsulates this action."
526
+ msgstr ""
527
+
528
+ # Trema::ActionStripVlan#append
529
+ #: ../ruby/trema/action-strip-vlan.c:43
530
+ msgid "Appends its action(strip VLAN tag) to the list of actions."
531
+ msgstr ""
532
+
533
+ # Trema::ActionVendor#initialize
534
+ #: ../ruby/trema/action-vendor.c:30
535
+ msgid "An action to set vendor specific extensions."
536
+ msgstr ""
537
+
538
+ # Trema::ActionVendor#vendor
539
+ #: ../ruby/trema/action-vendor.c:68
540
+ msgid "The vendor id of this action."
541
+ msgstr ""
542
+
543
+ # @return [Number]
544
+ #: ../ruby/trema/action-vendor.c:72
545
+ msgid "the value of vendor."
546
+ msgstr ""
547
+
548
+ # Trema::ActionVendor#append
549
+ #: ../ruby/trema/action-vendor.c:79
550
+ msgid "Appends its action(vendor) to the list of actions."
551
+ msgstr ""
552
+
553
+ # Trema::AggregateStatsReply#initialize
554
+ #: ../ruby/trema/aggregate-stats-reply.rb:31
555
+ msgid ""
556
+ "Aggregate counters for flows.\n"
557
+ "A user would not explicitly instantiate a {AggregateStatsReply} object but\n"
558
+ "would be created as a result of parsing the +OFPT_STATS_REPLY"
559
+ "(OFPST_AGGREGATE)\n"
560
+ "message."
561
+ msgstr ""
562
+
563
+ # @return [AggregateStatsReply]
564
+ #: ../ruby/trema/aggregate-stats-reply.rb:59
565
+ msgid "a new instance of AggregateStatsReply"
566
+ msgstr ""
567
+
568
+ # Trema::App
569
+ #: ../ruby/trema/app.rb:27
570
+ msgid "Trema applications"
571
+ msgstr ""
572
+
573
+ # Trema::App#stanza
574
+ #: ../ruby/trema/app.rb:34
575
+ msgid "Returns the value of attribute stanza"
576
+ msgstr ""
577
+
578
+ # Trema::App#initialize
579
+ #: ../ruby/trema/app.rb:40
580
+ msgid "Creates a new Trema application from {Trema::DSL::App}"
581
+ msgstr ""
582
+
583
+ # @example
584
+ #: ../ruby/trema/app.rb:49
585
+ msgid "app = Trema::App.new( stanza )"
586
+ msgstr ""
587
+
588
+ # @api
589
+ #: ../ruby/trema/app.rb:49 ../ruby/trema/app.rb:73 ../ruby/trema/app.rb:88
590
+ #: ../ruby/trema/dsl/vhost.rb:41 ../ruby/trema/dsl/vhost.rb:63
591
+ #: ../ruby/trema/dsl/vhost.rb:81 ../ruby/trema/dsl/vhost.rb:96
592
+ #: ../ruby/trema/host.rb:41 ../ruby/trema/host.rb:54 ../ruby/trema/host.rb:73
593
+ #: ../ruby/trema/host.rb:88 ../ruby/trema/host.rb:109
594
+ #: ../ruby/trema/host.rb:129 ../ruby/trema/host.rb:149
595
+ #: ../ruby/trema/host.rb:167 ../ruby/trema/host.rb:182
596
+ #: ../ruby/trema/host.rb:199 ../ruby/trema/host.rb:231
597
+ #: ../ruby/trema/host.rb:246 ../ruby/trema/network-component.rb:42
598
+ #: ../ruby/trema/network-component.rb:62 ../ruby/trema/network-component.rb:85
599
+ #: ../ruby/trema/network-component.rb:107
600
+ #: ../ruby/trema/network-component.rb:122
601
+ #: ../ruby/trema/network-component.rb:142 ../ruby/trema/packetin-filter.rb:40
602
+ #: ../ruby/trema/packetin-filter.rb:57 ../ruby/trema/packetin-filter.rb:72
603
+ msgid "public"
604
+ msgstr ""
605
+
606
+ # Trema::App#name
607
+ #: ../ruby/trema/app.rb:64
608
+ msgid "Returns the name of application"
609
+ msgstr ""
610
+
611
+ # @example
612
+ #: ../ruby/trema/app.rb:73
613
+ msgid "app.name #=> \"Trema Tetris\""
614
+ msgstr ""
615
+
616
+ # Trema::App#daemonize!
617
+ #: ../ruby/trema/app.rb:79
618
+ msgid "Runs as a daemon"
619
+ msgstr ""
620
+
621
+ # @example
622
+ #: ../ruby/trema/app.rb:88
623
+ msgid "app.daemonize! #=> self"
624
+ msgstr ""
625
+
626
+ # Trema::App#command
627
+ #: ../ruby/trema/app.rb:95
628
+ msgid "Returns application's command to execute"
629
+ msgstr ""
630
+
631
+ # @api
632
+ #: ../ruby/trema/app.rb:101 ../ruby/trema/packetin-filter.rb:89
633
+ #: ../ruby/trema/packetin-filter.rb:103 ../ruby/trema/packetin-filter.rb:115
634
+ msgid "private"
635
+ msgstr ""
636
+
637
+ # Trema::BarrierReply#initialize
638
+ #: ../ruby/trema/barrier-reply.c:30
639
+ msgid ""
640
+ "A new instance of {BarrierReply} constructed when +OFPT_BARRIER_REPLY+\n"
641
+ "message received."
642
+ msgstr ""
643
+
644
+ # @param [Number] datapath_id
645
+ #: ../ruby/trema/barrier-reply.c:43
646
+ msgid "a unique name that identifies an OpenVSwitch, the message originator."
647
+ msgstr ""
648
+
649
+ # @return [BarrierReply]
650
+ #: ../ruby/trema/barrier-reply.c:43
651
+ msgid "self an object that encapsulates the +OFPT_BARRIER_REPLY+ message."
652
+ msgstr ""
653
+
654
+ # @param [Number]
655
+ #: ../ruby/trema/barrier-reply.c:43
656
+ msgid "tag|param|datapath_id"
657
+ msgstr ""
658
+
659
+ # @param [Number]
660
+ #: ../ruby/trema/barrier-reply.c:43
661
+ msgid "tag|param|transaction_id"
662
+ msgstr ""
663
+
664
+ # @param [Number] transaction_id
665
+ #: ../ruby/trema/barrier-reply.c:43
666
+ msgid "value copied from the +OFPT_BARRIER_REQUEST+ message."
667
+ msgstr ""
668
+
669
+ # Trema::FeaturesReply#datapath_id
670
+ # Trema::StatsReply#datapath_id
671
+ # Trema::PortStatus#datapath_id
672
+ # Trema::OpenflowError#datapath_id
673
+ # Trema::PacketIn#datapath_id
674
+ # Trema::BarrierReply#datapath_id
675
+ # Trema::FlowRemoved#datapath_id
676
+ # Trema::GetConfigReply#datapath_id
677
+ # Trema::QueueGetConfigReply#datapath_id
678
+ #: ../ruby/trema/barrier-reply.c:52 ../ruby/trema/features-reply.c:129
679
+ #: ../ruby/trema/flow-removed.c:102 ../ruby/trema/get-config-reply.c:72
680
+ #: ../ruby/trema/openflow-error.c:75 ../ruby/trema/packet-in.c:75
681
+ #: ../ruby/trema/port-status.c:80 ../ruby/trema/queue-get-config-reply.c:69
682
+ #: ../ruby/trema/stats-reply.c:77
683
+ msgid "Message originator identifier."
684
+ msgstr ""
685
+
686
+ # @return [Number]
687
+ #: ../ruby/trema/barrier-reply.c:56 ../ruby/trema/flow-removed.c:106
688
+ #: ../ruby/trema/get-config-reply.c:76 ../ruby/trema/openflow-error.c:79
689
+ #: ../ruby/trema/packet-in.c:79 ../ruby/trema/port-status.c:84
690
+ #: ../ruby/trema/queue-get-config-reply.c:73 ../ruby/trema/stats-reply.c:81
691
+ msgid "the value of datapath_id."
692
+ msgstr ""
693
+
694
+ # Trema::PortMod#transaction_id
695
+ # Trema::FeaturesReply#transaction_id
696
+ # Trema::Vendor#transaction_id
697
+ # Trema::GetConfigRequest#transaction_id
698
+ # Trema::StatsReply#transaction_id
699
+ # Trema::BarrierReply#transaction_id
700
+ # Trema::SetConfig#transaction_id
701
+ # Trema::Error#transaction_id
702
+ # Trema::BarrierRequest#transaction_id
703
+ # Trema::GetConfigReply#transaction_id
704
+ # Trema::QueueGetConfigReply#transaction_id
705
+ # Trema::QueueGetConfigRequest#transaction_id
706
+ #: ../ruby/trema/barrier-reply.c:63 ../ruby/trema/barrier-request.c:81
707
+ #: ../ruby/trema/error.c:141 ../ruby/trema/features-reply.c:140
708
+ #: ../ruby/trema/get-config-reply.c:83 ../ruby/trema/get-config-request.c:80
709
+ #: ../ruby/trema/hello.c:109 ../ruby/trema/port-mod.c:141
710
+ #: ../ruby/trema/queue-get-config-reply.c:80
711
+ #: ../ruby/trema/queue-get-config-request.c:99 ../ruby/trema/set-config.c:108
712
+ #: ../ruby/trema/stats-reply.c:88 ../ruby/trema/vendor.c:129
713
+ msgid "Transaction ids, message sequence numbers matching requests to replies."
714
+ msgstr ""
715
+ "トランザクション ID。リクエストとリプライを関連付けるためのメッセージの通し番"
716
+ "号。"
717
+
718
+ # @return [Number]
719
+ #: ../ruby/trema/barrier-reply.c:67 ../ruby/trema/features-request.c:114
720
+ #: ../ruby/trema/hello.c:113
721
+ msgid "the value of transaction ID."
722
+ msgstr "トランザクション ID の値。"
723
+
724
+ # Trema::BarrierRequest#initialize
725
+ #: ../ruby/trema/barrier-request.c:37
726
+ msgid ""
727
+ "A barrier request message could be sent to ensure that an operation\n"
728
+ "completed successfully signaled with the reception of a barrier reply "
729
+ "message."
730
+ msgstr ""
731
+
732
+ # @return [Number]
733
+ #: ../ruby/trema/barrier-request.c:85 ../ruby/trema/echo-reply.c:88
734
+ #: ../ruby/trema/echo-request.c:85 ../ruby/trema/error.c:145
735
+ #: ../ruby/trema/features-reply.c:144 ../ruby/trema/get-config-reply.c:87
736
+ #: ../ruby/trema/get-config-request.c:84
737
+ #: ../ruby/trema/queue-get-config-reply.c:84
738
+ #: ../ruby/trema/queue-get-config-request.c:103 ../ruby/trema/set-config.c:112
739
+ #: ../ruby/trema/vendor.c:133
740
+ msgid "the value of transaction id."
741
+ msgstr ""
742
+
743
+ # Trema::Stats#ip_dst
744
+ #: ../ruby/trema/cli.rb:33
745
+ msgid "Returns the value of attribute ip_dst"
746
+ msgstr ""
747
+
748
+ # Trema::Stats#tp_dst
749
+ #: ../ruby/trema/cli.rb:34
750
+ msgid "Returns the value of attribute tp_dst"
751
+ msgstr ""
752
+
753
+ # Trema::Stats#ip_src
754
+ #: ../ruby/trema/cli.rb:35
755
+ msgid "Returns the value of attribute ip_src"
756
+ msgstr ""
757
+
758
+ # Trema::Stats#tp_src
759
+ #: ../ruby/trema/cli.rb:36
760
+ msgid "Returns the value of attribute tp_src"
761
+ msgstr ""
762
+
763
+ # Trema::Stats#n_pkts
764
+ #: ../ruby/trema/cli.rb:37
765
+ msgid "Returns the value of attribute n_pkts"
766
+ msgstr ""
767
+
768
+ # Trema::Stats#n_octets
769
+ #: ../ruby/trema/cli.rb:38
770
+ msgid "Returns the value of attribute n_octets"
771
+ msgstr ""
772
+
773
+ # @return [Stats]
774
+ #: ../ruby/trema/cli.rb:40
775
+ msgid "a new instance of Stats"
776
+ msgstr ""
777
+
778
+ # @return [Cli]
779
+ #: ../ruby/trema/cli.rb:63
780
+ msgid "a new instance of Cli"
781
+ msgstr ""
782
+
783
+ # Trema::Controller
784
+ #: ../ruby/trema/controller.c:28 ../ruby/trema/controller.rb:28
785
+ msgid "The base class of Trema controller."
786
+ msgstr ""
787
+
788
+ # @overload
789
+ #: ../ruby/trema/controller.c:68
790
+ msgid "tag|overload|send_message"
791
+ msgstr ""
792
+
793
+ # @overload
794
+ #: ../ruby/trema/controller.c:284
795
+ msgid "tag|overload|send_flow_mod_add"
796
+ msgstr ""
797
+
798
+ # @overload
799
+ #: ../ruby/trema/controller.c:302
800
+ msgid "tag|overload|send_flow_mod_modify"
801
+ msgstr ""
802
+
803
+ # @overload
804
+ #: ../ruby/trema/controller.c:325
805
+ msgid "tag|overload|send_flow_mod_delete"
806
+ msgstr ""
807
+
808
+ # @overload
809
+ #: ../ruby/trema/controller.c:378
810
+ msgid "tag|overload|send_packet_out"
811
+ msgstr ""
812
+
813
+ # Trema::Controller#run!
814
+ #: ../ruby/trema/controller.c:448
815
+ msgid ""
816
+ "Starts this controller. Usually you do not need to invoke\n"
817
+ "explicitly, because this is called implicitly by \"trema run\"\n"
818
+ "command."
819
+ msgstr ""
820
+
821
+ # @overload
822
+ #: ../ruby/trema/controller.c:503
823
+ msgid "tag|overload|shutdown!"
824
+ msgstr ""
825
+
826
+ # Trema::Controller#start_trema
827
+ #: ../ruby/trema/controller.c:519
828
+ msgid ""
829
+ "In the context of trema framework invokes the scheduler to start its "
830
+ "applications."
831
+ msgstr ""
832
+
833
+ # Trema::Controller.inherited
834
+ #: ../ruby/trema/controller.rb:36
835
+ msgid ""
836
+ "Callback invoked whenever a subclass of this class is created.\n"
837
+ "This adds the created object to the DB of controllers."
838
+ msgstr ""
839
+
840
+ # @return [Controller]
841
+ #: ../ruby/trema/controller.rb:44
842
+ msgid "a new instance of Controller"
843
+ msgstr ""
844
+
845
+ # Trema::Controller#daemonize!
846
+ #: ../ruby/trema/controller.rb:50
847
+ msgid "Run as a daemon."
848
+ msgstr ""
849
+
850
+ # Trema::Controller#name
851
+ #: ../ruby/trema/controller.rb:66
852
+ msgid "Name of the controller."
853
+ msgstr ""
854
+
855
+ # Trema::Daemon#shutdown
856
+ #: ../ruby/trema/daemon.rb:88
857
+ msgid "Kills running daemon process"
858
+ msgstr ""
859
+
860
+ # @example
861
+ #: ../ruby/trema/daemon.rb:95 ../ruby/trema/daemon.rb:109
862
+ msgid "daemon.shutdown!"
863
+ msgstr ""
864
+
865
+ # Trema::Daemon#shutdown!
866
+ #: ../ruby/trema/daemon.rb:102
867
+ msgid "Kills running daemon process. Errors are ignored."
868
+ msgstr ""
869
+
870
+ # Trema::Daemon#restart!
871
+ #: ../ruby/trema/daemon.rb:115
872
+ msgid "Restarts running daemon process"
873
+ msgstr ""
874
+
875
+ # @example
876
+ #: ../ruby/trema/daemon.rb:122
877
+ msgid "daemon.restart!"
878
+ msgstr ""
879
+
880
+ # Trema::DescStatsReply#initialize
881
+ #: ../ruby/trema/desc-stats-reply.rb:31
882
+ msgid ""
883
+ "Descriptive information about a vswitch.\n"
884
+ "A user would not explicitly instantiate a {DescStatsReply} object but\n"
885
+ "would be created as a result of parsing the +OFPT_STATS_REPLY(OFPST_DESC)+\n"
886
+ "message."
887
+ msgstr ""
888
+
889
+ # @return [DescStatsReply]
890
+ #: ../ruby/trema/desc-stats-reply.rb:63
891
+ msgid "a new instance of DescStatsReply"
892
+ msgstr ""
893
+
894
+ # Trema::DSL::Configuration
895
+ #: ../ruby/trema/dsl/configuration.rb:32
896
+ msgid "The current configuration of Trema."
897
+ msgstr ""
898
+
899
+ # Trema::DSL::Configuration#port=
900
+ # Trema::DSL::Configuration#port
901
+ #: ../ruby/trema/dsl/configuration.rb:36
902
+ msgid "set/get the port number for switch manager to listen to"
903
+ msgstr ""
904
+
905
+ # @example
906
+ #: ../ruby/trema/dsl/configuration.rb:43
907
+ msgid "config.port = 5432"
908
+ msgstr ""
909
+
910
+ # Trema::DSL::Configuration#apps
911
+ #: ../ruby/trema/dsl/configuration.rb:46
912
+ msgid "the hash of {App}"
913
+ msgstr ""
914
+
915
+ # @example
916
+ #: ../ruby/trema/dsl/configuration.rb:54
917
+ msgid ""
918
+ "p config.apps\n"
919
+ "#=> {\"trema tetris\"=>#<Trema::App:0xb73c9328>, ...}"
920
+ msgstr ""
921
+
922
+ # Trema::DSL::Configuration#hosts
923
+ #: ../ruby/trema/dsl/configuration.rb:57
924
+ msgid "the hash of {Host}"
925
+ msgstr ""
926
+
927
+ # @example
928
+ #: ../ruby/trema/dsl/configuration.rb:65
929
+ msgid ""
930
+ "p config.hosts\n"
931
+ "#=> {\"host #0\"=>#<Trema::Host:0xb73c9328>, ...}"
932
+ msgstr ""
933
+
934
+ # Trema::DSL::Configuration#links
935
+ #: ../ruby/trema/dsl/configuration.rb:68
936
+ msgid "the hash of {Link}"
937
+ msgstr ""
938
+
939
+ # @example
940
+ #: ../ruby/trema/dsl/configuration.rb:76
941
+ msgid ""
942
+ "p config.links\n"
943
+ "#=> {\"link #0\"=>#<Trema::Link:0xb73c9328>, ...}"
944
+ msgstr ""
945
+
946
+ # Trema::DSL::Configuration#switches
947
+ #: ../ruby/trema/dsl/configuration.rb:79
948
+ msgid "the hash of {Switch}"
949
+ msgstr ""
950
+
951
+ # @example
952
+ #: ../ruby/trema/dsl/configuration.rb:87
953
+ msgid ""
954
+ "p config.switches\n"
955
+ "#=> {\"switch #0\"=>#<Trema::OpenflowSwitch:0xb73c9328>, ...}"
956
+ msgstr ""
957
+
958
+ # Trema::DSL::Configuration#initialize
959
+ #: ../ruby/trema/dsl/configuration.rb:91
960
+ msgid "Creates a new Trema configuration"
961
+ msgstr ""
962
+
963
+ # @example
964
+ #: ../ruby/trema/dsl/configuration.rb:98
965
+ msgid "config = Trema::DSL::Configuration.new"
966
+ msgstr ""
967
+
968
+ # Trema::DSL::Configuration#packetin_filter
969
+ #: ../ruby/trema/dsl/configuration.rb:110
970
+ msgid "Returns {PacketinFilter} configuration"
971
+ msgstr ""
972
+
973
+ # @example
974
+ #: ../ruby/trema/dsl/configuration.rb:117
975
+ msgid "config.packetin_filter => #<Trema::PacketinFilter:0xb73c9328>"
976
+ msgstr ""
977
+
978
+ # Trema::DSL::Configuration#switch_manager
979
+ #: ../ruby/trema/dsl/configuration.rb:123
980
+ msgid "Returns {SwitchManager} configuration"
981
+ msgstr ""
982
+
983
+ # @example
984
+ #: ../ruby/trema/dsl/configuration.rb:130
985
+ msgid "config.switch_manager => #<Trema::SwitchManager:0xb73c9328>"
986
+ msgstr ""
987
+
988
+ # @return [Context]
989
+ #: ../ruby/trema/dsl/context.rb:43
990
+ msgid "a new instance of Context"
991
+ msgstr ""
992
+
993
+ # Trema::DSL::Context#dump
994
+ #: ../ruby/trema/dsl/context.rb:49
995
+ msgid "Dumps a {Configuration} object to <code>PATH</code>"
996
+ msgstr ""
997
+
998
+ # @example
999
+ #: ../ruby/trema/dsl/context.rb:56
1000
+ msgid "context.dump"
1001
+ msgstr ""
1002
+
1003
+ # Trema::DSL::Link#peers
1004
+ #: ../ruby/trema/dsl/link.rb:27
1005
+ msgid "Returns the value of attribute peers"
1006
+ msgstr ""
1007
+
1008
+ # @return [Link]
1009
+ #: ../ruby/trema/dsl/link.rb:29
1010
+ msgid "a new instance of Link"
1011
+ msgstr ""
1012
+
1013
+ # Trema::DSL::Rswitch#path
1014
+ #: ../ruby/trema/dsl/rswitch.rb:28
1015
+ msgid "Returns the value of attribute path"
1016
+ msgstr ""
1017
+
1018
+ # @return [Rswitch]
1019
+ #: ../ruby/trema/dsl/rswitch.rb:30
1020
+ msgid "a new instance of Rswitch"
1021
+ msgstr ""
1022
+
1023
+ # @return [Runner]
1024
+ #: ../ruby/trema/dsl/runner.rb:29
1025
+ msgid "a new instance of Runner"
1026
+ msgstr ""
1027
+
1028
+ # Trema::DSL::Stanza#name
1029
+ #: ../ruby/trema/dsl/stanza.rb:27
1030
+ msgid "Returns the value of attribute name"
1031
+ msgstr ""
1032
+
1033
+ # @return [Stanza]
1034
+ #: ../ruby/trema/dsl/stanza.rb:29
1035
+ msgid "a new instance of Stanza"
1036
+ msgstr ""
1037
+
1038
+ # @return [Syntax]
1039
+ #: ../ruby/trema/dsl/syntax.rb:43
1040
+ msgid "a new instance of Syntax"
1041
+ msgstr ""
1042
+
1043
+ # Trema::DSL::Vhost
1044
+ #: ../ruby/trema/dsl/vhost.rb:28
1045
+ msgid "The syntax definition of vhost { ... } stanza in Trema DSL."
1046
+ msgstr ""
1047
+
1048
+ # Trema::DSL::Vhost#promisc
1049
+ #: ../ruby/trema/dsl/vhost.rb:32
1050
+ msgid "Set promisc mode on/off"
1051
+ msgstr ""
1052
+
1053
+ # @example
1054
+ #: ../ruby/trema/dsl/vhost.rb:41
1055
+ msgid "stanza.promisc \"on\""
1056
+ msgstr ""
1057
+
1058
+ # Trema::DSL::Vhost#ip
1059
+ #: ../ruby/trema/dsl/vhost.rb:54
1060
+ msgid "Set IP address"
1061
+ msgstr ""
1062
+
1063
+ # @example
1064
+ #: ../ruby/trema/dsl/vhost.rb:63
1065
+ msgid "stanza.ip \"192.168.100.1\""
1066
+ msgstr ""
1067
+
1068
+ # Trema::DSL::Vhost#netmask
1069
+ #: ../ruby/trema/dsl/vhost.rb:72
1070
+ msgid "Set netmask"
1071
+ msgstr ""
1072
+
1073
+ # @example
1074
+ #: ../ruby/trema/dsl/vhost.rb:81
1075
+ msgid "stanza.netmask \"255.255.0.0\""
1076
+ msgstr ""
1077
+
1078
+ # Trema::DSL::Vhost#mac
1079
+ #: ../ruby/trema/dsl/vhost.rb:87
1080
+ msgid "Set MAC address"
1081
+ msgstr ""
1082
+
1083
+ # @example
1084
+ #: ../ruby/trema/dsl/vhost.rb:96
1085
+ msgid "stanza.mac \"00:00:00:01:00:01\""
1086
+ msgstr ""
1087
+
1088
+ # @return [Vswitch]
1089
+ #: ../ruby/trema/dsl/vswitch.rb:29
1090
+ msgid "a new instance of Vswitch"
1091
+ msgstr ""
1092
+
1093
+ # Trema::EchoReply#initialize
1094
+ #: ../ruby/trema/echo-reply.c:40
1095
+ msgid ""
1096
+ "Creates a EchoReply OpenFlow message. This message can be used to\n"
1097
+ "measure the bandwidth of a controller/switch connection as well as\n"
1098
+ "to verify its liveness."
1099
+ msgstr ""
1100
+
1101
+ # @raise [TypeError]
1102
+ #: ../ruby/trema/echo-reply.c:76 ../ruby/trema/echo-request.c:73
1103
+ msgid "if argument is not a hash."
1104
+ msgstr ""
1105
+
1106
+ # @raise [ArgumentError]
1107
+ #: ../ruby/trema/echo-reply.c:76 ../ruby/trema/echo-request.c:73
1108
+ #: ../ruby/trema/features-request.c:63 ../ruby/trema/hello.c:63
1109
+ #: ../ruby/trema/vendor.c:67
1110
+ msgid "if transaction ID is not an unsigned 32-bit integer."
1111
+ msgstr "トランザクション ID が符号無し 32 ビット整数でなかった場合。"
1112
+
1113
+ # @raise [ArgumentError]
1114
+ #: ../ruby/trema/echo-reply.c:76 ../ruby/trema/echo-request.c:73
1115
+ msgid "if user data is not a string."
1116
+ msgstr ""
1117
+
1118
+ # Trema::Hello#transaction_id
1119
+ # Trema::FeaturesRequest#transaction_id
1120
+ # Trema::EchoReply#transaction_id
1121
+ # Trema::EchoRequest#transaction_id
1122
+ #: ../ruby/trema/echo-reply.c:83 ../ruby/trema/echo-request.c:80
1123
+ #: ../ruby/trema/features-request.c:109
1124
+ msgid ""
1125
+ "Transaction ids, message sequence numbers matching requests to\n"
1126
+ "replies."
1127
+ msgstr ""
1128
+ "トランザクション ID。リクエストとリプライを関連付けるためのメッセージの通し番"
1129
+ "号。"
1130
+
1131
+ # Trema::EchoReply#user_data
1132
+ # Trema::EchoRequest#user_data
1133
+ #: ../ruby/trema/echo-reply.c:95 ../ruby/trema/echo-request.c:92
1134
+ msgid "An arbitrary length user data payload."
1135
+ msgstr ""
1136
+
1137
+ # @return [nil]
1138
+ #: ../ruby/trema/echo-reply.c:100 ../ruby/trema/echo-request.c:97
1139
+ msgid "a user data payload is not set."
1140
+ msgstr ""
1141
+
1142
+ # @return [String]
1143
+ #: ../ruby/trema/echo-reply.c:100 ../ruby/trema/echo-request.c:97
1144
+ msgid "a user data payload is set."
1145
+ msgstr ""
1146
+
1147
+ # Trema::EchoRequest#initialize
1148
+ #: ../ruby/trema/echo-request.c:37
1149
+ msgid ""
1150
+ "Creates a EchoRequest OpenFlow message. This message can be used to\n"
1151
+ "measure the bandwidth of a controller/switch connection as well as\n"
1152
+ "to verify its liveness."
1153
+ msgstr ""
1154
+
1155
+ # Trema::Error#data
1156
+ #: ../ruby/trema/error.c:154
1157
+ msgid ""
1158
+ "An optional user data payload field, possibly detailed explanation of the "
1159
+ "error."
1160
+ msgstr ""
1161
+
1162
+ # @return [nil]
1163
+ #: ../ruby/trema/error.c:159
1164
+ msgid "user data payload is not set."
1165
+ msgstr ""
1166
+
1167
+ # @return [String]
1168
+ #: ../ruby/trema/error.c:159
1169
+ msgid "user data payload is set."
1170
+ msgstr ""
1171
+
1172
+ # Trema::Error#error_type
1173
+ #: ../ruby/trema/error.c:173
1174
+ msgid "Indicates the command or action that failed."
1175
+ msgstr ""
1176
+
1177
+ # @return [Number]
1178
+ #: ../ruby/trema/error.c:177
1179
+ msgid "the value of error type."
1180
+ msgstr ""
1181
+
1182
+ # Trema::Error#code
1183
+ #: ../ruby/trema/error.c:185
1184
+ msgid "Reason of the failed type error."
1185
+ msgstr ""
1186
+
1187
+ # @return [Number]
1188
+ #: ../ruby/trema/error.c:189
1189
+ msgid "the value of error code."
1190
+ msgstr ""
1191
+
1192
+ # Trema::Executables
1193
+ #: ../ruby/trema/executables.rb:27
1194
+ msgid "Holds the list of executalbes found in {Trema.objects} directory."
1195
+ msgstr ""
1196
+
1197
+ # Trema::FeaturesReply#initialize
1198
+ #: ../ruby/trema/features-reply.c:37
1199
+ msgid ""
1200
+ "Creates a FeaturesReply message. A user would not explicitly\n"
1201
+ "instantiate a {FeaturesReply} object but would be created while\n"
1202
+ "parsing the +OFPT_FEATURES_REPLY+ message."
1203
+ msgstr ""
1204
+
1205
+ # @return [Number]
1206
+ #: ../ruby/trema/features-reply.c:133
1207
+ msgid "the value of datapath_id"
1208
+ msgstr ""
1209
+
1210
+ # Trema::FeaturesReply#n_buffers
1211
+ #: ../ruby/trema/features-reply.c:162
1212
+ msgid "Maximum number of packets that can be buffered at once."
1213
+ msgstr ""
1214
+
1215
+ # @return [Number]
1216
+ #: ../ruby/trema/features-reply.c:166
1217
+ msgid "the value of n_buffers."
1218
+ msgstr ""
1219
+
1220
+ # Trema::FeaturesReply#n_tables
1221
+ #: ../ruby/trema/features-reply.c:173
1222
+ msgid "Number of supported tables."
1223
+ msgstr ""
1224
+
1225
+ # @return [Number]
1226
+ #: ../ruby/trema/features-reply.c:177
1227
+ msgid "the value of n_tables."
1228
+ msgstr ""
1229
+
1230
+ # Trema::FeaturesReply#capabilities
1231
+ #: ../ruby/trema/features-reply.c:184
1232
+ msgid "Supported capabilities expressed as a 32-bit bitmap."
1233
+ msgstr ""
1234
+
1235
+ # @return [Number]
1236
+ #: ../ruby/trema/features-reply.c:188
1237
+ msgid "the value of capabilities."
1238
+ msgstr ""
1239
+
1240
+ # Trema::FeaturesReply#actions
1241
+ #: ../ruby/trema/features-reply.c:195
1242
+ msgid "Supported actions expressed as a 32-bit bitmap."
1243
+ msgstr ""
1244
+
1245
+ # @return [Number]
1246
+ #: ../ruby/trema/features-reply.c:199
1247
+ msgid "the value of actions."
1248
+ msgstr ""
1249
+
1250
+ # Trema::FeaturesReply#ports
1251
+ #: ../ruby/trema/features-reply.c:206
1252
+ msgid ""
1253
+ "An array of {Port} objects detailing physical port description and function."
1254
+ msgstr ""
1255
+
1256
+ # @return [Array<Port>]
1257
+ #: ../ruby/trema/features-reply.c:210
1258
+ msgid "the value of ports."
1259
+ msgstr ""
1260
+
1261
+ # Trema::FeaturesRequest#initialize
1262
+ #: ../ruby/trema/features-request.c:36
1263
+ msgid "Creates a FeaturesRequest OpenFlow message."
1264
+ msgstr ""
1265
+
1266
+ # @raise [TypeError]
1267
+ #: ../ruby/trema/features-request.c:63 ../ruby/trema/hello.c:63
1268
+ msgid "if argument is not a Integer or a Hash."
1269
+ msgstr "引数が Integer または Hash でなかった場合。"
1270
+
1271
+ # Trema::FlowRemoved#initialize
1272
+ #: ../ruby/trema/flow-removed.c:30
1273
+ msgid ""
1274
+ "When a flow is deleted or expired a +OFPT_FLOW_REMOVED+ message is sent as "
1275
+ "long\n"
1276
+ "as the +OFPFF_SEND_FLOW_REM+ bit is toggled in the +flags+ bitmap during\n"
1277
+ "flow setup. A user would not explicitly instantiate a {FlowRemoved} object "
1278
+ "but\n"
1279
+ "would be created while parsing the +OPPT_FLOW_REMOVED+ message.\n"
1280
+ "Returns an object that encapsulates the +OPPT_FLOW_REMOVED+ OpenFlow message."
1281
+ msgstr ""
1282
+
1283
+ # Trema::PortStatus#transaction_id
1284
+ # Trema::PacketIn#transaction_id
1285
+ # Trema::FlowRemoved#transaction_id
1286
+ #: ../ruby/trema/flow-removed.c:113 ../ruby/trema/packet-in.c:86
1287
+ #: ../ruby/trema/port-status.c:91
1288
+ msgid "For this asynchronous message the transaction_id is set to zero."
1289
+ msgstr ""
1290
+
1291
+ # @return [Number]
1292
+ #: ../ruby/trema/flow-removed.c:117 ../ruby/trema/openflow-error.c:90
1293
+ #: ../ruby/trema/packet-in.c:90 ../ruby/trema/port-mod.c:145
1294
+ #: ../ruby/trema/port-status.c:95 ../ruby/trema/stats-reply.c:92
1295
+ msgid "the value of transaction_id."
1296
+ msgstr ""
1297
+
1298
+ # Trema::FlowRemoved#match
1299
+ #: ../ruby/trema/flow-removed.c:124
1300
+ msgid "Flow fields matched."
1301
+ msgstr ""
1302
+
1303
+ # @return [Match]
1304
+ #: ../ruby/trema/flow-removed.c:128
1305
+ msgid "an object that encapsulates flow fields details."
1306
+ msgstr ""
1307
+
1308
+ # Trema::FlowRemoved#cookie
1309
+ #: ../ruby/trema/flow-removed.c:135
1310
+ msgid "An opaque handle copied from the corresponding flow setup message."
1311
+ msgstr ""
1312
+
1313
+ # @return [Number]
1314
+ #: ../ruby/trema/flow-removed.c:139
1315
+ msgid "the value of cookie."
1316
+ msgstr ""
1317
+
1318
+ # Trema::FlowRemoved#priority
1319
+ #: ../ruby/trema/flow-removed.c:146
1320
+ msgid ""
1321
+ "The priority level of the flow copied from the corresponding flow setup\n"
1322
+ "message."
1323
+ msgstr ""
1324
+
1325
+ # @return [Number]
1326
+ #: ../ruby/trema/flow-removed.c:151
1327
+ msgid "the value of priority."
1328
+ msgstr ""
1329
+
1330
+ # Trema::FlowRemoved#reason
1331
+ #: ../ruby/trema/flow-removed.c:158
1332
+ msgid "The reason why the flow is removed."
1333
+ msgstr ""
1334
+
1335
+ # @return [Number]
1336
+ #: ../ruby/trema/flow-removed.c:162 ../ruby/trema/packet-in.c:166
1337
+ #: ../ruby/trema/port-status.c:106
1338
+ msgid "the value of reason."
1339
+ msgstr ""
1340
+
1341
+ # Trema::FlowRemoved#duration_sec
1342
+ #: ../ruby/trema/flow-removed.c:169
1343
+ msgid "The number of seconds the flow was active."
1344
+ msgstr ""
1345
+
1346
+ # @return [Number]
1347
+ #: ../ruby/trema/flow-removed.c:173
1348
+ msgid "the value of duration_sec."
1349
+ msgstr ""
1350
+
1351
+ # Trema::FlowRemoved#duration_nsec
1352
+ #: ../ruby/trema/flow-removed.c:180
1353
+ msgid "The number of nanoseconds the flow was active."
1354
+ msgstr ""
1355
+
1356
+ # @return [Number]
1357
+ #: ../ruby/trema/flow-removed.c:184
1358
+ msgid "the value of duration_nsec."
1359
+ msgstr ""
1360
+
1361
+ # Trema::FlowRemoved#idle_timeout
1362
+ #: ../ruby/trema/flow-removed.c:191
1363
+ msgid "Time elapsed in seconds before the flow is removed."
1364
+ msgstr ""
1365
+
1366
+ # @return [Number]
1367
+ #: ../ruby/trema/flow-removed.c:195
1368
+ msgid "the value of idle_timeout."
1369
+ msgstr ""
1370
+
1371
+ # Trema::FlowRemoved#packet_count
1372
+ #: ../ruby/trema/flow-removed.c:202
1373
+ msgid "A counter of the total number of packets."
1374
+ msgstr ""
1375
+
1376
+ # @return [Number]
1377
+ #: ../ruby/trema/flow-removed.c:206
1378
+ msgid "the value of packet_count."
1379
+ msgstr ""
1380
+
1381
+ # Trema::FlowRemoved#byte_count
1382
+ #: ../ruby/trema/flow-removed.c:213
1383
+ msgid "A counter of the total number of bytes."
1384
+ msgstr ""
1385
+
1386
+ # @return [Number]
1387
+ #: ../ruby/trema/flow-removed.c:217
1388
+ msgid "the value of byte_count."
1389
+ msgstr ""
1390
+
1391
+ # Trema::FlowStatsReply#initialize
1392
+ #: ../ruby/trema/flow-stats-reply.rb:32
1393
+ msgid ""
1394
+ "Flow counters for one or more matched flows.\n"
1395
+ "A user would not explicitly instantiate a {FlowStatsReply} object but\n"
1396
+ "would be created as a result of parsing the +OFPT_STATS_REPLY(OFPST_FLOW)+\n"
1397
+ "message."
1398
+ msgstr ""
1399
+
1400
+ # @return [FlowStatsReply]
1401
+ #: ../ruby/trema/flow-stats-reply.rb:98
1402
+ msgid "a new instance of FlowStatsReply"
1403
+ msgstr ""
1404
+
1405
+ # Trema::Flow#dl_type
1406
+ #: ../ruby/trema/flow.rb:24
1407
+ msgid "Returns the value of attribute dl_type"
1408
+ msgstr ""
1409
+
1410
+ # Trema::GetConfigReply#initialize
1411
+ #: ../ruby/trema/get-config-reply.c:30
1412
+ msgid ""
1413
+ "Handles the response to +OFPT_GET_CONFIG_REQUEST+ message. The user would "
1414
+ "not\n"
1415
+ "explicitly instantiate a {GetConfigReply} object but would be created while\n"
1416
+ "parsing the +OFPT_GET_CONFIG_REPLY+ message. The {GetConfigReply} object is\n"
1417
+ "an object whose attributes represent the return values of the message."
1418
+ msgstr ""
1419
+
1420
+ # Trema::GetConfigReply#flags
1421
+ #: ../ruby/trema/get-config-reply.c:94
1422
+ msgid ""
1423
+ "Flags indicate how IP fragments should be treated (no special handling,\n"
1424
+ "dropped or reassembled)."
1425
+ msgstr ""
1426
+
1427
+ # @return [Number]
1428
+ #: ../ruby/trema/get-config-reply.c:99 ../ruby/trema/set-config.c:127
1429
+ #: ../ruby/trema/stats-reply.c:114
1430
+ msgid "the value of flags."
1431
+ msgstr ""
1432
+
1433
+ # Trema::SetConfig#miss_send_len
1434
+ # Trema::GetConfigReply#miss_send_len
1435
+ #: ../ruby/trema/get-config-reply.c:106 ../ruby/trema/set-config.c:137
1436
+ msgid ""
1437
+ "The maximum number of bytes to send on flow table miss or flow destined to "
1438
+ "controller."
1439
+ msgstr ""
1440
+
1441
+ # @return [Number]
1442
+ #: ../ruby/trema/get-config-reply.c:110 ../ruby/trema/set-config.c:141
1443
+ msgid "the value of miss_send_len."
1444
+ msgstr ""
1445
+
1446
+ # Trema::GetConfigRequest#initialize
1447
+ #: ../ruby/trema/get-config-request.c:37
1448
+ msgid ""
1449
+ "Creates a {GetConfigRequest} instance to query configuration parameters\n"
1450
+ "from the switch."
1451
+ msgstr ""
1452
+
1453
+ # Trema::HardwareSwitch
1454
+ #: ../ruby/trema/hardware-switch.rb:26
1455
+ msgid "Hardware switch that supports OpenFlow protocol."
1456
+ msgstr ""
1457
+
1458
+ # Trema::HardwareSwitch#name
1459
+ #: ../ruby/trema/hardware-switch.rb:30
1460
+ msgid "The name of this switch"
1461
+ msgstr ""
1462
+
1463
+ # @example
1464
+ #: ../ruby/trema/hardware-switch.rb:37
1465
+ msgid "switch.name #=> \"My expensive OpenFlow switch\""
1466
+ msgstr ""
1467
+
1468
+ # Trema::HardwareSwitch#initialize
1469
+ #: ../ruby/trema/hardware-switch.rb:41
1470
+ msgid "Creates a new HardwareSwitch from {DSL::Switch}"
1471
+ msgstr ""
1472
+
1473
+ # @example
1474
+ #: ../ruby/trema/hardware-switch.rb:48
1475
+ msgid "switch = Trema::HardwareSwitch.new( stanza )"
1476
+ msgstr ""
1477
+
1478
+ # Trema::HardwareSwitch#dpid_long
1479
+ #: ../ruby/trema/hardware-switch.rb:57
1480
+ msgid "Returns datapath id in long format"
1481
+ msgstr ""
1482
+
1483
+ # @example
1484
+ #: ../ruby/trema/hardware-switch.rb:64
1485
+ msgid "switch.dpid_long #=> \"0000000000000abc\""
1486
+ msgstr ""
1487
+
1488
+ # Trema::HardwareSwitch#dpid_short
1489
+ #: ../ruby/trema/hardware-switch.rb:70
1490
+ msgid "Returns datapath id prefixed with \"0x\""
1491
+ msgstr ""
1492
+
1493
+ # @example
1494
+ #: ../ruby/trema/hardware-switch.rb:77
1495
+ msgid "switch.dpid_short #=> \"0xabc\""
1496
+ msgstr ""
1497
+
1498
+ # Trema::Hello#initialize
1499
+ #: ../ruby/trema/hello.c:36
1500
+ msgid "Creates a Hello OpenFlow message."
1501
+ msgstr "OpenFlow Hello メッセージを作る。"
1502
+
1503
+ # Trema::Host
1504
+ #: ../ruby/trema/host.rb:28
1505
+ msgid "The controller class of host"
1506
+ msgstr ""
1507
+
1508
+ # Trema::Host#interface=
1509
+ # Trema::Host#interface
1510
+ #: ../ruby/trema/host.rb:32
1511
+ msgid "Set a network interface"
1512
+ msgstr ""
1513
+
1514
+ # @example
1515
+ #: ../ruby/trema/host.rb:41
1516
+ msgid "host.interface #=> \"trema0-1\""
1517
+ msgstr ""
1518
+
1519
+ # Trema::Host#initialize
1520
+ #: ../ruby/trema/host.rb:45
1521
+ msgid "Creates a new Trema host from {DSL::Vhost}"
1522
+ msgstr ""
1523
+
1524
+ # @example
1525
+ #: ../ruby/trema/host.rb:54
1526
+ msgid "host = Trema::Host.new( stanza )"
1527
+ msgstr ""
1528
+
1529
+ # Trema::Host#method_missing
1530
+ #: ../ruby/trema/host.rb:64
1531
+ msgid "Define host attribute accessors"
1532
+ msgstr ""
1533
+
1534
+ # @return
1535
+ #: ../ruby/trema/host.rb:73
1536
+ msgid "an attribute value"
1537
+ msgstr ""
1538
+
1539
+ # @example
1540
+ #: ../ruby/trema/host.rb:73
1541
+ msgid "host.name # delegated to @stanza[ :name ]"
1542
+ msgstr ""
1543
+
1544
+ # Trema::Host#ip
1545
+ #: ../ruby/trema/host.rb:79
1546
+ msgid "Returns IP address"
1547
+ msgstr ""
1548
+
1549
+ # @example
1550
+ #: ../ruby/trema/host.rb:88
1551
+ msgid "host.ip #=> \"192.168.0.1\""
1552
+ msgstr ""
1553
+
1554
+ # Trema::Host#mac
1555
+ #: ../ruby/trema/host.rb:100
1556
+ msgid "Returns MAC address"
1557
+ msgstr ""
1558
+
1559
+ # @example
1560
+ #: ../ruby/trema/host.rb:109
1561
+ msgid "host.mac #=> \"00:00:00:00:00:01\""
1562
+ msgstr ""
1563
+
1564
+ # Trema::Host#netmask
1565
+ #: ../ruby/trema/host.rb:120
1566
+ msgid "Returns netmask"
1567
+ msgstr ""
1568
+
1569
+ # @example
1570
+ #: ../ruby/trema/host.rb:129
1571
+ msgid "host.netmask #=> \"255.255.0.0\""
1572
+ msgstr ""
1573
+
1574
+ # Trema::Host#run!
1575
+ #: ../ruby/trema/host.rb:140
1576
+ msgid "Runs a host process"
1577
+ msgstr ""
1578
+
1579
+ # @example
1580
+ #: ../ruby/trema/host.rb:149
1581
+ msgid "host.run! => self"
1582
+ msgstr ""
1583
+
1584
+ # Trema::Host#shutdown!
1585
+ #: ../ruby/trema/host.rb:158
1586
+ msgid "Kills running host"
1587
+ msgstr ""
1588
+
1589
+ # @example
1590
+ #: ../ruby/trema/host.rb:167
1591
+ msgid "host.shutdown!"
1592
+ msgstr ""
1593
+
1594
+ # Trema::Host#add_arp_entry
1595
+ #: ../ruby/trema/host.rb:173
1596
+ msgid "Add arp entries of <code>hosts</code>"
1597
+ msgstr ""
1598
+
1599
+ # @example
1600
+ #: ../ruby/trema/host.rb:182
1601
+ msgid "host.add_arp_entry [ host1, host2, host3 ]"
1602
+ msgstr ""
1603
+
1604
+ # Trema::Host#send_packet
1605
+ #: ../ruby/trema/host.rb:190
1606
+ msgid "Send packets to <code>dest</code>"
1607
+ msgstr ""
1608
+
1609
+ # @example
1610
+ #: ../ruby/trema/host.rb:199
1611
+ msgid "host.send_packet host1, :pps => 100"
1612
+ msgstr ""
1613
+
1614
+ # Trema::Host#tx_stats
1615
+ #: ../ruby/trema/host.rb:222
1616
+ msgid "Returns tx stats"
1617
+ msgstr ""
1618
+
1619
+ # @example
1620
+ #: ../ruby/trema/host.rb:231
1621
+ msgid "host.tx_stats"
1622
+ msgstr ""
1623
+
1624
+ # Trema::Host#rx_stats
1625
+ #: ../ruby/trema/host.rb:237
1626
+ msgid "Returns rx stats"
1627
+ msgstr ""
1628
+
1629
+ # @example
1630
+ #: ../ruby/trema/host.rb:246
1631
+ msgid "host.rx_stats"
1632
+ msgstr ""
1633
+
1634
+ # Trema::IP
1635
+ #: ../ruby/trema/ip.rb:23
1636
+ msgid "A wrapper class to IPAddr"
1637
+ msgstr ""
1638
+
1639
+ # @return [IPAddr]
1640
+ #: ../ruby/trema/ip.rb:32
1641
+ msgid "value object instance of proxied IPAddr."
1642
+ msgstr ""
1643
+
1644
+ # Trema::IP#initialize
1645
+ #: ../ruby/trema/ip.rb:36
1646
+ msgid "Creates a {IP} instance object as a proxy to IPAddr class."
1647
+ msgstr ""
1648
+
1649
+ # @param [String, Number] addr
1650
+ #: ../ruby/trema/ip.rb:52
1651
+ msgid "an IPv4 address specified either as a String or Number."
1652
+ msgstr ""
1653
+
1654
+ # @raise [ArgumentError]
1655
+ #: ../ruby/trema/ip.rb:52
1656
+ msgid ""
1657
+ "invalid address if supplied argument is invalid\n"
1658
+ "IPv4 address."
1659
+ msgstr ""
1660
+
1661
+ # @param [Number] prefixlen
1662
+ #: ../ruby/trema/ip.rb:52
1663
+ msgid "masking IPv4 address with given prefixlen."
1664
+ msgstr ""
1665
+
1666
+ # @return [IP]
1667
+ #: ../ruby/trema/ip.rb:52
1668
+ msgid ""
1669
+ "self\n"
1670
+ "a proxy to IPAddr."
1671
+ msgstr ""
1672
+
1673
+ # @param [String, Number]
1674
+ #: ../ruby/trema/ip.rb:52
1675
+ msgid "tag|param|addr"
1676
+ msgstr ""
1677
+
1678
+ # @param [Number]
1679
+ #: ../ruby/trema/ip.rb:52
1680
+ msgid "tag|param|prefixlen"
1681
+ msgstr ""
1682
+
1683
+ # @return [Number]
1684
+ #: ../ruby/trema/ip.rb:67
1685
+ msgid "prefixlen of IPv4 address."
1686
+ msgstr ""
1687
+
1688
+ # @return [String]
1689
+ #: ../ruby/trema/ip.rb:82
1690
+ msgid "the IPv4 address in its text representation."
1691
+ msgstr ""
1692
+
1693
+ # @return [Number]
1694
+ #: ../ruby/trema/ip.rb:90
1695
+ msgid "the IPv4 address in its numeric representation."
1696
+ msgstr ""
1697
+
1698
+ # Trema::Link
1699
+ #: ../ruby/trema/link.rb:30
1700
+ msgid "Network link between hosts and switches."
1701
+ msgstr ""
1702
+
1703
+ # Trema::Link#name
1704
+ #: ../ruby/trema/link.rb:34
1705
+ msgid "Returns the name of link interface"
1706
+ msgstr ""
1707
+
1708
+ # @example
1709
+ #: ../ruby/trema/link.rb:41
1710
+ msgid "link.name => \"trema3-0\""
1711
+ msgstr ""
1712
+
1713
+ # Trema::Link#name_peer
1714
+ #: ../ruby/trema/link.rb:45
1715
+ msgid "Returns the name of link peer interface"
1716
+ msgstr ""
1717
+
1718
+ # @example
1719
+ #: ../ruby/trema/link.rb:52
1720
+ msgid "link.name => \"trema3-1\""
1721
+ msgstr ""
1722
+
1723
+ # Trema::Link#peers
1724
+ #: ../ruby/trema/link.rb:56
1725
+ msgid "Returns the configuration names of link peers"
1726
+ msgstr ""
1727
+
1728
+ # @example
1729
+ #: ../ruby/trema/link.rb:63
1730
+ msgid "link.peers => [ \"host 0\", \"switch 1\" ]"
1731
+ msgstr ""
1732
+
1733
+ # Trema::Link#initialize
1734
+ #: ../ruby/trema/link.rb:67
1735
+ msgid "Creates a new Trema link from {DSL::Link}"
1736
+ msgstr ""
1737
+
1738
+ # @example
1739
+ #: ../ruby/trema/link.rb:74
1740
+ msgid "link = Trema::Link.new( stanza )"
1741
+ msgstr ""
1742
+
1743
+ # Trema::Link#add!
1744
+ #: ../ruby/trema/link.rb:91
1745
+ msgid "Adds a virtual link"
1746
+ msgstr ""
1747
+
1748
+ # @example
1749
+ #: ../ruby/trema/link.rb:98
1750
+ msgid "link.add!"
1751
+ msgstr ""
1752
+
1753
+ # Trema::Link#up!
1754
+ #: ../ruby/trema/link.rb:107
1755
+ msgid "Ups the peer interfaces of a virtual link"
1756
+ msgstr ""
1757
+
1758
+ # @example
1759
+ #: ../ruby/trema/link.rb:114
1760
+ msgid "link.up!"
1761
+ msgstr ""
1762
+
1763
+ # Trema::Link#enable!
1764
+ #: ../ruby/trema/link.rb:122
1765
+ msgid "Creates and enables a virtual link"
1766
+ msgstr ""
1767
+
1768
+ # @example
1769
+ #: ../ruby/trema/link.rb:129
1770
+ msgid "link.enable!"
1771
+ msgstr ""
1772
+
1773
+ # Trema::Link#delete!
1774
+ #: ../ruby/trema/link.rb:136
1775
+ msgid "Deletes a virtual link"
1776
+ msgstr ""
1777
+
1778
+ # @example
1779
+ #: ../ruby/trema/link.rb:143
1780
+ msgid "link.delete!"
1781
+ msgstr ""
1782
+
1783
+ # @overload
1784
+ #: ../ruby/trema/logger.c:49
1785
+ msgid "tag|overload|critical"
1786
+ msgstr ""
1787
+
1788
+ # @overload
1789
+ #: ../ruby/trema/logger.c:67
1790
+ msgid "tag|overload|error"
1791
+ msgstr ""
1792
+
1793
+ # @overload
1794
+ #: ../ruby/trema/logger.c:85
1795
+ msgid "tag|overload|warn"
1796
+ msgstr ""
1797
+
1798
+ # @overload
1799
+ #: ../ruby/trema/logger.c:103
1800
+ msgid "tag|overload|notice"
1801
+ msgstr ""
1802
+
1803
+ # @overload
1804
+ #: ../ruby/trema/logger.c:120
1805
+ msgid "tag|overload|info"
1806
+ msgstr ""
1807
+
1808
+ # @overload
1809
+ #: ../ruby/trema/logger.c:137
1810
+ msgid "tag|overload|debug"
1811
+ msgstr ""
1812
+
1813
+ # Trema::Mac
1814
+ #: ../ruby/trema/mac.rb:26
1815
+ msgid "MAC address class"
1816
+ msgstr ""
1817
+
1818
+ # @return [Number]
1819
+ #: ../ruby/trema/mac.rb:36
1820
+ msgid "Ethernet address in its numeric presentation."
1821
+ msgstr ""
1822
+
1823
+ # Trema::Mac#initialize
1824
+ #: ../ruby/trema/mac.rb:40
1825
+ msgid "Creates a {Mac} instance that encapsulates Ethernet MAC addresses."
1826
+ msgstr ""
1827
+
1828
+ # @example address as a hexadecimal string
1829
+ #: ../ruby/trema/mac.rb:56
1830
+ msgid "Mac.new(\"11:22:33:44:55:66\")"
1831
+ msgstr ""
1832
+
1833
+ # @example address as a hexadecimal number
1834
+ #: ../ruby/trema/mac.rb:56
1835
+ msgid "Mac.new(0xffffffffffff)"
1836
+ msgstr ""
1837
+
1838
+ # @return [Mac]
1839
+ #: ../ruby/trema/mac.rb:56
1840
+ msgid "a new instance of Mac"
1841
+ msgstr ""
1842
+
1843
+ # @raise [ArgumentError]
1844
+ #: ../ruby/trema/mac.rb:56
1845
+ msgid "if invalid format is detected."
1846
+ msgstr ""
1847
+
1848
+ # @raise [ArgumentError]
1849
+ #: ../ruby/trema/mac.rb:56
1850
+ msgid "if supplied argument is not a string or integer."
1851
+ msgstr ""
1852
+
1853
+ # @example
1854
+ #: ../ruby/trema/mac.rb:56
1855
+ msgid "tag|example|address as a hexadecimal number"
1856
+ msgstr ""
1857
+
1858
+ # @example
1859
+ #: ../ruby/trema/mac.rb:56
1860
+ msgid "tag|example|address as a hexadecimal string"
1861
+ msgstr ""
1862
+
1863
+ # @param [String, Integer]
1864
+ #: ../ruby/trema/mac.rb:56
1865
+ msgid "tag|param|value"
1866
+ msgstr ""
1867
+
1868
+ # @param [String, Integer] value
1869
+ #: ../ruby/trema/mac.rb:56
1870
+ msgid "the MAC address to set to."
1871
+ msgstr ""
1872
+
1873
+ # @return [String]
1874
+ #: ../ruby/trema/mac.rb:74
1875
+ msgid ""
1876
+ "the Ethernet address as 6 pairs of hexadecimal digits delimited by colons.\n"
1877
+ "eg. xx:xx:xx:xx:xx:xx"
1878
+ msgstr ""
1879
+
1880
+ # @return [Array]
1881
+ #: ../ruby/trema/mac.rb:84
1882
+ msgid ""
1883
+ "an array of decimal numbers converted from Ethernet's address string\n"
1884
+ "format."
1885
+ msgstr ""
1886
+
1887
+ # @return [Boolean]
1888
+ #: ../ruby/trema/mac.rb:94 ../ruby/trema/mac.rb:102
1889
+ msgid "if other matches or not the attribute type value."
1890
+ msgstr ""
1891
+
1892
+ # @return [Boolean]
1893
+ #: ../ruby/trema/mac.rb:110
1894
+ msgid "if MAC address is multicast or not."
1895
+ msgstr ""
1896
+
1897
+ # Trema::Match.from
1898
+ #: ../ruby/trema/match.c:47
1899
+ msgid ""
1900
+ "Creates a {Match} instance from packet_in's data, the method accepts an\n"
1901
+ "additional single argument whose type is an array of symbols to wildcard "
1902
+ "set\n"
1903
+ "to don't care and ignore while matching flow entries."
1904
+ msgstr ""
1905
+
1906
+ # @return [Match]
1907
+ #: ../ruby/trema/match.c:108
1908
+ msgid ""
1909
+ "self\n"
1910
+ "the modified or exact match from packet depending on whether the options\n"
1911
+ "argument supplied or not."
1912
+ msgstr ""
1913
+
1914
+ # @overload
1915
+ #: ../ruby/trema/match.c:108
1916
+ msgid "tag|overload|match_from"
1917
+ msgstr ""
1918
+
1919
+ # Trema::Match#compare
1920
+ #: ../ruby/trema/match.c:166
1921
+ msgid "Compare context of {Match} self with {Match} other."
1922
+ msgstr ""
1923
+
1924
+ # @example
1925
+ #: ../ruby/trema/match.c:178
1926
+ msgid ""
1927
+ "def packet_in datapath_id, message\n"
1928
+ " match = Match.new( :dl_type => 0x0800, :nw_src => \"192.168.0.1\" )\n"
1929
+ " if match.compare( ExactMatch.form( message ) )\n"
1930
+ " info \"Received packet from 192.168.0.1\"\n"
1931
+ " end\n"
1932
+ "end"
1933
+ msgstr ""
1934
+
1935
+ # @return [Boolean]
1936
+ #: ../ruby/trema/match.c:178
1937
+ msgid "true if the {Match} match"
1938
+ msgstr ""
1939
+
1940
+ # Trema::Match#replace
1941
+ #: ../ruby/trema/match.c:185
1942
+ msgid "Replaces context of {Match} self with {Match} other."
1943
+ msgstr ""
1944
+
1945
+ # @return [Match]
1946
+ #: ../ruby/trema/match.c:190
1947
+ msgid ""
1948
+ "self\n"
1949
+ "the modified object instance."
1950
+ msgstr ""
1951
+
1952
+ # Trema::Match#wildcards
1953
+ #: ../ruby/trema/match.c:210
1954
+ msgid "The wildcard field expressed as a 32-bit bitmap,"
1955
+ msgstr ""
1956
+
1957
+ # @return [Number]
1958
+ #: ../ruby/trema/match.c:214
1959
+ msgid "the value of wildcards."
1960
+ msgstr ""
1961
+
1962
+ # @return [Number]
1963
+ #: ../ruby/trema/match.c:223 ../ruby/trema/packet-in.c:131
1964
+ msgid "the value of in_port."
1965
+ msgstr ""
1966
+
1967
+ # @return [Number]
1968
+ #: ../ruby/trema/match.c:265
1969
+ msgid "the value of dl_vlan."
1970
+ msgstr ""
1971
+
1972
+ # @return [Number]
1973
+ #: ../ruby/trema/match.c:274
1974
+ msgid "the value of dl_vlan_pcp."
1975
+ msgstr ""
1976
+
1977
+ # @return [Number]
1978
+ #: ../ruby/trema/match.c:283
1979
+ msgid "the value of dl_type."
1980
+ msgstr ""
1981
+
1982
+ # @return [Number]
1983
+ #: ../ruby/trema/match.c:301
1984
+ msgid "the value of nw_proto."
1985
+ msgstr ""
1986
+
1987
+ # Trema::Match#nw_src
1988
+ #: ../ruby/trema/match.c:327
1989
+ msgid "An IPv4 source address in its numeric representation."
1990
+ msgstr ""
1991
+
1992
+ # Trema::Match#nw_dst
1993
+ #: ../ruby/trema/match.c:338
1994
+ msgid "An IPv4 destination address in its numeric representation."
1995
+ msgstr ""
1996
+
1997
+ # Trema::Match#initialize
1998
+ #: ../ruby/trema/match.c:367
1999
+ msgid ""
2000
+ "Creates a {Match} instance which describe fields such as MAC addresses, IP\n"
2001
+ "addresses, TCP/UDP ports of a flow to match against. An exact match\n"
2002
+ "flow would match on all fields whereas don't care bits are wildcarded and\n"
2003
+ "ignored."
2004
+ msgstr ""
2005
+
2006
+ # Trema::NetworkComponent
2007
+ #: ../ruby/trema/network-component.rb:26
2008
+ msgid ""
2009
+ "The base class of objects appears in the Trema DSL. e.g., host,\n"
2010
+ "switch, link etc."
2011
+ msgstr ""
2012
+
2013
+ # Trema::NetworkComponent.instances=
2014
+ # Trema::NetworkComponent.instances
2015
+ #: ../ruby/trema/network-component.rb:32
2016
+ msgid "Returns the `name' => object hash DB of instances"
2017
+ msgstr ""
2018
+
2019
+ # @example
2020
+ #: ../ruby/trema/network-component.rb:42
2021
+ msgid ""
2022
+ "p App.instances\n"
2023
+ "#=> {\"trema tetris\"=>#<App:0xb73c9328>, ...}"
2024
+ msgstr ""
2025
+
2026
+ # @return [Array]
2027
+ #: ../ruby/trema/network-component.rb:42
2028
+ msgid "the {OrderedHash} of instances"
2029
+ msgstr ""
2030
+
2031
+ # Trema::NetworkComponent.inherited
2032
+ #: ../ruby/trema/network-component.rb:47
2033
+ msgid "Called implicitly when inherited"
2034
+ msgstr ""
2035
+
2036
+ # @example
2037
+ #: ../ruby/trema/network-component.rb:62
2038
+ msgid ""
2039
+ "#\n"
2040
+ "# The following calls inherited() implicitly\n"
2041
+ "# then creates an instance DB of App object.\n"
2042
+ "#\n"
2043
+ "class App < Trmea::NetworkComponent\n"
2044
+ " attr_accessor :name\n"
2045
+ "end"
2046
+ msgstr ""
2047
+
2048
+ # Trema::NetworkComponent.each
2049
+ #: ../ruby/trema/network-component.rb:74
2050
+ msgid "Iterates over the list of instances"
2051
+ msgstr ""
2052
+
2053
+ # @example
2054
+ #: ../ruby/trema/network-component.rb:85
2055
+ msgid ""
2056
+ "App.each do | each |\n"
2057
+ " p each.name\n"
2058
+ "end"
2059
+ msgstr ""
2060
+
2061
+ # @return [Array]
2062
+ #: ../ruby/trema/network-component.rb:85
2063
+ msgid "the list of instances"
2064
+ msgstr ""
2065
+
2066
+ # Trema::NetworkComponent.[]
2067
+ #: ../ruby/trema/network-component.rb:93
2068
+ msgid "Looks up a instance DB by its name"
2069
+ msgstr ""
2070
+
2071
+ # @return [Object]
2072
+ #: ../ruby/trema/network-component.rb:107
2073
+ msgid "the associated object"
2074
+ msgstr ""
2075
+
2076
+ # @example
2077
+ #: ../ruby/trema/network-component.rb:107
2078
+ msgid ""
2079
+ "ttetris = TremaTetris.new\n"
2080
+ "ttetris.name = \"trema tetris\"\n"
2081
+ "\n"
2082
+ "App.add ttetris\n"
2083
+ "\n"
2084
+ "App[ \"trema tetris\" ] => ttetris"
2085
+ msgstr ""
2086
+
2087
+ # Trema::NetworkComponent.size
2088
+ #: ../ruby/trema/network-component.rb:113
2089
+ msgid "Returns the number of instances."
2090
+ msgstr ""
2091
+
2092
+ # @example
2093
+ #: ../ruby/trema/network-component.rb:122
2094
+ msgid "App.size #=> 3"
2095
+ msgstr ""
2096
+
2097
+ # @return [Number]
2098
+ #: ../ruby/trema/network-component.rb:122
2099
+ msgid "the number of instances"
2100
+ msgstr ""
2101
+
2102
+ # Trema::NetworkComponent.add
2103
+ #: ../ruby/trema/network-component.rb:128
2104
+ msgid "Inserts a object to instance DB"
2105
+ msgstr ""
2106
+
2107
+ # @param [Object, #name] an
2108
+ #: ../ruby/trema/network-component.rb:142
2109
+ msgid "object that responds to #name"
2110
+ msgstr ""
2111
+
2112
+ # @param [Object, #name]
2113
+ #: ../ruby/trema/network-component.rb:142
2114
+ msgid "tag|param|an"
2115
+ msgstr ""
2116
+
2117
+ # @return [Object]
2118
+ #: ../ruby/trema/network-component.rb:142
2119
+ msgid "the added object"
2120
+ msgstr ""
2121
+
2122
+ # @example
2123
+ #: ../ruby/trema/network-component.rb:142
2124
+ msgid ""
2125
+ "ttetris = TremaTetris.new\n"
2126
+ "ttetris.name = \"trema tetris\"\n"
2127
+ "\n"
2128
+ "App.add ttetris"
2129
+ msgstr ""
2130
+
2131
+ # Trema::OpenVswitch
2132
+ #: ../ruby/trema/open-vswitch.rb:30
2133
+ msgid "Open vSwitch support (http://openvswitch.org)"
2134
+ msgstr ""
2135
+
2136
+ # Trema::OpenVswitch#initialize
2137
+ #: ../ruby/trema/open-vswitch.rb:44
2138
+ msgid "Creates a new Open vSwitch from {DSL::Vswitch}"
2139
+ msgstr ""
2140
+
2141
+ # @example
2142
+ #: ../ruby/trema/open-vswitch.rb:51
2143
+ msgid "vswitch = Trema::OpenVswitch.new( stanza )"
2144
+ msgstr ""
2145
+
2146
+ # Trema::OpenVswitch#<<
2147
+ #: ../ruby/trema/open-vswitch.rb:59
2148
+ msgid "Add a network interface used for a virtual port"
2149
+ msgstr ""
2150
+
2151
+ # @example
2152
+ #: ../ruby/trema/open-vswitch.rb:66
2153
+ msgid "vswitch << \"trema3-0\""
2154
+ msgstr ""
2155
+
2156
+ # Trema::OpenVswitch#network_device
2157
+ #: ../ruby/trema/open-vswitch.rb:74
2158
+ msgid ""
2159
+ "Returns the network device name associated with the datapath's\n"
2160
+ "local port"
2161
+ msgstr ""
2162
+
2163
+ # @example
2164
+ #: ../ruby/trema/open-vswitch.rb:82
2165
+ msgid "vswitch.network_device #=> \"vsw_0xabc\""
2166
+ msgstr ""
2167
+
2168
+ # Trema::OpenVswitch#flows
2169
+ #: ../ruby/trema/open-vswitch.rb:88
2170
+ msgid "Returns flow entries"
2171
+ msgstr ""
2172
+
2173
+ # @example
2174
+ #: ../ruby/trema/open-vswitch.rb:95
2175
+ msgid "vswitch.flows #=> [ flow0, flow1, ... ]"
2176
+ msgstr ""
2177
+
2178
+ # Trema::OpenflowError#initialize
2179
+ #: ../ruby/trema/openflow-error.c:30
2180
+ msgid ""
2181
+ "The occurence of reported errors/exceptions manifested as an instance - a\n"
2182
+ "{OpenflowError} object. The user would not explicitly instantiate\n"
2183
+ "a {OpenflowError} but would be created while parsing the +OFPT_ERROR+ "
2184
+ "message."
2185
+ msgstr ""
2186
+
2187
+ # Trema::OpenflowError#transaction_id
2188
+ #: ../ruby/trema/openflow-error.c:86
2189
+ msgid "The transaction_id of the offended message."
2190
+ msgstr ""
2191
+
2192
+ # Trema::OpenflowError#type
2193
+ #: ../ruby/trema/openflow-error.c:97
2194
+ msgid "The command or action that failed."
2195
+ msgstr ""
2196
+
2197
+ # @return [Number]
2198
+ #: ../ruby/trema/openflow-error.c:101 ../ruby/trema/stats-reply.c:103
2199
+ msgid "the value of type."
2200
+ msgstr ""
2201
+
2202
+ # Trema::OpenflowError#code
2203
+ #: ../ruby/trema/openflow-error.c:108
2204
+ msgid "The reason of the failed type error."
2205
+ msgstr ""
2206
+
2207
+ # @return [Number]
2208
+ #: ../ruby/trema/openflow-error.c:112
2209
+ msgid "the value of code."
2210
+ msgstr ""
2211
+
2212
+ # Trema::OpenflowError#data
2213
+ #: ../ruby/trema/openflow-error.c:119
2214
+ msgid "Variable length data interpreted based on type and code."
2215
+ msgstr ""
2216
+
2217
+ # @return [Array]
2218
+ #: ../ruby/trema/openflow-error.c:124
2219
+ msgid "an array of bytes of the offending message for any other error type."
2220
+ msgstr ""
2221
+
2222
+ # @return [String]
2223
+ #: ../ruby/trema/openflow-error.c:124
2224
+ msgid "if error type is +OFPET_HELLO_FAILED+."
2225
+ msgstr ""
2226
+
2227
+ # Trema::OpenflowSwitch
2228
+ #: ../ruby/trema/openflow-switch.rb:26
2229
+ msgid "Keeps a list of {HardwareSwitch} and {OpenVswitch}"
2230
+ msgstr ""
2231
+
2232
+ # @return [OrderedHash]
2233
+ #: ../ruby/trema/ordered-hash.rb:23
2234
+ msgid "a new instance of OrderedHash"
2235
+ msgstr ""
2236
+
2237
+ # Trema::PacketIn#buffer_id
2238
+ #: ../ruby/trema/packet-in.c:97
2239
+ msgid ""
2240
+ "Buffer id value signifies if the entire frame (packet is not buffered) or\n"
2241
+ "portion of it (packet is buffered) is included in the data field of\n"
2242
+ "this +OFPT_PACKET_IN+ message."
2243
+ msgstr ""
2244
+
2245
+ # @return [Number]
2246
+ #: ../ruby/trema/packet-in.c:103
2247
+ msgid "the value of buffer id."
2248
+ msgstr ""
2249
+
2250
+ # Trema::PacketIn#buffered?
2251
+ #: ../ruby/trema/packet-in.c:110
2252
+ msgid ""
2253
+ "A buffer_id value either than +UINT32_MAX+ marks the packet_in as buffered."
2254
+ msgstr ""
2255
+
2256
+ # @return [true]
2257
+ #: ../ruby/trema/packet-in.c:115
2258
+ msgid "if packet_in is buffered."
2259
+ msgstr ""
2260
+
2261
+ # @return [false]
2262
+ #: ../ruby/trema/packet-in.c:115
2263
+ msgid "if packet_in is not buffered."
2264
+ msgstr ""
2265
+
2266
+ # Trema::PacketIn#in_port
2267
+ #: ../ruby/trema/packet-in.c:127
2268
+ msgid "The port the frame was received."
2269
+ msgstr ""
2270
+
2271
+ # Trema::PacketIn#total_len
2272
+ #: ../ruby/trema/packet-in.c:138
2273
+ msgid "The full length of the received frame."
2274
+ msgstr ""
2275
+
2276
+ # @return [Number]
2277
+ #: ../ruby/trema/packet-in.c:142
2278
+ msgid "the value of total_len."
2279
+ msgstr ""
2280
+
2281
+ # Trema::PacketIn#data
2282
+ #: ../ruby/trema/packet-in.c:149
2283
+ msgid ""
2284
+ "A String that holds the entire or portion of the received frame.\n"
2285
+ "Length of data, total_len - 20 bytes."
2286
+ msgstr ""
2287
+
2288
+ # @return [String]
2289
+ #: ../ruby/trema/packet-in.c:154 ../ruby/trema/packet-in.c:872
2290
+ msgid "the value of data."
2291
+ msgstr ""
2292
+
2293
+ # Trema::PacketIn#reason
2294
+ #: ../ruby/trema/packet-in.c:162
2295
+ msgid "The reason why the +OFPT_PACKET_IN+ message was sent."
2296
+ msgstr ""
2297
+
2298
+ # Trema::PacketIn#macsa
2299
+ #: ../ruby/trema/packet-in.c:173
2300
+ msgid "The MAC source address."
2301
+ msgstr ""
2302
+
2303
+ # @return [Trema::Mac]
2304
+ #: ../ruby/trema/packet-in.c:177
2305
+ msgid "macsa MAC source address."
2306
+ msgstr ""
2307
+
2308
+ # Trema::PacketIn#macda
2309
+ #: ../ruby/trema/packet-in.c:184
2310
+ msgid "The MAC destination address."
2311
+ msgstr ""
2312
+
2313
+ # @return [Trema::Mac]
2314
+ #: ../ruby/trema/packet-in.c:188
2315
+ msgid "macda MAC destination address."
2316
+ msgstr ""
2317
+
2318
+ # Trema::PacketIn#eth_type
2319
+ #: ../ruby/trema/packet-in.c:195
2320
+ msgid "The ethernet type."
2321
+ msgstr ""
2322
+
2323
+ # @return [integer]
2324
+ #: ../ruby/trema/packet-in.c:199
2325
+ msgid "eth_type The ehternet type."
2326
+ msgstr ""
2327
+
2328
+ # Trema::PacketIn#vtag?
2329
+ #: ../ruby/trema/packet-in.c:206
2330
+ msgid "Is a packet with VLAN tag?"
2331
+ msgstr ""
2332
+
2333
+ # @return [bool]
2334
+ #: ../ruby/trema/packet-in.c:210
2335
+ msgid "vtag? Is a packet with VLAN tag?"
2336
+ msgstr ""
2337
+
2338
+ # Trema::PacketIn#vlan_tpid
2339
+ #: ../ruby/trema/packet-in.c:222
2340
+ msgid "The vlan tpid."
2341
+ msgstr ""
2342
+
2343
+ # @return [integer]
2344
+ #: ../ruby/trema/packet-in.c:226
2345
+ msgid "vlan_tpid The vlan tpid"
2346
+ msgstr ""
2347
+
2348
+ # Trema::PacketIn#vlan_tci
2349
+ #: ../ruby/trema/packet-in.c:233
2350
+ msgid "The vlan tci."
2351
+ msgstr ""
2352
+
2353
+ # @return [integer]
2354
+ #: ../ruby/trema/packet-in.c:237
2355
+ msgid "vlan_tci The vlan tci"
2356
+ msgstr ""
2357
+
2358
+ # Trema::PacketIn#vlan_prio
2359
+ #: ../ruby/trema/packet-in.c:244
2360
+ msgid "The vlan prio."
2361
+ msgstr ""
2362
+
2363
+ # @return [integer]
2364
+ #: ../ruby/trema/packet-in.c:248
2365
+ msgid "vlan_prio The vlan prio"
2366
+ msgstr ""
2367
+
2368
+ # Trema::PacketIn#vlan_cfi
2369
+ #: ../ruby/trema/packet-in.c:255
2370
+ msgid "The vlan cfi."
2371
+ msgstr ""
2372
+
2373
+ # @return [integer]
2374
+ #: ../ruby/trema/packet-in.c:259
2375
+ msgid "vlan_cfi The vlan cfi"
2376
+ msgstr ""
2377
+
2378
+ # Trema::PacketIn#vlan_vid
2379
+ #: ../ruby/trema/packet-in.c:266
2380
+ msgid "The vlan vid."
2381
+ msgstr ""
2382
+
2383
+ # @return [integer]
2384
+ #: ../ruby/trema/packet-in.c:270
2385
+ msgid "vlan_vid The vlan vid"
2386
+ msgstr ""
2387
+
2388
+ # Trema::PacketIn#arp?
2389
+ #: ../ruby/trema/packet-in.c:277
2390
+ msgid "Is an ARP packet?"
2391
+ msgstr ""
2392
+
2393
+ # @return [bool]
2394
+ #: ../ruby/trema/packet-in.c:281
2395
+ msgid "arp? Is an ARP packet?"
2396
+ msgstr ""
2397
+
2398
+ # Trema::PacketIn#arp_oper
2399
+ #: ../ruby/trema/packet-in.c:293
2400
+ msgid "The ARP operation code."
2401
+ msgstr ""
2402
+
2403
+ # @return [integer]
2404
+ #: ../ruby/trema/packet-in.c:297
2405
+ msgid "arp_oper Operation code."
2406
+ msgstr ""
2407
+
2408
+ # Trema::PacketIn#arp_sha
2409
+ #: ../ruby/trema/packet-in.c:304
2410
+ msgid "The ARP source hardware address."
2411
+ msgstr ""
2412
+
2413
+ # @return [Trema::Mac]
2414
+ #: ../ruby/trema/packet-in.c:308
2415
+ msgid "arp_sha MAC hardware address."
2416
+ msgstr ""
2417
+
2418
+ # Trema::PacketIn#arp_spa
2419
+ #: ../ruby/trema/packet-in.c:320
2420
+ msgid "The ARP source protocol address."
2421
+ msgstr ""
2422
+
2423
+ # @return [Trema::IP]
2424
+ #: ../ruby/trema/packet-in.c:324
2425
+ msgid "arp_spa IP protocol address."
2426
+ msgstr ""
2427
+
2428
+ # Trema::PacketIn#arp_tha
2429
+ #: ../ruby/trema/packet-in.c:336
2430
+ msgid "The ARP target hardware address."
2431
+ msgstr ""
2432
+
2433
+ # @return [Trema::Mac]
2434
+ #: ../ruby/trema/packet-in.c:340
2435
+ msgid "arp_tha MAC hardware address."
2436
+ msgstr ""
2437
+
2438
+ # Trema::PacketIn#arp_tpa
2439
+ #: ../ruby/trema/packet-in.c:352
2440
+ msgid "The ARP target protocol address."
2441
+ msgstr ""
2442
+
2443
+ # @return [Trema::IP]
2444
+ #: ../ruby/trema/packet-in.c:356
2445
+ msgid "arp_tpa IP protocol address."
2446
+ msgstr ""
2447
+
2448
+ # Trema::PacketIn#ipv4?
2449
+ #: ../ruby/trema/packet-in.c:368
2450
+ msgid "Is an IPV4 packet?"
2451
+ msgstr ""
2452
+
2453
+ # @return [bool]
2454
+ #: ../ruby/trema/packet-in.c:372
2455
+ msgid "ipv4? Is an IPV4 packet?"
2456
+ msgstr ""
2457
+
2458
+ # Trema::PacketIn#ipv4_version
2459
+ #: ../ruby/trema/packet-in.c:384
2460
+ msgid "The IPv4 version number."
2461
+ msgstr ""
2462
+
2463
+ # @return [Integer]
2464
+ #: ../ruby/trema/packet-in.c:388
2465
+ msgid "ipv4_version The IPv4 version number."
2466
+ msgstr ""
2467
+
2468
+ # Trema::PacketIn#ipv4_ihl
2469
+ #: ../ruby/trema/packet-in.c:395
2470
+ msgid "The IPv4 internet header length."
2471
+ msgstr ""
2472
+
2473
+ # @return [Integer]
2474
+ #: ../ruby/trema/packet-in.c:399
2475
+ msgid "ipv4_ihl The IPv4 internet header length."
2476
+ msgstr ""
2477
+
2478
+ # Trema::PacketIn#ipv4_tos
2479
+ #: ../ruby/trema/packet-in.c:406
2480
+ msgid "The IPv4 tos value."
2481
+ msgstr ""
2482
+
2483
+ # @return [Integer]
2484
+ #: ../ruby/trema/packet-in.c:410
2485
+ msgid "ipv4_tos The IPv4 tos value."
2486
+ msgstr ""
2487
+
2488
+ # Trema::PacketIn#ipv4_tot_len
2489
+ #: ../ruby/trema/packet-in.c:417
2490
+ msgid "The IPv4 total length."
2491
+ msgstr ""
2492
+
2493
+ # @return [Integer]
2494
+ #: ../ruby/trema/packet-in.c:421
2495
+ msgid "ipv4_tot_len The IPv4 total length."
2496
+ msgstr ""
2497
+
2498
+ # Trema::PacketIn#ipv4_id
2499
+ #: ../ruby/trema/packet-in.c:428
2500
+ msgid "The IPv4 identifier."
2501
+ msgstr ""
2502
+
2503
+ # @return [Integer]
2504
+ #: ../ruby/trema/packet-in.c:432
2505
+ msgid "ipv4_id The IPv4 identifier."
2506
+ msgstr ""
2507
+
2508
+ # Trema::PacketIn#ipv4_frag_off
2509
+ #: ../ruby/trema/packet-in.c:439
2510
+ msgid "The IPv4 fragment offset."
2511
+ msgstr ""
2512
+
2513
+ # @return [Integer]
2514
+ #: ../ruby/trema/packet-in.c:443
2515
+ msgid "ipv4_frag_off The IPv4 fragment offset."
2516
+ msgstr ""
2517
+
2518
+ # Trema::PacketIn#ipv4_ttl
2519
+ #: ../ruby/trema/packet-in.c:450
2520
+ msgid "The IPv4 ttl value."
2521
+ msgstr ""
2522
+
2523
+ # @return [Integer]
2524
+ #: ../ruby/trema/packet-in.c:454
2525
+ msgid "ipv4_ttl The IPv4 ttl value."
2526
+ msgstr ""
2527
+
2528
+ # Trema::PacketIn#ipv4_protocol
2529
+ #: ../ruby/trema/packet-in.c:461
2530
+ msgid "The IPv4 protocol number."
2531
+ msgstr ""
2532
+
2533
+ # @return [Integer]
2534
+ #: ../ruby/trema/packet-in.c:465
2535
+ msgid "ipv4_protocol The IPv4 protocol number."
2536
+ msgstr ""
2537
+
2538
+ # Trema::PacketIn#ipv4_checksum
2539
+ #: ../ruby/trema/packet-in.c:472
2540
+ msgid "The IPv4 checksum."
2541
+ msgstr ""
2542
+
2543
+ # @return [Integer]
2544
+ #: ../ruby/trema/packet-in.c:476
2545
+ msgid "ipv4_checksum The IPv4 checksum."
2546
+ msgstr ""
2547
+
2548
+ # Trema::PacketIn#ipv4_saddr
2549
+ #: ../ruby/trema/packet-in.c:483
2550
+ msgid "The IPV4 source protocol address."
2551
+ msgstr ""
2552
+
2553
+ # @return [Trema::IP]
2554
+ #: ../ruby/trema/packet-in.c:487
2555
+ msgid "ipv4_saddr IP protocol address."
2556
+ msgstr ""
2557
+
2558
+ # Trema::PacketIn#ipv4_daddr
2559
+ #: ../ruby/trema/packet-in.c:499
2560
+ msgid "The IPV4 destination protocol address."
2561
+ msgstr ""
2562
+
2563
+ # @return [Trema::IP]
2564
+ #: ../ruby/trema/packet-in.c:503
2565
+ msgid "ipv4_daddr IP protocol address."
2566
+ msgstr ""
2567
+
2568
+ # Trema::PacketIn#icmpv4?
2569
+ #: ../ruby/trema/packet-in.c:515
2570
+ msgid "Is an ICMPv4 packet?"
2571
+ msgstr ""
2572
+
2573
+ # @return [bool]
2574
+ #: ../ruby/trema/packet-in.c:519
2575
+ msgid "icmpv4? Is an ICMPv4 packet?"
2576
+ msgstr ""
2577
+
2578
+ # Trema::PacketIn#icmpv4_type
2579
+ #: ../ruby/trema/packet-in.c:531
2580
+ msgid "The ICMPv4 message type."
2581
+ msgstr ""
2582
+
2583
+ # @return [Integer]
2584
+ #: ../ruby/trema/packet-in.c:535
2585
+ msgid "icmpv4_type The ICMPv4 message type."
2586
+ msgstr ""
2587
+
2588
+ # Trema::PacketIn#icmpv4_code
2589
+ #: ../ruby/trema/packet-in.c:542
2590
+ msgid "The ICMPv4 message code."
2591
+ msgstr ""
2592
+
2593
+ # @return [Integer]
2594
+ #: ../ruby/trema/packet-in.c:546
2595
+ msgid "icmpv4_code The ICMPv4 message code."
2596
+ msgstr ""
2597
+
2598
+ # Trema::PacketIn#icmpv4_checksum
2599
+ #: ../ruby/trema/packet-in.c:553
2600
+ msgid "The ICMPv4 message checksum."
2601
+ msgstr ""
2602
+
2603
+ # @return [Integer]
2604
+ #: ../ruby/trema/packet-in.c:557
2605
+ msgid "icmpv4_checksum The ICMPv4 message checksum."
2606
+ msgstr ""
2607
+
2608
+ # Trema::PacketIn#icmpv4_id
2609
+ #: ../ruby/trema/packet-in.c:564
2610
+ msgid "The identifier of ICMPv4 echo."
2611
+ msgstr ""
2612
+
2613
+ # @return [Integer]
2614
+ #: ../ruby/trema/packet-in.c:568
2615
+ msgid "icmpv4_id The identifier of ICMPv4 echo."
2616
+ msgstr ""
2617
+
2618
+ # Trema::PacketIn#icmpv4_seq
2619
+ #: ../ruby/trema/packet-in.c:575
2620
+ msgid "The sequence number of ICMPv4 echo."
2621
+ msgstr ""
2622
+
2623
+ # @return [Integer]
2624
+ #: ../ruby/trema/packet-in.c:579
2625
+ msgid "icmpv4_id The sequence number of ICMPv4 echo."
2626
+ msgstr ""
2627
+
2628
+ # Trema::PacketIn#icmpv4_gateway
2629
+ #: ../ruby/trema/packet-in.c:586
2630
+ msgid "The gateway address of ICMPv4 redicect."
2631
+ msgstr ""
2632
+
2633
+ # @return [Trema::IP]
2634
+ #: ../ruby/trema/packet-in.c:590
2635
+ msgid "icmp_gateway The gateway address of ICMPv4 redicect."
2636
+ msgstr ""
2637
+
2638
+ # Trema::PacketIn#igmp?
2639
+ #: ../ruby/trema/packet-in.c:602
2640
+ msgid "Is an IGMP packet?"
2641
+ msgstr ""
2642
+
2643
+ # @return [bool]
2644
+ #: ../ruby/trema/packet-in.c:606
2645
+ msgid "igmp? Is an IGMP packet?"
2646
+ msgstr ""
2647
+
2648
+ # Trema::PacketIn#igmp_membership_query?
2649
+ #: ../ruby/trema/packet-in.c:618
2650
+ msgid "Is an IGMP membership query packet?"
2651
+ msgstr ""
2652
+
2653
+ # @return [bool]
2654
+ #: ../ruby/trema/packet-in.c:622
2655
+ msgid "igmp_membership_query? Is an IGMP membership query packet?"
2656
+ msgstr ""
2657
+
2658
+ # Trema::PacketIn#igmp_v1_membership_report?
2659
+ #: ../ruby/trema/packet-in.c:634
2660
+ msgid "Is an IGMP v1 membership report packet?"
2661
+ msgstr ""
2662
+
2663
+ # @return [bool]
2664
+ #: ../ruby/trema/packet-in.c:638
2665
+ msgid "igmp_v1_membership_report? Is an IGMP v1 membership report packet?"
2666
+ msgstr ""
2667
+
2668
+ # Trema::PacketIn#igmp_v2_membership_report?
2669
+ #: ../ruby/trema/packet-in.c:650
2670
+ msgid "Is an IGMP v2 membership report packet?"
2671
+ msgstr ""
2672
+
2673
+ # @return [bool]
2674
+ #: ../ruby/trema/packet-in.c:654
2675
+ msgid "igmp_v2_membership_report? Is an IGMP v2 membership report packet?"
2676
+ msgstr ""
2677
+
2678
+ # Trema::PacketIn#igmp_v2_leave_group?
2679
+ #: ../ruby/trema/packet-in.c:666
2680
+ msgid "Is an IGMP v2 leave group packet?"
2681
+ msgstr ""
2682
+
2683
+ # @return [bool]
2684
+ #: ../ruby/trema/packet-in.c:670
2685
+ msgid "igmp_v2_leave_group? Is an IGMP v2 leave group packet?"
2686
+ msgstr ""
2687
+
2688
+ # Trema::PacketIn#igmp_v3_membership_report?
2689
+ #: ../ruby/trema/packet-in.c:682
2690
+ msgid "Is an IGMP v3 membership report packet?"
2691
+ msgstr ""
2692
+
2693
+ # @return [bool]
2694
+ #: ../ruby/trema/packet-in.c:686
2695
+ msgid "igmp_v3_membership_report? Is an IGMP v3 membership report packet?"
2696
+ msgstr ""
2697
+
2698
+ # Trema::PacketIn#igmp_type
2699
+ #: ../ruby/trema/packet-in.c:698
2700
+ msgid "The IGMP message type."
2701
+ msgstr ""
2702
+
2703
+ # @return [Integer]
2704
+ #: ../ruby/trema/packet-in.c:702
2705
+ msgid "igmp_type IGMP type."
2706
+ msgstr ""
2707
+
2708
+ # Trema::PacketIn#igmp_group
2709
+ #: ../ruby/trema/packet-in.c:709
2710
+ msgid "The IGMP group address."
2711
+ msgstr ""
2712
+
2713
+ # @return [Trema::IP]
2714
+ #: ../ruby/trema/packet-in.c:713
2715
+ msgid "igmp_group an IGMP group address."
2716
+ msgstr ""
2717
+
2718
+ # Trema::PacketIn#igmp_checksum
2719
+ #: ../ruby/trema/packet-in.c:725
2720
+ msgid "The IGMP checksum."
2721
+ msgstr ""
2722
+
2723
+ # @return [Integer]
2724
+ #: ../ruby/trema/packet-in.c:729
2725
+ msgid "igmp_checksum a IGMP checksum."
2726
+ msgstr ""
2727
+
2728
+ # Trema::PacketIn#tcp?
2729
+ #: ../ruby/trema/packet-in.c:736
2730
+ msgid "Is a TCP packet?"
2731
+ msgstr ""
2732
+
2733
+ # @return [bool]
2734
+ #: ../ruby/trema/packet-in.c:740
2735
+ msgid "tcp? Is a TCP packet?"
2736
+ msgstr ""
2737
+
2738
+ # Trema::PacketIn#tcp_src_port
2739
+ #: ../ruby/trema/packet-in.c:752
2740
+ msgid "The TCP source port."
2741
+ msgstr ""
2742
+
2743
+ # @return [Integer]
2744
+ #: ../ruby/trema/packet-in.c:756
2745
+ msgid "tcp_src_port TCP port."
2746
+ msgstr ""
2747
+
2748
+ # Trema::PacketIn#tcp_dst_port
2749
+ #: ../ruby/trema/packet-in.c:763
2750
+ msgid "The TCP destination port."
2751
+ msgstr ""
2752
+
2753
+ # @return [Integer]
2754
+ #: ../ruby/trema/packet-in.c:767
2755
+ msgid "tcp_dst_port TCP port."
2756
+ msgstr ""
2757
+
2758
+ # Trema::PacketIn#tcp_seq_no
2759
+ #: ../ruby/trema/packet-in.c:774
2760
+ msgid "The TCP sequence number."
2761
+ msgstr ""
2762
+
2763
+ # @return [Integer]
2764
+ #: ../ruby/trema/packet-in.c:778
2765
+ msgid "tcp_seq_no a TCP sequence number."
2766
+ msgstr ""
2767
+
2768
+ # Trema::PacketIn#tcp_ack_no
2769
+ #: ../ruby/trema/packet-in.c:785
2770
+ msgid "The TCP acknowledge number."
2771
+ msgstr ""
2772
+
2773
+ # @return [Integer]
2774
+ #: ../ruby/trema/packet-in.c:789
2775
+ msgid "tcp_ack_no a TCP acknowkedge number."
2776
+ msgstr ""
2777
+
2778
+ # Trema::PacketIn#tcp_offset
2779
+ #: ../ruby/trema/packet-in.c:796
2780
+ msgid "The TCP offset."
2781
+ msgstr ""
2782
+
2783
+ # @return [Integer]
2784
+ #: ../ruby/trema/packet-in.c:800
2785
+ msgid "tcp_offset a TCP offset."
2786
+ msgstr ""
2787
+
2788
+ # Trema::PacketIn#tcp_flags
2789
+ #: ../ruby/trema/packet-in.c:807
2790
+ msgid "The TCP flags."
2791
+ msgstr ""
2792
+
2793
+ # @return [Integer]
2794
+ #: ../ruby/trema/packet-in.c:811
2795
+ msgid "tcp_flags TCP flags."
2796
+ msgstr ""
2797
+
2798
+ # Trema::PacketIn#tcp_window
2799
+ #: ../ruby/trema/packet-in.c:818
2800
+ msgid "The TCP window."
2801
+ msgstr ""
2802
+
2803
+ # @return [Integer]
2804
+ #: ../ruby/trema/packet-in.c:822
2805
+ msgid "tcp_window a TCP window."
2806
+ msgstr ""
2807
+
2808
+ # Trema::PacketIn#tcp_checksum
2809
+ #: ../ruby/trema/packet-in.c:829
2810
+ msgid "The TCP checksum."
2811
+ msgstr ""
2812
+
2813
+ # @return [Integer]
2814
+ #: ../ruby/trema/packet-in.c:833
2815
+ msgid "tcp_checksum a TCP checksum."
2816
+ msgstr ""
2817
+
2818
+ # Trema::PacketIn#tcp_urgent
2819
+ #: ../ruby/trema/packet-in.c:840
2820
+ msgid "The TCP urgent."
2821
+ msgstr ""
2822
+
2823
+ # @return [Integer]
2824
+ #: ../ruby/trema/packet-in.c:844
2825
+ msgid "tcp_urgent a TCP urgent."
2826
+ msgstr ""
2827
+
2828
+ # Trema::PacketIn#udp?
2829
+ #: ../ruby/trema/packet-in.c:851
2830
+ msgid "Is an UDP packet?"
2831
+ msgstr ""
2832
+
2833
+ # @return [bool]
2834
+ #: ../ruby/trema/packet-in.c:855
2835
+ msgid "udp? Is an UDP packet?"
2836
+ msgstr ""
2837
+
2838
+ # Trema::PacketIn#udp_payload
2839
+ #: ../ruby/trema/packet-in.c:867
2840
+ msgid ""
2841
+ "A String that holds the UDP payload.\n"
2842
+ "Length of data, total_len - 20 bytes."
2843
+ msgstr ""
2844
+
2845
+ # Trema::PacketIn#udp_src_port
2846
+ #: ../ruby/trema/packet-in.c:880
2847
+ msgid "The UDP source port."
2848
+ msgstr ""
2849
+
2850
+ # @return [Integer]
2851
+ #: ../ruby/trema/packet-in.c:884
2852
+ msgid "udp_src_port UDP port."
2853
+ msgstr ""
2854
+
2855
+ # Trema::PacketIn#udp_dst_port
2856
+ #: ../ruby/trema/packet-in.c:891
2857
+ msgid "The UDP destination port."
2858
+ msgstr ""
2859
+
2860
+ # @return [Integer]
2861
+ #: ../ruby/trema/packet-in.c:895
2862
+ msgid "udp_dst_port UDP port."
2863
+ msgstr ""
2864
+
2865
+ # Trema::PacketIn#udp_len
2866
+ #: ../ruby/trema/packet-in.c:902
2867
+ msgid "The UDP length."
2868
+ msgstr ""
2869
+
2870
+ # @return [Integer]
2871
+ #: ../ruby/trema/packet-in.c:906
2872
+ msgid "udp_len a UDP length."
2873
+ msgstr ""
2874
+
2875
+ # Trema::PacketIn#udp_checksum
2876
+ #: ../ruby/trema/packet-in.c:913
2877
+ msgid "The UDP checksum."
2878
+ msgstr ""
2879
+
2880
+ # @return [Integer]
2881
+ #: ../ruby/trema/packet-in.c:917
2882
+ msgid "udp_checksum a UDP checksum."
2883
+ msgstr ""
2884
+
2885
+ # @return [Array]
2886
+ #: ../ruby/trema/packet-queue.rb:25 ../ruby/trema/packet-queue.rb:39
2887
+ msgid "an array of {PacketQueue} objects."
2888
+ msgstr ""
2889
+
2890
+ # @param [PacketQueue]
2891
+ # @param [MinRateQueue]
2892
+ #: ../ruby/trema/packet-queue.rb:25 ../ruby/trema/packet-queue.rb:31
2893
+ #: ../ruby/trema/packet-queue.rb:91
2894
+ msgid "tag|param|queue"
2895
+ msgstr ""
2896
+
2897
+ # @param [PacketQueue] queue
2898
+ #: ../ruby/trema/packet-queue.rb:25
2899
+ msgid "the {PacketQueue} to append to the list."
2900
+ msgstr ""
2901
+
2902
+ # Queue.append
2903
+ #: ../ruby/trema/packet-queue.rb:30
2904
+ msgid "Add queue to list."
2905
+ msgstr ""
2906
+
2907
+ # @param [PacketQueue] queue
2908
+ #: ../ruby/trema/packet-queue.rb:31
2909
+ msgid "a {PacketQueue} instance."
2910
+ msgstr ""
2911
+
2912
+ # Queue.each
2913
+ #: ../ruby/trema/packet-queue.rb:45
2914
+ msgid "Iterate over each {PacketQueue} item."
2915
+ msgstr ""
2916
+
2917
+ # @return [Array]
2918
+ #: ../ruby/trema/packet-queue.rb:46
2919
+ msgid "a list of {PacketQueue} items."
2920
+ msgstr ""
2921
+
2922
+ # PacketQueue::OFPQT_NONE
2923
+ #: ../ruby/trema/packet-queue.rb:56
2924
+ msgid "No property for queue."
2925
+ msgstr ""
2926
+
2927
+ # PacketQueue::OFPQT_MIN_RATE
2928
+ #: ../ruby/trema/packet-queue.rb:58
2929
+ msgid "Minimum datarate guaranteed."
2930
+ msgstr ""
2931
+
2932
+ # PacketQueue#queue_id=
2933
+ # PacketQueue#queue_id
2934
+ #: ../ruby/trema/packet-queue.rb:62
2935
+ msgid "Id for the specific queue."
2936
+ msgstr ""
2937
+
2938
+ # @return [Number]
2939
+ #: ../ruby/trema/packet-queue.rb:64
2940
+ msgid ""
2941
+ "queue_id\n"
2942
+ "the value of attribute queue_id."
2943
+ msgstr ""
2944
+
2945
+ # PacketQueue#len=
2946
+ # PacketQueue#len
2947
+ #: ../ruby/trema/packet-queue.rb:66
2948
+ msgid "Queue description's length in bytes."
2949
+ msgstr ""
2950
+
2951
+ # @return [Number]
2952
+ #: ../ruby/trema/packet-queue.rb:68
2953
+ msgid ""
2954
+ "len\n"
2955
+ "the value of attribute len."
2956
+ msgstr ""
2957
+
2958
+ # PacketQueue#properties=
2959
+ # PacketQueue#properties
2960
+ #: ../ruby/trema/packet-queue.rb:70
2961
+ msgid "List of queue properties."
2962
+ msgstr ""
2963
+
2964
+ # @return [Array]
2965
+ #: ../ruby/trema/packet-queue.rb:72
2966
+ msgid ""
2967
+ "properties\n"
2968
+ "the value of attribute properties."
2969
+ msgstr ""
2970
+
2971
+ # @return [PacketQueue]
2972
+ #: ../ruby/trema/packet-queue.rb:82
2973
+ msgid "a new instance of PacketQueue"
2974
+ msgstr ""
2975
+
2976
+ # @option
2977
+ #: ../ruby/trema/packet-queue.rb:82 ../ruby/trema/port-status-add.rb:49
2978
+ #: ../ruby/trema/port-status-delete.rb:49
2979
+ #: ../ruby/trema/port-status-modify.rb:49
2980
+ msgid "tag|option|options"
2981
+ msgstr ""
2982
+
2983
+ # @param [Hash]
2984
+ #: ../ruby/trema/packet-queue.rb:82 ../ruby/trema/port-status-add.rb:49
2985
+ #: ../ruby/trema/port-status-delete.rb:49
2986
+ #: ../ruby/trema/port-status-modify.rb:49 ../ruby/trema/stats-helper.rb:38
2987
+ msgid "tag|param|options"
2988
+ msgstr ""
2989
+
2990
+ # @param [Hash] options
2991
+ #: ../ruby/trema/packet-queue.rb:82
2992
+ msgid "ths options hash."
2993
+ msgstr ""
2994
+
2995
+ # @param [MinRateQueue] queue
2996
+ #: ../ruby/trema/packet-queue.rb:91
2997
+ msgid ""
2998
+ "a property queue {MinRateQueue} object to append to the properties list."
2999
+ msgstr ""
3000
+
3001
+ # @return [String]
3002
+ #: ../ruby/trema/packet-queue.rb:99
3003
+ msgid ""
3004
+ "text representation of {PacketQueue}'s attributes and all its properties\n"
3005
+ "queue object's attributes."
3006
+ msgstr ""
3007
+
3008
+ # QueueProperty#property=
3009
+ # QueueProperty#property
3010
+ #: ../ruby/trema/packet-queue.rb:111
3011
+ msgid ""
3012
+ "Property queue id.\n"
3013
+ "For minimum-rate type queue the property value is set to 1, otherwise "
3014
+ "defaults\n"
3015
+ "to zero."
3016
+ msgstr ""
3017
+
3018
+ # @return [Number]
3019
+ #: ../ruby/trema/packet-queue.rb:115
3020
+ msgid "the value of attribute property."
3021
+ msgstr ""
3022
+
3023
+ # QueueProperty#len=
3024
+ # QueueProperty#len
3025
+ #: ../ruby/trema/packet-queue.rb:117
3026
+ msgid "length of property. If >= 8 minimum-rate type queue is defined."
3027
+ msgstr ""
3028
+
3029
+ # @return [Number]
3030
+ #: ../ruby/trema/packet-queue.rb:119
3031
+ msgid "the value of attribute len."
3032
+ msgstr ""
3033
+
3034
+ # QueueProperty#initialize
3035
+ #: ../ruby/trema/packet-queue.rb:123
3036
+ msgid ""
3037
+ "Each queue is described by a set of properties, each of a specific type and\n"
3038
+ "configuration."
3039
+ msgstr ""
3040
+
3041
+ # @return [QueueProperty]
3042
+ #: ../ruby/trema/packet-queue.rb:128
3043
+ msgid "a new instance of QueueProperty"
3044
+ msgstr ""
3045
+
3046
+ # @param [Number] len
3047
+ #: ../ruby/trema/packet-queue.rb:128 ../ruby/trema/packet-queue.rb:158
3048
+ msgid "length in bytes of the property queue."
3049
+ msgstr ""
3050
+
3051
+ # @param [Number] property
3052
+ #: ../ruby/trema/packet-queue.rb:128 ../ruby/trema/packet-queue.rb:158
3053
+ msgid "property queue id."
3054
+ msgstr ""
3055
+
3056
+ # @param [Number]
3057
+ #: ../ruby/trema/packet-queue.rb:128 ../ruby/trema/packet-queue.rb:158
3058
+ msgid "tag|param|len"
3059
+ msgstr ""
3060
+
3061
+ # @param [Number]
3062
+ #: ../ruby/trema/packet-queue.rb:128 ../ruby/trema/packet-queue.rb:158
3063
+ msgid "tag|param|property"
3064
+ msgstr ""
3065
+
3066
+ # @return [String]
3067
+ #: ../ruby/trema/packet-queue.rb:136
3068
+ msgid "text representation of its attributes (property,len)."
3069
+ msgstr ""
3070
+
3071
+ # MinRateQueue#rate=
3072
+ # MinRateQueue#rate
3073
+ #: ../ruby/trema/packet-queue.rb:144
3074
+ msgid "the rate value of the minimum rate queue."
3075
+ msgstr ""
3076
+
3077
+ # @return [Number]
3078
+ #: ../ruby/trema/packet-queue.rb:146
3079
+ msgid "the value of attribute rate."
3080
+ msgstr ""
3081
+
3082
+ # MinRateQueue#initialize
3083
+ #: ../ruby/trema/packet-queue.rb:150
3084
+ msgid ""
3085
+ "An object that encapsulates the minimum rate queue property description."
3086
+ msgstr ""
3087
+
3088
+ # @param [PacketQueue] packet_queue
3089
+ #: ../ruby/trema/packet-queue.rb:158
3090
+ msgid "A {PacketQueue} instance to use to save the minimum rate queue."
3091
+ msgstr ""
3092
+
3093
+ # @return [MinRateQueue]
3094
+ #: ../ruby/trema/packet-queue.rb:158
3095
+ msgid "a new instance of MinRateQueue"
3096
+ msgstr ""
3097
+
3098
+ # @param [PacketQueue]
3099
+ #: ../ruby/trema/packet-queue.rb:158
3100
+ msgid "tag|param|packet_queue"
3101
+ msgstr ""
3102
+
3103
+ # @param [Number]
3104
+ #: ../ruby/trema/packet-queue.rb:158
3105
+ msgid "tag|param|rate"
3106
+ msgstr ""
3107
+
3108
+ # @param [Number] rate
3109
+ #: ../ruby/trema/packet-queue.rb:158
3110
+ msgid "the rate value of the mimimum rate queue."
3111
+ msgstr ""
3112
+
3113
+ # @return [String]
3114
+ #: ../ruby/trema/packet-queue.rb:168
3115
+ msgid "text representation of rate prefixed by property and length attributes."
3116
+ msgstr ""
3117
+
3118
+ # Trema::PacketinFilter
3119
+ #: ../ruby/trema/packetin-filter.rb:27
3120
+ msgid "The controller class of packetin_filter."
3121
+ msgstr ""
3122
+
3123
+ # Trema::PacketinFilter#initialize
3124
+ #: ../ruby/trema/packetin-filter.rb:31
3125
+ msgid "Creates a PacketinFilter controller"
3126
+ msgstr ""
3127
+
3128
+ # @example
3129
+ #: ../ruby/trema/packetin-filter.rb:40
3130
+ msgid ""
3131
+ "Trema::PacketinFilter.new( :lldp => \"topology manager\", :packet_in => "
3132
+ "\"OpenFlow ping-pong\" )"
3133
+ msgstr ""
3134
+
3135
+ # Trema::PacketinFilter#name
3136
+ #: ../ruby/trema/packetin-filter.rb:48
3137
+ msgid "Returns the name of packetin filter"
3138
+ msgstr ""
3139
+
3140
+ # @example
3141
+ #: ../ruby/trema/packetin-filter.rb:57
3142
+ msgid "packetin_filter.name => \"packet-in filter\""
3143
+ msgstr ""
3144
+
3145
+ # Trema::PacketinFilter#run!
3146
+ #: ../ruby/trema/packetin-filter.rb:63
3147
+ msgid "Starts a packetin filter process"
3148
+ msgstr ""
3149
+
3150
+ # @example
3151
+ #: ../ruby/trema/packetin-filter.rb:72
3152
+ msgid "packetin_filter.run!"
3153
+ msgstr ""
3154
+
3155
+ # Trema::PacketinFilter#check_mandatory_options
3156
+ #: ../ruby/trema/packetin-filter.rb:83
3157
+ msgid "Checks mandatory options for packetin_filter command"
3158
+ msgstr ""
3159
+
3160
+ # Trema::PacketinFilter#lldp_queue
3161
+ #: ../ruby/trema/packetin-filter.rb:97
3162
+ msgid "The lldp option of packetin_filter command"
3163
+ msgstr ""
3164
+
3165
+ # Trema::PacketinFilter#packetin_queue
3166
+ #: ../ruby/trema/packetin-filter.rb:109
3167
+ msgid "The packetin option of packetin_filter command"
3168
+ msgstr ""
3169
+
3170
+ # @return [Phost]
3171
+ #: ../ruby/trema/phost.rb:37
3172
+ msgid "a new instance of Phost"
3173
+ msgstr ""
3174
+
3175
+ # Trema::PortMod#initialize
3176
+ #: ../ruby/trema/port-mod.c:44
3177
+ msgid ""
3178
+ "A {PortMod} instance a request object to perform operations on a physical "
3179
+ "port."
3180
+ msgstr ""
3181
+
3182
+ # Trema::PortMod#port_no
3183
+ #: ../ruby/trema/port-mod.c:152
3184
+ msgid "Port number and hardware address as a pair identify a port."
3185
+ msgstr ""
3186
+
3187
+ # @return [Number]
3188
+ #: ../ruby/trema/port-mod.c:156
3189
+ msgid "the value of port_no."
3190
+ msgstr ""
3191
+
3192
+ # Trema::PortMod#hw_addr
3193
+ #: ../ruby/trema/port-mod.c:163
3194
+ msgid "Ethernet address converted and stored as a {Trema::Mac} object."
3195
+ msgstr ""
3196
+
3197
+ # @return [Mac]
3198
+ #: ../ruby/trema/port-mod.c:167 ../ruby/trema/port.c:128
3199
+ msgid "the value of hw_addr."
3200
+ msgstr ""
3201
+
3202
+ # Trema::PortMod#config
3203
+ #: ../ruby/trema/port-mod.c:174
3204
+ msgid ""
3205
+ "A port can be administratively brought down, disable flooding or packet\n"
3206
+ "forwarding or any other options as per +ofp_port_config+. flags."
3207
+ msgstr ""
3208
+
3209
+ # @return [Number]
3210
+ #: ../ruby/trema/port-mod.c:179 ../ruby/trema/port.c:150
3211
+ msgid "the value of config."
3212
+ msgstr ""
3213
+
3214
+ # Trema::PortMod#mask
3215
+ #: ../ruby/trema/port-mod.c:186
3216
+ msgid "Set the bitmap as per +config+ attribute."
3217
+ msgstr ""
3218
+
3219
+ # @return [Number]
3220
+ #: ../ruby/trema/port-mod.c:190
3221
+ msgid "the value of mask."
3222
+ msgstr ""
3223
+
3224
+ # Trema::PortMod#advertise
3225
+ #: ../ruby/trema/port-mod.c:197
3226
+ msgid "Set to zero to prevent any changes."
3227
+ msgstr ""
3228
+
3229
+ # @return [Number]
3230
+ #: ../ruby/trema/port-mod.c:201
3231
+ msgid "the value of advertise."
3232
+ msgstr ""
3233
+
3234
+ # Trema::PortStatsReply#initialize
3235
+ #: ../ruby/trema/port-stats-reply.rb:33
3236
+ msgid ""
3237
+ "Port counters or errors for one or more physical ports.\n"
3238
+ "A user would not explicitly instantiate a {PortStatsReply} object but would\n"
3239
+ "be created as a result of parsing the +OFPT_STATS_REPLY(OFPST_PORT)+ message."
3240
+ msgstr ""
3241
+
3242
+ # @return [PortStatsReply]
3243
+ #: ../ruby/trema/port-stats-reply.rb:100
3244
+ msgid "a new instance of PortStatsReply"
3245
+ msgstr ""
3246
+
3247
+ # Trema::PortStatusAdd
3248
+ #: ../ruby/trema/port-status-add.rb:21
3249
+ msgid ""
3250
+ "As physical ports are added to the datapath, the controller needs\n"
3251
+ "to be informed with this message."
3252
+ msgstr ""
3253
+
3254
+ # Trema::PortStatusAdd#initialize
3255
+ #: ../ruby/trema/port-status-add.rb:26
3256
+ msgid "Creates a port-added message."
3257
+ msgstr ""
3258
+
3259
+ # @example
3260
+ #: ../ruby/trema/port-status-add.rb:49
3261
+ msgid ""
3262
+ "PortStatusAdd.new(\n"
3263
+ " :datapath_id => 0xabc,\n"
3264
+ " :transaction_id => 123,\n"
3265
+ " :phy_port => port\n"
3266
+ ")"
3267
+ msgstr ""
3268
+
3269
+ # @param [Hash] options
3270
+ #: ../ruby/trema/port-status-add.rb:49 ../ruby/trema/port-status-delete.rb:49
3271
+ #: ../ruby/trema/port-status-modify.rb:49
3272
+ msgid "the options to create a message with."
3273
+ msgstr ""
3274
+
3275
+ # Trema::PortStatusDelete
3276
+ #: ../ruby/trema/port-status-delete.rb:21
3277
+ msgid ""
3278
+ "As physical ports are deleted from the datapath, the controller\n"
3279
+ "needs to be informed with this message."
3280
+ msgstr ""
3281
+
3282
+ # Trema::PortStatusDelete#initialize
3283
+ #: ../ruby/trema/port-status-delete.rb:26
3284
+ msgid "Creates a port-deleted message."
3285
+ msgstr ""
3286
+
3287
+ # @example
3288
+ #: ../ruby/trema/port-status-delete.rb:49
3289
+ msgid ""
3290
+ "PortStatusDelete.new(\n"
3291
+ " :datapath_id => 0xabc,\n"
3292
+ " :transaction_id => 123,\n"
3293
+ " :phy_port => port\n"
3294
+ ")"
3295
+ msgstr ""
3296
+
3297
+ # Trema::PortStatusModify
3298
+ #: ../ruby/trema/port-status-modify.rb:21
3299
+ msgid ""
3300
+ "As physical ports of the datapath are modified, the controller\n"
3301
+ "needs to be informed with this message."
3302
+ msgstr ""
3303
+
3304
+ # Trema::PortStatusModify#initialize
3305
+ #: ../ruby/trema/port-status-modify.rb:26
3306
+ msgid "Creates a port-modified message."
3307
+ msgstr ""
3308
+
3309
+ # @example
3310
+ #: ../ruby/trema/port-status-modify.rb:49
3311
+ msgid ""
3312
+ "PortStatusModify.new(\n"
3313
+ " :datapath_id => 0xabc,\n"
3314
+ " :transaction_id => 123,\n"
3315
+ " :phy_port => port\n"
3316
+ ")"
3317
+ msgstr ""
3318
+
3319
+ # Trema::PortStatus#initialize
3320
+ #: ../ruby/trema/port-status.c:31
3321
+ msgid "Creates a port status message."
3322
+ msgstr ""
3323
+
3324
+ # Trema::PortStatus#reason
3325
+ #: ../ruby/trema/port-status.c:102
3326
+ msgid ""
3327
+ "The reason value specifies an addition, deletion or modification to a port."
3328
+ msgstr ""
3329
+
3330
+ # Trema::PortStatus#phy_port
3331
+ #: ../ruby/trema/port-status.c:113
3332
+ msgid "Port detailed description, state."
3333
+ msgstr ""
3334
+
3335
+ # @return [Port]
3336
+ #: ../ruby/trema/port-status.c:117
3337
+ msgid "the value of phy_port."
3338
+ msgstr ""
3339
+
3340
+ # Trema::Port#initialize
3341
+ #: ../ruby/trema/port.c:30
3342
+ msgid ""
3343
+ "Creates a {Port} instance that encapsulates the properties of a physical "
3344
+ "port.\n"
3345
+ "The newly-created instance is initialized from an options hash."
3346
+ msgstr ""
3347
+
3348
+ # Trema::Port#number
3349
+ #: ../ruby/trema/port.c:113
3350
+ msgid "The port's unique number."
3351
+ msgstr ""
3352
+
3353
+ # @return [Number]
3354
+ #: ../ruby/trema/port.c:117
3355
+ msgid "the value of number."
3356
+ msgstr ""
3357
+
3358
+ # Trema::Port#hw_addr
3359
+ #: ../ruby/trema/port.c:124
3360
+ msgid "The port's Ethernet address expressed as a {Mac} object."
3361
+ msgstr ""
3362
+
3363
+ # Trema::Port#name
3364
+ #: ../ruby/trema/port.c:135
3365
+ msgid "The port's human readable defined name."
3366
+ msgstr ""
3367
+
3368
+ # @return [String]
3369
+ #: ../ruby/trema/port.c:139
3370
+ msgid "the value of name."
3371
+ msgstr ""
3372
+
3373
+ # Trema::Port#config
3374
+ #: ../ruby/trema/port.c:146
3375
+ msgid "The port's configuration as a 32-bit bitmap."
3376
+ msgstr ""
3377
+
3378
+ # Trema::Port#state
3379
+ #: ../ruby/trema/port.c:157
3380
+ msgid "The port's state as a 32-bit bitmap."
3381
+ msgstr ""
3382
+
3383
+ # @return [Number]
3384
+ #: ../ruby/trema/port.c:161
3385
+ msgid "the value of state."
3386
+ msgstr ""
3387
+
3388
+ # Trema::Port#curr
3389
+ #: ../ruby/trema/port.c:168
3390
+ msgid "The port's current features as a 32-bit bitmap."
3391
+ msgstr ""
3392
+
3393
+ # @return [Number]
3394
+ #: ../ruby/trema/port.c:172
3395
+ msgid "the value of curr."
3396
+ msgstr ""
3397
+
3398
+ # Trema::Port#advertised
3399
+ #: ../ruby/trema/port.c:179
3400
+ msgid "The port's advertised features as a 32-bit bitmap."
3401
+ msgstr ""
3402
+
3403
+ # @return [Number]
3404
+ #: ../ruby/trema/port.c:183
3405
+ msgid "the value of advertised."
3406
+ msgstr ""
3407
+
3408
+ # Trema::Port#supported
3409
+ #: ../ruby/trema/port.c:190
3410
+ msgid "The port's supported features as a 32-bit bitmap."
3411
+ msgstr ""
3412
+
3413
+ # @return [Number]
3414
+ #: ../ruby/trema/port.c:194
3415
+ msgid "the value of supported."
3416
+ msgstr ""
3417
+
3418
+ # Trema::Port#peer
3419
+ #: ../ruby/trema/port.c:201
3420
+ msgid ""
3421
+ "The features advertised by the peer connected to the port as a 32-bit bitmap."
3422
+ msgstr ""
3423
+
3424
+ # @return [Number]
3425
+ #: ../ruby/trema/port.c:205
3426
+ msgid "the value of peer."
3427
+ msgstr ""
3428
+
3429
+ # Trema::Port#up?
3430
+ #: ../ruby/trema/port.c:212
3431
+ msgid "Tests if the port is up."
3432
+ msgstr ""
3433
+
3434
+ # @return [Boolean]
3435
+ #: ../ruby/trema/port.c:216
3436
+ msgid "true if port is up otherwise false."
3437
+ msgstr ""
3438
+
3439
+ # Trema::Port#down?
3440
+ #: ../ruby/trema/port.c:231
3441
+ msgid "Tests if the port is down."
3442
+ msgstr ""
3443
+
3444
+ # @return [Boolean]
3445
+ #: ../ruby/trema/port.c:235
3446
+ msgid "true if port is down otherwise false."
3447
+ msgstr ""
3448
+
3449
+ # Trema::Port#<=>
3450
+ #: ../ruby/trema/port.c:242
3451
+ msgid "Compares two ports by substracting their unique numbers."
3452
+ msgstr ""
3453
+
3454
+ # @return [Number]
3455
+ #: ../ruby/trema/port.c:246
3456
+ msgid "the result of the substraction. Zero ports are equal."
3457
+ msgstr ""
3458
+
3459
+ # @return [Process]
3460
+ #: ../ruby/trema/process.rb:31
3461
+ msgid "a new instance of Process"
3462
+ msgstr ""
3463
+
3464
+ # Trema::QueueGetConfigReply#initialize
3465
+ #: ../ruby/trema/queue-get-config-reply.c:30
3466
+ msgid ""
3467
+ "A reply instance of {QueueGetConfigReply} constructed when\n"
3468
+ "+OFPT_QUEUE_GET_CONFIG_REPLY+ message received."
3469
+ msgstr ""
3470
+
3471
+ # Trema::QueueGetConfigReply#queues
3472
+ #: ../ruby/trema/queue-get-config-reply.c:102
3473
+ msgid ""
3474
+ "An array of {PacketQueue} objects. A packet queue is further classified\n"
3475
+ "depending on its properties. Currently only a minimum-rate type queue\n"
3476
+ "supported."
3477
+ msgstr ""
3478
+
3479
+ # @return [Array<PacketQueue>]
3480
+ #: ../ruby/trema/queue-get-config-reply.c:108
3481
+ msgid "the value of queues."
3482
+ msgstr ""
3483
+
3484
+ # Trema::QueueGetConfigRequest#initialize
3485
+ #: ../ruby/trema/queue-get-config-request.c:38
3486
+ msgid ""
3487
+ "Request message to retrieve configuration about a queue port setting that\n"
3488
+ "quantifies a QoS.\n"
3489
+ "Each flow entry contains a queue that a flow is mapped to set constraints "
3490
+ "to\n"
3491
+ "define some restriction like maximum/minimum data rate."
3492
+ msgstr ""
3493
+
3494
+ # Trema::QueueStatsReply#initialize
3495
+ #: ../ruby/trema/queue-stats-reply.rb:31
3496
+ msgid ""
3497
+ "Queue statistics for a port.\n"
3498
+ "A user would not explicitly instantiate a {QueueStatsReply} object but\n"
3499
+ "would be created as a result of parsing the +OFPT_STATS_REPLY(OFPST_QUEUE)+\n"
3500
+ "message."
3501
+ msgstr ""
3502
+
3503
+ # @return [QueueStatsReply]
3504
+ #: ../ruby/trema/queue-stats-reply.rb:67
3505
+ msgid "a new instance of QueueStatsReply"
3506
+ msgstr ""
3507
+
3508
+ # @return [RubySwitch]
3509
+ #: ../ruby/trema/ruby-switch.rb:28
3510
+ msgid "a new instance of RubySwitch"
3511
+ msgstr ""
3512
+
3513
+ # Trema::SetConfig#initialize
3514
+ #: ../ruby/trema/set-config.c:38
3515
+ msgid ""
3516
+ "A {SetConfig} object instance represents a set of attributes which allow\n"
3517
+ "tuning the behavior of the openflow protocol in some way."
3518
+ msgstr ""
3519
+
3520
+ # Trema::SetConfig#flags
3521
+ #: ../ruby/trema/set-config.c:122
3522
+ msgid ""
3523
+ "A 2-bit value that can be set to indicate no special handling, drop or "
3524
+ "reassemble\n"
3525
+ "IP fragments."
3526
+ msgstr ""
3527
+
3528
+ # Trema::StatsHelper#initialize
3529
+ #: ../ruby/trema/stats-helper.rb:26
3530
+ msgid ""
3531
+ "Invoked by each StatsReply subclass to assign their instance attributes \n"
3532
+ "to a value."
3533
+ msgstr ""
3534
+
3535
+ # @param [Array] fields
3536
+ #: ../ruby/trema/stats-helper.rb:38
3537
+ msgid "an array of attribute names."
3538
+ msgstr ""
3539
+
3540
+ # @param [Hash] options
3541
+ #: ../ruby/trema/stats-helper.rb:38
3542
+ msgid "key/value pairs of attributes to match against the fields to set."
3543
+ msgstr ""
3544
+
3545
+ # @param [Array]
3546
+ #: ../ruby/trema/stats-helper.rb:38
3547
+ msgid "tag|param|fields"
3548
+ msgstr ""
3549
+
3550
+ # @return [String]
3551
+ #: ../ruby/trema/stats-helper.rb:49
3552
+ msgid "an alphabetically sorted text of attribute name/value pairs."
3553
+ msgstr ""
3554
+
3555
+ # Trema::StatsReply#initialize
3556
+ #: ../ruby/trema/stats-reply.c:32
3557
+ msgid ""
3558
+ "A {StatsReply} instance that encapsulates the header part of the\n"
3559
+ "+OFPT_STATS_REPLY+ message. The body of the reply message may be an array\n"
3560
+ "of one or more specific reply objects designated by the type.\n"
3561
+ "The user would not instantiate stats. reply objects explicitly, the stats.\n"
3562
+ "reply handler would normally do that while parsing the message."
3563
+ msgstr ""
3564
+
3565
+ # @return [StatsReply]
3566
+ #: ../ruby/trema/stats-reply.c:69
3567
+ msgid "an object that encapsulates the +OFPT_STATS_REPLY+ openflow message."
3568
+ msgstr ""
3569
+
3570
+ # Trema::StatsReply#type
3571
+ #: ../ruby/trema/stats-reply.c:99
3572
+ msgid "The type of this reply."
3573
+ msgstr ""
3574
+
3575
+ # Trema::StatsReply#flags
3576
+ #: ../ruby/trema/stats-reply.c:110
3577
+ msgid "Flag that indicates if more reply message(s) expected to follow."
3578
+ msgstr ""
3579
+
3580
+ # Trema::StatsReply#stats
3581
+ #: ../ruby/trema/stats-reply.c:121
3582
+ msgid "A list of reply type objects for this message."
3583
+ msgstr ""
3584
+
3585
+ # @return [AggregateStatsReply]
3586
+ #: ../ruby/trema/stats-reply.c:136
3587
+ msgid "a {AggregateStatsReply} object if type is +OFPST_AGGREGATE+."
3588
+ msgstr ""
3589
+
3590
+ # @return [VendorStatsReply]
3591
+ #: ../ruby/trema/stats-reply.c:136
3592
+ msgid "a {VendorStatsReply} object if type is +OFPST_VENDOR+."
3593
+ msgstr ""
3594
+
3595
+ # @return [Array<FlowStatsReply>]
3596
+ #: ../ruby/trema/stats-reply.c:136
3597
+ msgid "an array of {FlowStatsReply} objects if type is +OFPST_FLOW+."
3598
+ msgstr ""
3599
+
3600
+ # @return [Array<PortStatsReply>]
3601
+ #: ../ruby/trema/stats-reply.c:136
3602
+ msgid "an array of {PortStatsReply} objects if type is +OFPST_PORT+."
3603
+ msgstr ""
3604
+
3605
+ # @return [Array<QueueStatsReply>]
3606
+ #: ../ruby/trema/stats-reply.c:136
3607
+ msgid "an array of {QueueStatsReply} objects if type is +OFPST_QUEUE+."
3608
+ msgstr ""
3609
+
3610
+ # @return [Array<TableStatsReply>]
3611
+ #: ../ruby/trema/stats-reply.c:136
3612
+ msgid "an array of {TableStatsReply} objects if type is +OFPST_TABLE+."
3613
+ msgstr ""
3614
+
3615
+ # @return [SwitchDaemon]
3616
+ #: ../ruby/trema/switch-daemon.rb:25
3617
+ msgid "a new instance of SwitchDaemon"
3618
+ msgstr ""
3619
+
3620
+ # Trema::SwitchManager
3621
+ #: ../ruby/trema/switch-manager.rb:29
3622
+ msgid "The controller class of switch_manager"
3623
+ msgstr ""
3624
+
3625
+ # Trema::SwitchManager#rule=
3626
+ # Trema::SwitchManager#rule
3627
+ #: ../ruby/trema/switch-manager.rb:40
3628
+ msgid "Event forwarding rule"
3629
+ msgstr ""
3630
+
3631
+ # @example
3632
+ #: ../ruby/trema/switch-manager.rb:47
3633
+ msgid ""
3634
+ "switch_manager.rule => { :port_status => \"topology manager\", :packet_in => "
3635
+ "\"controller\", :state_notify => \"topology manager\" }"
3636
+ msgstr ""
3637
+
3638
+ # Trema::SwitchManager#no_flow_cleanup=
3639
+ # Trema::SwitchManager#no_flow_cleanup
3640
+ #: ../ruby/trema/switch-manager.rb:51
3641
+ msgid "Do not cleanup the flow table of switches on startup"
3642
+ msgstr ""
3643
+
3644
+ # @example
3645
+ #: ../ruby/trema/switch-manager.rb:58
3646
+ msgid "switch_manager.no_flow_cleanup = true"
3647
+ msgstr ""
3648
+
3649
+ # Trema::SwitchManager#initialize
3650
+ #: ../ruby/trema/switch-manager.rb:62
3651
+ msgid "Creates a switch manager controller"
3652
+ msgstr ""
3653
+
3654
+ # @example
3655
+ #: ../ruby/trema/switch-manager.rb:70
3656
+ msgid ""
3657
+ "rule = { :port_status => \"topology manager\", :packet_in => \"controller"
3658
+ "\", :state_notify => \"topology manager\", :vendor => \"controller\" }\n"
3659
+ "switch_manager = Trema::SwitchManager.new( rule )"
3660
+ msgstr ""
3661
+
3662
+ # Trema::SwitchManager#name
3663
+ #: ../ruby/trema/switch-manager.rb:79
3664
+ msgid "Returns the name of switch manager"
3665
+ msgstr ""
3666
+
3667
+ # @example
3668
+ #: ../ruby/trema/switch-manager.rb:86
3669
+ msgid "switch_maanger.name => \"switch manager\""
3670
+ msgstr ""
3671
+
3672
+ # Trema::Switch#dpid
3673
+ # Trema::Switch#datapath_id
3674
+ #: ../ruby/trema/switch.rb:22 ../ruby/trema/switch.rb:23
3675
+ msgid "Returns the value of attribute dpid"
3676
+ msgstr ""
3677
+
3678
+ # @return [Switch]
3679
+ #: ../ruby/trema/switch.rb:30
3680
+ msgid "a new instance of Switch"
3681
+ msgstr ""
3682
+
3683
+ # Trema::TableStatsReply#initialize
3684
+ #: ../ruby/trema/table-stats-reply.rb:31
3685
+ msgid ""
3686
+ "Information about tables that a switch supports. A switch may choose to\n"
3687
+ "maintain a single table that can store both wildcard and exact match flows.\n"
3688
+ "Or may use separate tables for each flow type.\n"
3689
+ "A user would not explicitly instantiate a {TableStatsReply} object but "
3690
+ "would\n"
3691
+ "be created as a result of parsing the +OFPT_STATS_REPLY(OFPST_TABLE)+ "
3692
+ "message."
3693
+ msgstr ""
3694
+
3695
+ # @return [TableStatsReply]
3696
+ #: ../ruby/trema/table-stats-reply.rb:76
3697
+ msgid "a new instance of TableStatsReply"
3698
+ msgstr ""
3699
+
3700
+ # Timers::TimerMethods#add_periodic_timer_event
3701
+ # Timers::TimerMethods#periodic_timer_event
3702
+ #: ../ruby/trema/timers.rb:74 ../ruby/trema/timers.rb:78
3703
+ msgid "shortcut methods"
3704
+ msgstr ""
3705
+
3706
+ # Trema::VendorStatsReply#initialize
3707
+ #: ../ruby/trema/vendor-stats-reply.rb:31
3708
+ msgid ""
3709
+ "Vendor statistics reply.\n"
3710
+ "A user would not explicitly instantiate a {VendorStatsReply} object but "
3711
+ "would\n"
3712
+ "be created as a result of parsing the +OFPT_STATS_REPLY(OFPST_VENDOR)+\n"
3713
+ "openflow message."
3714
+ msgstr ""
3715
+
3716
+ # @return [VendorStatsReply]
3717
+ #: ../ruby/trema/vendor-stats-reply.rb:51
3718
+ msgid "a new instance of VendorStatsReply"
3719
+ msgstr ""
3720
+
3721
+ # Trema::Vendor#initialize
3722
+ #: ../ruby/trema/vendor.c:36
3723
+ #, fuzzy
3724
+ msgid ""
3725
+ "Creates a Vendor Reqeust message. This message can be used\n"
3726
+ "to facilitate sending of vendor-defined arbitrary data."
3727
+ msgstr "VendorRequest メッセージを生成します。"
3728
+
3729
+ # @raise [TypeError]
3730
+ #: ../ruby/trema/vendor.c:67
3731
+ msgid "if options is not a hash."
3732
+ msgstr ""
3733
+
3734
+ # @raise [ArgumentError]
3735
+ #: ../ruby/trema/vendor.c:67
3736
+ msgid "if user data is not an array of bytes."
3737
+ msgstr ""
3738
+
3739
+ # Trema::Vendor#vendor
3740
+ #: ../ruby/trema/vendor.c:140
3741
+ msgid "A 32-bit value that uniquely identifies the vendor."
3742
+ msgstr ""
3743
+
3744
+ # @return [Number]
3745
+ #: ../ruby/trema/vendor.c:144
3746
+ msgid "the value of vendor id."
3747
+ msgstr ""
3748
+
3749
+ # Trema::Vendor#data
3750
+ #: ../ruby/trema/vendor.c:154
3751
+ msgid "Vendor specific data payload."
3752
+ msgstr ""
3753
+
3754
+ # @return [Array]
3755
+ #: ../ruby/trema/vendor.c:159
3756
+ msgid "an array of data payload bytes."
3757
+ msgstr ""
3758
+
3759
+ # @return [nil]
3760
+ #: ../ruby/trema/vendor.c:159
3761
+ msgid "vendor specific data not found."
3762
+ msgstr ""