Project

General

Profile

機能 #3386

② ネームサービス操作関数セットの実装

Added by n-ando almost 6 years ago. Updated about 4 years ago.

Status:
担当
Priority:
通常
Assignee:
Start date:
12/11/2015
Due date:
% Done:

100%

Estimated time:

Description

ネームサービスにコンポーネント内部から、あるいはマネージャの拡張モジュールなどからアクセスし、登録されているRTCを取得する仕組みを実装する。

Associated revisions

Revision 1035 (diff)
Added by t-katami about 4 years ago

[compat,bugfix,->releng_1_2] Fixed the bugs of the rtcname form. refs #3386

Revision 1036 (diff)
Added by t-katami about 4 years ago

[compat,bugfix,->releng_1_2] Fixed bugs of the rtcloc form. refs #3386

History

#1 Updated by katami about 4 years ago

  • Status changed from 新規 to 担当
  • Assignee set to win-ei
  • Target version set to RELEASE_1_2_0

動作確認

ConsoleIn と ConsoleOut でテスト
rtcname形式とrtcloc形式で preactivation でRTCを指定してアクティベイトしているか確認する。
  1. ConsoleOut起動
    $ ./ConsoleOut.sh -d -o naming.type:corba,manager -o naming.formats:test.host_cxt/%n.rtc  -o logger.enable:NO
    
  2. ConsoleIn起動(ConsoleOutをpreactivate)
  3. ConsoleOutの確認(activateであることを確認)
    $ rtls localhost/test.host_cxt/ConsoleOut0.rtc -l
    Active  1/0  1/0  0/0  0/0  ConsoleOut0.rtc
    

rtcname形式

ネームサーバのポートは2809
  • rtcname://localhost:2809/test.host_cxt/ConsoleOut0
    ConsoleIn起動(ConsoleOutをpreactivate)
    $ ./ConsoleIn.sh -o naming.type:corba,manager -o naming.formats:test.host_cxt/%n.rtc -o manager.components.preactivation:rtcname://localhost:2809/test.host_cxt/ConsoleOut0
    
  • rtcname://*/test.host_cxt/ConsoleOut0
    ConsoleIn起動(ConsoleOutをpreactivate)
    $ ./ConsoleIn.sh -o naming.type:corba,manager -o naming.formats:test.host_cxt/%n.rtc -o manager.components.preactivation:rtcname://*/test.host_cxt/ConsoleOut0
    
  • rtcname://localhost/test.host_cxt/ConsoleOut0
    ConsoleIn起動(ConsoleOutをpreactivate)
    ./ConsoleIn.sh -o naming.type:corba,manager -o naming.formats:test.host_cxt/%n.rtc -o manager.components.preactivation:rtcname://localhost/test.host_cxt/ConsoleOut0
    
  • rtcname://*/*/ConsoleOut0
    ConsoleIn起動(ConsoleOutをpreactivate)
    ./ConsoleIn.sh -o naming.type:corba,manager -o naming.formats:test.host_cxt/%n.rtc -o manager.components.preactivation:rtcname://*/*/ConsoleOut0
    

rtcloc形式

マネージャーのポートは2810
  • rtcloc://localhost:2810/example/ConsoleOut0
    ./ConsoleIn.sh -o naming.type:corba,manager -o naming.formats:test.host_cxt/%n.rtc -o manager.components.preactivation:rtcloc://localhost:2810/example/ConsoleOut0
    
  • rtcloc://localhost:2810/*/ConsoleOut0
    ./ConsoleIn.sh -o naming.type:corba,manager -o naming.formats:test.host_cxt/%n.rtc -o manager.components.preactivation:rtcloc://localhost:2810/*/ConsoleOut0
    
  • rtcloc://localhost/example/ConsoleOut0
    ./ConsoleIn.sh -o naming.type:corba,manager -o naming.formats:test.host_cxt/%n.rtc -o manager.components.preactivation:rtcloc://localhost/example/ConsoleOut0
    
  • rtcloc://localhost/*/ConsoleOut0
    ./ConsoleIn.sh -o naming.type:corba,manager -o naming.formats:test.host_cxt/%n.rtc -o manager.components.preactivation:rtcloc://localhost/*/ConsoleOut0
    
  • rtcloc://*/example/ConsoleOut0
    ./ConsoleIn.sh -o naming.type:corba,manager -o naming.formats:test.host_cxt/%n.rtc -o manager.components.preactivation:rtcloc://*/example/ConsoleOut0
    
  • rtcloc://*/*/ConsoleOut0
    ./ConsoleIn.sh -o naming.type:corba,manager -o naming.formats:test.host_cxt/%n.rtc -o manager.components.preactivation:rtcloc://*/*/ConsoleOut0
    

#2 Updated by katami about 4 years ago

  • % Done changed from 0 to 50

#3 Updated by katami about 4 years ago

  • % Done changed from 50 to 100

Also available in: Atom PDF