JP6737397B2 - Control program, control method and control device - Google Patents
Control program, control method and control device Download PDFInfo
- Publication number
- JP6737397B2 JP6737397B2 JP2019506861A JP2019506861A JP6737397B2 JP 6737397 B2 JP6737397 B2 JP 6737397B2 JP 2019506861 A JP2019506861 A JP 2019506861A JP 2019506861 A JP2019506861 A JP 2019506861A JP 6737397 B2 JP6737397 B2 JP 6737397B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- registered
- port
- status
- registration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Description
本発明は、制御プログラム、制御方法及び制御装置に関する。 The present invention relates to a control program, a control method and a control device.
SDN(Software-Defined Networking)などの技術を利用して、企業システムのネットワークに対する各種の設定や障害の通知などの機能をGUI(Graphical User Interface)環境で提供できるネットワーク管理システムが提供されている。 2. Description of the Related Art A network management system that can provide various settings for a network of a corporate system and notification of a failure in a GUI (Graphical User Interface) environment by using a technology such as SDN (Software-Defined Networking) is provided.
GUI環境は、一例として、監視対象とするネットワークの接続形態が模式化されたトポロジマップを表示することにより実現できる。このため、ネットワーク管理システムがGUI環境で機能を提供するには、ネットワークデバイスに関する情報、例えばIP(Internet Protocol)アドレスやポートのインタフェース名などのデバイス登録が条件となる。さらに、デバイス登録は、ネットワークデバイスから収集されたインタフェース名等をネットワーク管理システムに反映することにより実現されるので、ネットワーク管理システム及びネットワークデバイスの間の疎通が成立することも条件となる。 The GUI environment can be realized by, for example, displaying a topology map in which a connection form of a network to be monitored is schematically illustrated. Therefore, in order for the network management system to provide a function in the GUI environment, information about the network device, for example, device registration such as an IP (Internet Protocol) address and an interface name of a port is a condition. Further, the device registration is realized by reflecting the interface name and the like collected from the network device on the network management system, so that the communication between the network management system and the network device is also a condition.
ところが、ネットワークの構築時には、現場に実機が届くのが予定よりも遅れる事態が起こり得る。また、SE(System Engineer)等の作業者が現場とは別の場所にいる場合でもトポロジマップの作成を行うことにより作業効率を高めたい場面がある。 However, when the network is constructed, it may happen that the actual machine arrives at the site later than planned. In addition, even when an operator such as an SE (System Engineer) is in a place different from the site, there is a scene in which the work efficiency is desired to be improved by creating the topology map.
しかしながら、事前にデバイス登録を行う場合、実機が配備される前および後で行われるデバイス登録の内容のいずれかに誤りが生じる場合がある。この場合、両者の内容の間で整合性がとれず、トポロジマップの表示と実際のネットワークの接続状態の間にも矛盾が生じ、トポロジマップの表示により提供される各種の設定や障害の通知等などが正常に機能しない事態に陥る可能性がある。 However, when the device registration is performed in advance, an error may occur in the content of the device registration performed before or after the actual device is deployed. In this case, there is inconsistency between the contents of both, and there is a contradiction between the display of the topology map and the actual connection status of the network. There is a possibility that it will fall into a situation where it does not function normally.
1つの側面では、本発明は、実機配備前のデバイス登録を実現できる制御プログラム、制御方法及び制御装置を提供することを目的とする。 In one aspect, an object of the present invention is to provide a control program, a control method, and a control device that can realize device registration before deployment of an actual machine.
一態様では、制御プログラムは、監視対象のネットワークに含まれる装置に対して割り当てるIPアドレスを登録するとともに、前記装置に含まれるポートの識別情報を第1のステータスとして登録し、登録した前記IPアドレスを用いて前記装置に対して前記装置に関する設定情報の送信依頼を送信して、前記装置から前記設定情報を受信した場合、前記設定情報に登録した前記装置のポートの識別情報が含まれるか否かを判定し、判定した結果、前記設定した設定情報に、登録した前記識別情報がすべて含まれている場合には、前記識別情報の第1のステータスから第2のステータスに変更して登録し、前記設定した設定情報に、登録した前記識別情報の一部が含まれない場合には、含まれない識別情報に関するポートに対応するエラーを出力する、処理をコンピュータに実行させる。 In one aspect, the control program registers an IP address to be assigned to a device included in a monitored network, registers identification information of a port included in the device as a first status, and registers the registered IP address. When a request to send setting information about the device is sent to the device by using, and the setting information is received from the device, whether or not the identification information of the port of the device registered in the setting information is included. If it is determined that all the registered identification information is included in the set setting information, the first status of the identification information is changed to the second status and registered. When the set setting information does not include a part of the registered identification information, the computer is caused to execute a process of outputting an error corresponding to a port relating to the identification information not included.
実機配備前のデバイス登録を実現できる。 Device registration before actual deployment can be realized.
以下に添付図面を参照して本願に係る制御プログラム、制御方法及び制御装置について説明する。なお、この実施例は開示の技術を限定するものではない。そして、各実施例は、処理内容を矛盾させない範囲で適宜組み合わせることが可能である。 A control program, a control method, and a control device according to the present application will be described below with reference to the accompanying drawings. Note that this embodiment does not limit the disclosed technology. Then, the respective embodiments can be appropriately combined within the range in which the processing contents do not contradict each other.
[システム構成]
図1は、実施例1に係るネットワーク管理システムの構成例を示す図である。図1に示すネットワーク管理システム1は、企業システム等の監視対象システム3に構築されるネットワークNWに関する設定をGUI環境で実現するネットワーク管理サービスを提供するものである。このネットワーク管理サービスの一環として、ネットワーク管理システム1は、ネットワークデバイスの実機が配備された後に行われるデバイス登録との間で矛盾が発生するのを抑制するデバイス登録の制御処理により、実機配備前のデバイス登録を実現する。[System configuration]
FIG. 1 is a diagram illustrating a configuration example of the network management system according to the first embodiment. A
図1に示すように、ネットワーク管理システム1には、監視対象システム3と、ネットワーク管理装置10と、クライアント端末50とが含まれる。この監視対象システム3には、ネットワークデバイス30A〜30Cが収容される。以下では、ネットワークデバイス30A〜30Cのことを総称する場合に「ネットワークデバイス30」と記載する場合がある。
As shown in FIG. 1, the
図1には、あくまで一例として、監視対象システム3に3つのネットワークデバイス30が収容される例を示したが、任意の数のネットワークデバイスが収容されることとしてもよい。さらに、図1には、ネットワークNWに接続される装置として、ネットワーク管理装置10及びネットワークデバイス30を示したが、これ以外の他の装置がネットワークNWに接続されることを妨げず、また、ネットワークデバイス30にも他の装置が接続されることとしてもかまわない。
FIG. 1 shows an example in which three network devices 30 are accommodated in the monitored
ネットワーク管理装置10は、上記のネットワーク管理サービスを提供するコンピュータである。このネットワーク管理装置10は、監視装置の一例である。
The
一実施形態として、ネットワーク管理装置10は、上記のネットワーク管理サービスを実現するパッケージソフトウェアやオンラインソフトウェアを所望のコンピュータにインストールさせることによってSDN(Software-Defined Networking)コントローラとして実装できる。このネットワーク管理装置10は、ネットワークNWの一例として、IP−VPN(Internet Protocol Virtual Private Network)や広域イーサネット(登録商標)などのキャリアイーサネットの監視、設定や制御などを含む管理を実行することができる。このようにネットワーク管理装置10により管理されるネットワークNWは、物理ネットワークに限定されず、SDNやNFV(Network Function Virtualization)などの技術により仮想化された仮想ネットワークであってもよい。
As one embodiment, the
ネットワークデバイス30は、監視対象システム3のネットワークNWを形成する装置である。このネットワークデバイス30には、一例として、ルータやスイッチなどのデータ転送装置を始め、ファイアーウォール、ロードバランサなどを採用することができる。
The network device 30 is a device that forms the network NW of the monitored
クライアント端末50は、上記のネットワーク管理サービスの提供を受けるコンピュータである。このクライアント端末50は、一例として、ネットワークNWを管理するネットワーク管理者等の関係者により使用される。ここで、上記のネットワーク管理サービスの提供により、クライアント端末50は、必ずしもtelnetやSSH(Secure SHell)の動作環境を有さずともかまわない。このため、クライアント端末50には、汎用のブラウザの動作環境を有する任意のコンピュータを採用することができる。 The client terminal 50 is a computer that receives the above network management service. The client terminal 50 is used, for example, by a person concerned such as a network administrator who manages the network NW. Here, the client terminal 50 does not necessarily have to have an operating environment of telnet or SSH (Secure SHell) by providing the network management service. Therefore, any computer having a general-purpose browser operating environment can be adopted as the client terminal 50.
[ネットワーク管理装置10の構成]
図2は、実施例1に係るネットワーク管理装置10の機能的構成を示すブロック図である。図2に示すように、ネットワーク管理装置10は、通信I/F(interface)部11と、記憶部13と、制御部15とを有する。なお、ネットワーク管理装置10は、図2に示した機能部以外にも既知のコンピュータが有する各種の機能部、例えば各種の入力デバイスや音声出力デバイスなどの機能部を有することとしてもかまわない。[Configuration of Network Management Device 10]
FIG. 2 is a block diagram of the functional configuration of the
通信I/F部11は、他の装置、例えばネットワークデバイス30やクライアント端末50との間で通信制御を行うインタフェースである。 The communication I/F unit 11 is an interface that controls communication with other devices such as the network device 30 and the client terminal 50.
一実施形態として、通信I/F部11は、LAN(Local Area Network)カードなどのネットワークインタフェースカードを採用できる。例えば、通信I/F部11は、各種のコマンドをネットワークデバイス30へ送信したり、ネットワークデバイス30からネットワークデバイス30が記憶するConfig情報やMIB(Management Information Base)の全部またはその一部を受信したりする。また、通信I/F部11は、クライアント端末50からネットワークデバイス30の登録やネットワークの設定に対する操作入力などを受け付けたり、ネットワークNWの接続形態が模式化されたトポロジマップを含むウィンドウなどをクライアント端末50へ送信したりする。 As an embodiment, the communication I/F unit 11 can employ a network interface card such as a LAN (Local Area Network) card. For example, the communication I/F unit 11 transmits various commands to the network device 30 and receives from the network device 30 all or part of Config information and MIB (Management Information Base) stored in the network device 30. Or In addition, the communication I/F unit 11 accepts registration of the network device 30 and operation input for network setting from the client terminal 50, and a window including a topology map in which the connection form of the network NW is schematic is displayed on the client terminal 50. Or send it to 50.
記憶部13は、制御部15で実行されるOS(Operating System)を始め、上記のネットワーク管理サービスを実現するネットワーク管理プログラムなどの各種プログラムに用いられるデータを記憶する記憶デバイスである。
The
一実施形態として、記憶部13は、ネットワーク管理装置10における補助記憶装置として実装することができる。例えば、記憶部13には、HDD(Hard Disk Drive)、光ディスクやSSD(Solid State Drive)などを採用できる。なお、記憶部13は、必ずしも補助記憶装置として実装されずともよく、ネットワーク管理装置10における主記憶装置として実装することもできる。この場合、記憶部13には、各種の半導体メモリ素子、例えばRAM(Random Access Memory)やフラッシュメモリを採用できる。
As an embodiment, the
記憶部13は、制御部15で実行されるプログラムに用いられるデータの一例として、トポロジ情報13aを記憶する。このトポロジ情報13a以外にも、他の電子データを併せて記憶することもできる。例えば、記憶部13には、ネットワーク管理者等のユーザの権限を管理するために、ユーザごとに設定操作や閲覧を許可するネットワークデバイス30またはネットワークデバイス30のグループが規定されたユーザ権限情報なども記憶することができる。
The
トポロジ情報13aは、ネットワークNWの接続形状に関する情報である。このトポロジ情報13aには、デバイス情報13a1、ポート情報13a2、リンク情報13a3及び登録ステータス情報13a4などが含まれる。 The topology information 13a is information regarding the connection shape of the network NW. The topology information 13a includes device information 13a1, port information 13a2, link information 13a3, registration status information 13a4, and the like.
このうち、デバイス情報13a1には、ネットワークデバイス30に関する情報が定義される。例えば、デバイス情報13a1には、デバイスID、デバイス名、IPアドレス及び表示位置などの項目が対応付けられたデータを採用できる。ここで言う「デバイスID」とは、ネットワークデバイス30を識別する識別情報を指す。また、「デバイス名」とは、ネットワークデバイス30に定義された名称を指す。また、「IPアドレス」は、言葉通りの意味であるが、ここでは、デバイスIDを持つネットワークデバイス30に割り当てられたIPアドレスを指し、例えば、ネットワークNWの構築時にSE等により設定される。また、「表示位置」とは、トポロジマップ上で表示される位置を指し、例えば、ネットワークデバイス30が模式化されたアイコンの基準点、例えば重心や頂点がトポロジマップ上で配置される座標が登録される。なお、ここでは、ネットワークデバイス30を定義する項目の一例として、デバイス名やIPアドレスを例示したが、この他にもネットワークデバイス30へのSSH接続のログインに用いるユーザ名、パスワードや管理者パスワードなどの他の項目をデバイス情報13a1にさらに含めることもできる。 Of these, the device information 13a1 defines information about the network device 30. For example, the device information 13a1 may be data associated with items such as a device ID, a device name, an IP address, and a display position. The “device ID” mentioned here refers to identification information for identifying the network device 30. The “device name” refers to the name defined in the network device 30. Further, the “IP address” has a literal meaning, but here refers to the IP address assigned to the network device 30 having the device ID, and is set by SE or the like when the network NW is constructed. In addition, the “display position” refers to a position displayed on the topology map, and for example, the reference point of the icon of the network device 30, for example, the coordinates at which the center of gravity or the vertex is arranged on the topology map are registered. To be done. Note that, here, the device name and the IP address are illustrated as an example of the items that define the network device 30, but in addition to this, a user name, a password, an administrator password, and the like used for login of the SSH connection to the network device 30. Other items may be further included in the device information 13a1.
また、ポート情報13a2には、ネットワークデバイス30が有するポートに関する情報が定義される。例えば、ポート情報13a2には、デバイスID、ポートID、表示番号、インタフェース名、untag VLAN(Virtual LAN) ID及びなどの項目が対応付けられたデータを採用できる。ここで言う「デバイスID」は、デバイス情報13a1に含まれるデバイスIDと同様に、ネットワークデバイス30の識別情報を指すが、ここでは、ポートIDで識別されるポートを有するネットワークデバイス30のことを意味する。また、「ポートID」とは、ネットワークデバイス30が有するポートを識別する識別情報を指す。また、「表示番号」とは、トポロジマップ上でポートが展開表示されるときの番号を指す。また、「インタフェース名」とは、ポートに定義されたインタフェースの名称を指す。また、「untag VLAN ID」とは、アクセスポートに設定されるVLAN IDを指す。すなわち、スタティックVLAN、いわゆるポートベースVLANが設定された場合、アクセスポートに設定されるVLAN IDが記述される。また、「tag VLAN ID」とは、トランクポートに設定されるVLAN IDを指す。すなわち、タグVLANがポートに設定された場合、トランクポートに設定される1または複数のVLAN IDが記述される。 Further, in the port information 13a2, information regarding the port included in the network device 30 is defined. For example, the port information 13a2 can employ data in which items such as a device ID, a port ID, a display number, an interface name, and an untag VLAN (Virtual LAN) ID are associated. The “device ID” mentioned here refers to the identification information of the network device 30 like the device ID included in the device information 13a1, but here it means the network device 30 having the port identified by the port ID. To do. Further, the “port ID” refers to identification information that identifies a port included in the network device 30. The "display number" refers to the number when the port is expanded and displayed on the topology map. The "interface name" refers to the name of the interface defined in the port. The "untag VLAN ID" refers to the VLAN ID set in the access port. That is, when a static VLAN, that is, a so-called port-based VLAN is set, the VLAN ID set in the access port is described. The "tag VLAN ID" refers to the VLAN ID set in the trunk port. That is, when the tag VLAN is set in the port, one or more VLAN IDs set in the trunk port are described.
また、リンク情報13a3は、ネットワークデバイス30のポート間を接続するリンクに関する情報が定義される。例えば、リンク情報13a3には、リンクID、デバイスID1、ポートID1、デバイスID2及びポートID2などの項目が対応付けられたデータを採用できる。ここで言う「リンクID」とは、リンクを識別する識別情報を指す。また、「ポートID1」及び「ポートID2」は、ポート情報13a2に含まれるポートIDと同様に、ポートの識別情報を指すが、ここでは、リンクIDで識別されるリンクを接続する2つのポートの識別情報を意味する。さらに、「デバイスID1」及び「デバイスID2」は、デバイス情報13a1に含まれるデバイスIDと同様に、ネットワークデバイス30の識別情報を指すが、ここでは、ポートID1で識別されるポートを有するネットワークデバイス30の識別情報と、ポートID2で識別されるポートを有するネットワークデバイス30の識別情報のことを意味する。このように、リンク情報13a3には、デバイス情報13bに含まれるポートの中でも、結線済みのポートまたはリンクアップ後のポートが登録される。 Further, the link information 13a3 defines information about a link connecting ports of the network device 30. For example, the link information 13a3 can employ data in which items such as a link ID, a device ID1, a port ID1, a device ID2, and a port ID2 are associated with each other. The "link ID" referred to here is identification information that identifies a link. Further, “port ID1” and “port ID2” indicate the identification information of the port, like the port ID included in the port information 13a2, but here, of the two ports connecting the link identified by the link ID. Means identification information. Further, “device ID1” and “device ID2” refer to the identification information of the network device 30 like the device ID included in the device information 13a1, but here, the network device 30 having a port identified by the port ID1. And the identification information of the network device 30 having the port identified by the port ID2. In this way, in the link information 13a3, among the ports included in the device information 13b, the connected port or the port after linkup is registered.
登録ステータス情報13a4は、ネットワークデバイス30の登録ステータスに関する情報が定義される。 The registration status information 13a4 defines information related to the registration status of the network device 30.
ここで、本実施例では、ネットワークデバイス30の実機配備前においても、ネットワークデバイス30に関するデータ登録を認める。以下では、ネットワークデバイス30に関するデータ登録のことを「デバイス登録」と記載する場合がある。 Here, in the present embodiment, data registration regarding the network device 30 is permitted even before the actual deployment of the network device 30. Hereinafter, the data registration regarding the network device 30 may be referred to as “device registration”.
このように実機配備前のデバイス登録を認める場合、デバイス登録は、実機配備前のタイミングと、実機配備後に実機からtelnetやSSHなどのコマンドを用いてインタフェース、VLANや障害などの各種の情報が収集されるタイミングとの2つのタイミングで実施される。このうち、前者のタイミングでデバイス登録が行われたデータのことを第1のステータスと記載し、後者のタイミングでデバイス登録が行われたデータのことを第2のステータスと記載する場合がある。さらに、以下では、実機配備前のデバイス登録のことを「仮登録」と記載し、実機配備後のデバイス登録のことを「本登録」と記載する場合がある。 In this way, when the device registration before the actual device deployment is accepted, the device registration collects various information such as the interface, the VLAN, and the failure from the actual device after the actual device deployment and using the commands such as telnet and SSH from the actual device. It is carried out at two timings, that is, the timing to be performed. Of these, the data whose device registration was performed at the former timing may be referred to as the first status, and the data whose device registration was performed at the latter timing may be referred to as the second status. Furthermore, in the following, the device registration before the actual device deployment may be referred to as “temporary registration”, and the device registration after the actual device deployment may be referred to as the “main registration”.
例えば、登録ステータス情報13a4には、デバイスID及び登録ステータスなどの項目が対応付けられたデータを採用できる。ここで言う「登録ステータス」とは、ネットワークデバイス30の登録状態を指し、例えば、登録ステータスのフィールドには、第1のステータスまたは第2のステータスのいずれであるかを識別できる情報、例えばフラグなどの2値情報が設定される。このようにデバイスIDに登録ステータスを対応付けることにより、第1のステータスが設定されたデバイスIDを含むデバイス情報13a1、ポート情報13a2及びリンク情報13a3のエントリは、実機配備前に登録されたデータ、すなわち仮登録のデータと識別できる一方で、第2のステータスが設定されたデバイスIDを含むデバイス情報13a1、ポート情報13a2及びリンク情報13a3のエントリは、実機配備後に登録されたデータ、すなわち本登録のデータと識別できる。なお、以下では、第1のステータスが設定されたデバイスIDを持つネットワークデバイス30のことを「仮登録デバイス」と記載する場合がある。 For example, the registration status information 13a4 can employ data in which items such as a device ID and a registration status are associated with each other. The “registration status” here refers to the registration status of the network device 30, and for example, in the field of the registration status, information that can identify whether it is the first status or the second status, such as a flag. Binary information is set. By associating the registration status with the device ID in this way, the entries of the device information 13a1, the port information 13a2, and the link information 13a3 including the device ID in which the first status is set are the data registered before the actual deployment, that is, The entries of the device information 13a1, the port information 13a2, and the link information 13a3 that include the device ID for which the second status is set can be distinguished from the data of the temporary registration, but the entries registered after the actual device deployment, that is, the data of the main registration. Can be identified as In the following, the network device 30 having the device ID for which the first status is set may be referred to as a “temporary registration device”.
制御部15は、ネットワーク管理装置10の全体制御を行う処理部である。
The
一実施形態として、制御部15は、CPU(Central Processing Unit)やMPU(Micro Processing Unit)などのハードウェアプロセッサにより実装することができる。ここでは、プロセッサの一例として、CPUやMPUを例示したが、汎用型および特化型を問わず、任意のプロセッサにより実装することができる。この他、制御部15は、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)などのハードワイヤードロジックによって実現されることとしてもかまわない。
As one embodiment, the
制御部15は、図示しない主記憶装置として実装されるDRAM(Dynamic Random Access Memory)やSRAM(Static Random Access Memory)などのRAMのワークエリア上に、上記のネットワーク管理サービスの機能を実現する制御プログラムを展開することにより、下記の処理部を仮想的に実現する。
The
制御部15は、図2に示すように、表示制御部15aと、第1の登録部15bと、収集部15cと、判定部15dと、第2の登録部15eと、出力部15fとを有する。
As shown in FIG. 2, the
表示制御部15aは、クライアント端末50に対する表示制御を行う処理部である。 The display control unit 15a is a processing unit that performs display control on the client terminal 50.
一側面として、表示制御部15aは、記憶部13に記憶されたトポロジ情報13aを参照して、ネットワークNWに含まれるデバイス間の接続形状が模式化されたトポロジマップを含むウィンドウをクライアント端末50に表示させる。例えば、表示制御部15aは、上記のトポロジ情報13aのうちデバイス情報13a1に含まれるデバイスIDごとに、当該デバイスIDに対応付けられた表示位置にしたがってネットワークデバイス30が模式化されたデバイスアイコンを配置する。このとき、表示制御部15aは、登録ステータス情報13a4に含まれる登録ステータスが第1のステータスであるデバイスアイコンの表示形態と、第2のステータスであるデバイスアイコンの表示形態とを区別する。例えば、第1のステータスであるデバイスアイコンには、仮登録であることを示すアイコン、例えばスパナマークが付与される。さらに、表示制御部15aは、上記のトポロジ情報13aのうちポート情報13a2にしたがってデバイスアイコンに対応するネットワークデバイス30が有する各ポートが模式化されたシンボルをさらに展開して表示する。さらに、表示制御部15aは、上記のトポロジ情報13aのうちリンク情報13a3にポートID1及びポートID2の登録があるネットワークデバイス30のポートのシンボル同士を接続するリンクの線画をさらに描画する。このようにして生成されたトポロジマップのウィンドウがクライアント端末50に表示される。
As one aspect, the display control unit 15a refers to the topology information 13a stored in the
第1の登録部15bは、実機配備前のデバイス登録を行う処理部である。 The first registration unit 15b is a processing unit that performs device registration before deployment of an actual device.
一実施形態として、第1の登録部15bは、トポロジマップのウィンドウ上でトポロジマップの編集を行うタブやメニューなどのGUIコンポーネントが操作された場合、トポロジマップの編集を行うことができる。このトポロジマップの編集時には、デバイス登録を行うウィンドウを呼び出すことができる。例えば、デバイス登録のウィンドウ上では、スイッチやルータなどのネットワークデバイスの種類の指定やメーカの機種の指定を受け付けることにより、デバイスIDやデバイス名を自動的に採番することができる。この他、第1の登録部15bは、ネットワークデバイス30の基本情報として、ネットワークデバイス30に割り当てられるIPアドレスやポートのインタフェース名の設定を受け付ける。このとき、配備予定の実機が有する全てのポートのインタフェース名を必ずしも設定せずともかまわない。すなわち、トポロジマップ上で結線の描画編集を行うポートのインタフェース名に絞って設定することもできる。 As one embodiment, the first registration unit 15b can edit the topology map when a GUI component such as a tab or a menu for editing the topology map is operated on the window of the topology map. When editing this topology map, a window for device registration can be called. For example, on the device registration window, the device ID and device name can be automatically assigned by accepting the designation of the type of network device such as a switch or router and the designation of the model of the manufacturer. In addition, the first registration unit 15b receives the setting of the IP address and the interface name of the port assigned to the network device 30 as the basic information of the network device 30. At this time, it is not necessary to set the interface names of all the ports of the actual machine to be deployed. In other words, it is also possible to focus on the interface name of the port that draws and edits the connection on the topology map.
これらの入力を受け付けた上で、仮登録の意思を確認するGUIコンポーネント、例えば仮登録ボタンに対する操作が行われた場合、第1の登録部15bは、デバイスに関する仮登録を行う。例えば、第1の登録部15bは、デバイスIDやデバイス名の自動採番を行った上でデバイス情報13a1に新規のエントリを生成したり、設定が行われたインタフェース名にしたがって各インタフェースに対応するポートIDや表示番号の自動採番を行った上でポート情報13a2に新規のエントリを生成したり、登録ステータス情報13a4に先に採番されたデバイスIDに第1のステータスが対応付けられた新規のエントリを生成したりする。このように仮登録が行われた後には、仮登録であることを示すアイコンが付加されたデバイスアイコンがトポロジマップ上に表示される。さらに、デバイスアイコンには、仮登録時に設定されたインタフェース名に対応するポートのシンボルが展開表示される。このデバイスアイコンは、ドラッグ&ドロップや座標指定により、任意の位置に配置することができる。 When a GUI component for confirming the intention of temporary registration, for example, a temporary registration button is operated after receiving these inputs, the first registration unit 15b performs temporary registration regarding the device. For example, the first registration unit 15b automatically assigns a device ID or device name and then creates a new entry in the device information 13a1, or responds to each interface according to the interface name that has been set. A new entry is created in the port information 13a2 after automatically assigning a port ID or display number, or a new status in which the first status is associated with the previously assigned device ID in the registration status information 13a4. Or create an entry for. After the temporary registration is performed in this way, a device icon to which an icon indicating the temporary registration is added is displayed on the topology map. Further, a symbol of a port corresponding to the interface name set at the time of temporary registration is expanded and displayed on the device icon. This device icon can be placed at any position by dragging and dropping or specifying coordinates.
このようにトポロジマップ上にデバイスアイコンが表示されると、仮登録のデバイスアイコンであっても結線の描画編集を行うことができる。ここで、仮登録のデバイスアイコンに展開表示されたポートのシンボルと、他のデバイスアイコンに展開表示されたポートのシンボルとを接続する結線の描画操作が行われた場合、第1の登録部15bは、リンクに関する仮登録を行う。例えば、第1の登録部15bは、リンクIDを自動採番した上で、上記の結線が接続する2つのポートからデバイスID1及びポートID1とデバイスID2及びポートID2を特定してリンク情報13a3に新規のエントリを生成する。この他、仮登録のデバイスアイコンから各種のVLANや障害情報などのメニューを呼び出すことにより、VLAN設定や障害情報の仮登録を行うこともできる。このようにして仮登録が行われたVLAN設定や障害情報もトポロジマップ上で表示することができる。 When the device icon is displayed on the topology map in this way, it is possible to draw and edit the connection even with the temporarily registered device icon. Here, when the drawing operation of the connection that connects the port symbol expanded and displayed on the temporarily registered device icon and the port symbol expanded and displayed on the other device icon is performed, the first registration unit 15b Performs temporary registration for links. For example, the first registration unit 15b automatically assigns a link ID, identifies the device ID1 and the port ID1, the device ID2, and the port ID2 from the two ports connected by the above-described wiring, and newly adds the new link information 13a3. Generate an entry for. In addition, the VLAN settings and the temporary registration of the failure information can be performed by calling various menus such as the VLAN and the failure information from the temporary registration device icon. The VLAN settings and the failure information temporarily registered in this way can also be displayed on the topology map.
収集部15cは、ネットワークデバイス30から各種の情報を収集する処理部である。 The collection unit 15c is a processing unit that collects various types of information from the network device 30.
一側面として、収集部15cは、ネットワークデバイス30の仮登録を本登録へ移行するリクエストを受け付けた場合、収集部15cは、登録ステータス情報13a4に含まれるデバイスIDのうち第1のステータスに紐付けられたデバイスIDごとに、次のような処理を実行する。すなわち、収集部15cは、デバイス情報13a1に含まれるIPアドレスのうち登録ステータスが第1のステータスである仮登録デバイスのデバイスIDに対応するIPアドレスを始め、SSH接続のログインに用いるユーザ名およびパスワード、あるいは管理者でログインを行う場合、ユーザ名、パスワード及び管理者パスワードを参照する。続いて、収集部15cは、当該IPアドレスが割り当てられた仮登録デバイスにSSH接続を行ってネットワークデバイス30にログインする。その上で、収集部15cは、show running-configやshow interfaces status等のコマンドを送信する。これにより、仮登録デバイスに対応するネットワークデバイス30の実機から、ポートのインタフェース名やリンクアップ状態などのインタフェース情報をコマンドの戻り値として収集することができる。このように収集されたポートのインタフェース名を用いて、後述の判定部15dにより仮登録時のインタフェース名に誤りや漏れなどの不備が存在するか否かが判定される。
As one aspect, when the collection unit 15c receives a request to shift the temporary registration of the network device 30 to the main registration, the collection unit 15c associates the first status among the device IDs included in the registration status information 13a4. The following processing is executed for each device ID thus obtained. That is, the collection unit 15c starts the IP address corresponding to the device ID of the temporary registration device whose registration status is the first status among the IP addresses included in the device information 13a1, and the user name and password used for login of the SSH connection. Or, when logging in as an administrator, refer to the user name, password, and administrator password. Subsequently, the collection unit 15c makes an SSH connection to the temporary registration device to which the IP address is assigned and logs in to the network device 30. Then, the collection unit 15c transmits commands such as show running-config and show interfaces status. As a result, the interface information such as the interface name of the port and the link-up state can be collected as the return value of the command from the actual device of the network device 30 corresponding to the temporarily registered device. Using the interface names of the ports thus collected, the
このように仮登録から本登録へ移行する場合、インタフェース情報以外にも、他の情報をさらに収集することができる。すなわち、仮登録時には、必ずしもネットワークデバイス30の配備後に実機から収集される情報ほどに詳細な情報が登録される訳ではない。例えば、仮登録時に結線が行われる予定がないポートのインタフェース名は必ずしも登録されるとは限らず、また、ポートに設定される各種のVLAN設定等も登録されるとは限らない。このことから、仮登録から本登録への移行時には、収集部15cは、トポロジやVLAN設定に関する情報を収集する。 In this way, when transitioning from temporary registration to main registration, other information can be further collected in addition to the interface information. That is, at the time of provisional registration, the detailed information is not necessarily registered as much as the information collected from the actual device after the network device 30 is deployed. For example, an interface name of a port that is not scheduled to be connected at the time of temporary registration is not always registered, and various VLAN settings set for the port are not necessarily registered. Therefore, at the time of transition from the temporary registration to the main registration, the collection unit 15c collects information about the topology and the VLAN setting.
より具体的には、トポロジに関する情報が収集される場合、収集部15cは、登録ステータス情報13a4に含まれるデバイスIDのうち第1のステータスに紐付けられたデバイスIDごとに、次のような処理を実行する。すなわち、収集部15cは、デバイス情報13a1に含まれるIPアドレスのうち第1のステータスを持つデバイスIDに対応するIPアドレスを参照する。続いて、収集部15cは、当該IPアドレスが割り当てられたネットワークデバイス30にSSH接続を行ってネットワークデバイス30にログインする。その上で、収集部15cは、show lldp neighbors等のコマンドをネットワークデバイス30へ送信する。これにより、コマンドの送信先のネットワークデバイス30と、コマンドの送信先のネットワークデバイス30が隣接するネットワークデバイス30との間でLLDP(Link Layer Discovery Protocol)を介してアドバタイズされる情報、例えばリンクを形成する2つのポートのインタフェース情報などをコマンドの戻り値として取得することができる。その上で、収集部15cは、コマンドを用いて収集されたポートの組合せの中に、リンク情報13a3のエントリに存在しないポートの組合せが存在する場合、リンク情報13a3に新規のエントリを作成する。 More specifically, when the information about the topology is collected, the collection unit 15c performs the following process for each device ID associated with the first status among the device IDs included in the registration status information 13a4. To execute. That is, the collection unit 15c refers to the IP address corresponding to the device ID having the first status among the IP addresses included in the device information 13a1. Subsequently, the collection unit 15c makes an SSH connection to the network device 30 to which the IP address is assigned and logs in to the network device 30. Then, the collection unit 15c transmits a command such as show lldp neighbors to the network device 30. As a result, information that is advertised via the LLDP (Link Layer Discovery Protocol), for example, a link, is formed between the network device 30 that is the destination of the command and the network device 30 that is adjacent to the network device 30 that is the destination of the command. It is possible to acquire the interface information of the two ports to be used as the return value of the command. Then, the collection unit 15c creates a new entry in the link information 13a3 when there is a port combination that does not exist in the entry of the link information 13a3 among the port combinations collected using the command.
また、ポートに対する各種のVLANの設定が取得される場合、収集部15cは、show vlanやshow interfaces trunk等のコマンドをネットワークNW上のネットワークデバイス30へ送信する。これにより、ポートごとに当該ポートに対する各種のVLANの設定をコマンドの戻り値として取得することができる。例えば、ポートの動作モードの他、各種のVLANの設定値が取得される。すなわち、動作モードが「アクセス」である場合、アクセスポートに設定されたポートベースVLANのVLAN IDが取得される。また、動作モードが「トランク」である場合、トランクポートに設定されたタグVLANのVLAN IDが取得される。これらのコマンドを用いて収集された情報にしたがって、収集部15cは、トポロジ情報13aのポート情報13a2に含まれるVLAN設定に関するフィールド、すなわちuntag VLAN IDやtag VLAN IDなどに設定値を新規登録したり、更新したりする。 When various VLAN settings for the port are acquired, the collection unit 15c sends commands such as show vlan and show interfaces trunk to the network device 30 on the network NW. As a result, various VLAN settings for the port can be acquired for each port as the return value of the command. For example, in addition to the operation mode of the port, setting values of various VLANs are acquired. That is, when the operation mode is “access”, the VLAN ID of the port-based VLAN set in the access port is acquired. When the operation mode is "trunk", the VLAN ID of the tag VLAN set in the trunk port is acquired. According to the information collected by using these commands, the collection unit 15c newly registers a setting value in a field related to the VLAN setting included in the port information 13a2 of the topology information 13a, that is, in the untag VLAN ID or the tag VLAN ID. , Update or.
これらトポロジやVLAN設定の収集は、仮登録から本登録への移行時に限らず、本登録後にも、次のようなタイミングで、トポロジやVLAN設定に関する情報を収集することにより、記憶部13に記憶されたトポロジ情報13aを更新することができる。このような収集が実行されるタイミングの例として、前回に取得が実行されてからの時間が所定の周期、例えば5秒間を経過する場合の他、クライアント端末50を介して指示入力が行われた場合、図示しない内部メモリに保存されるシステム時刻が所定の定期時刻、例えば6時、12時、18時などの時刻に到達する場合などが挙げられる。
The collection of the topology and the VLAN settings is not limited to the transition from the temporary registration to the main registration, and is stored in the
判定部15dは、仮登録時のポートのインタフェース名に不備が存在するか否かを判定する処理部である。
The
一実施形態として、判定部15dは、ポート情報13a2に含まれるポートのインタフェース名のうち、収集部15cによる収集に用いられたデバイスIDに対応付けられた仮登録のインタフェース名を取得する。その上で、判定部15dは、ポート情報13a2から取得された仮登録のインタフェース名と、収集部15cによりネットワークデバイス30の実機から収集されたポートのインタフェース名とを比較する。例えば、判定部15dは、仮登録のインタフェース名ごとに、実機から収集されたポートのインタフェース名の中に当該仮登録のインタフェース名の文字列と完全一致するインタフェース名が存在するか否かを判定する。このとき、実機から収集されたポートのインタフェース名の中に、仮登録のインタフェース名の文字列と完全一致するインタフェース名が仮登録のインタフェース名ごとに存在する場合、全ての仮登録のインタフェース名に誤りがないことが確認できる。一方、いずれかの仮登録のインタフェース名の文字列が実機から収集されたポートのインタフェース名のいずれとも完全一致しない場合、実機から収集されたポートのインタフェース名の中に、文字列が完全一致するインタフェース名が存在しない仮登録のインタフェース名に誤りがあることがわかる。
As one embodiment, the
続いて、判定部15dは、全ての仮登録のインタフェース名に誤りがない場合、仮登録のインタフェース名の個数と、実機から収集されたポートのインタフェース名の個数とが同数であるか否かをさらに判定する。このとき、両者が同数である場合、仮登録のインタフェース名に漏れがないことを確認できる。一方、仮登録のインタフェース名の個数が実機から収集されたポートのインタフェース名の個数よりも少ない場合、仮登録のインタフェース名に漏れがあることを確認できる。
Subsequently, when there is no error in all the temporarily registered interface names, the
第2の登録部15eは、実機配備後のデバイス登録を行う処理部である。
The
一実施形態として、第2の登録部15eは、仮登録のインタフェース名の個数が実機から収集されたポートのインタフェース名の個数よりも少ない場合、実機から収集されたポートのインタフェース名のうち仮登録のインタフェース名に存在しないインタフェース名を補充用のインタフェース名としてポート情報13a2に追加登録する。その上で、第2の登録部15eは、登録ステータス情報13a4に含まれるデバイスIDのうち、インタフェース名に誤り及び漏れの不備がないことが確認されたデバイスIDに対応する登録ステータスを第1のステータスから第2のステータスに更新する。このとき、仮登録時に設定されたインタフェース名に誤りはなくとも、ポート情報13a2へのインタフェース名の登録順序が実機でポートが配置されるインタフェース名の並び順とは一致しない場合がある。このような場合、第2の登録部15eは、仮登録時にポート情報13a2に設定されたインタフェース名の登録順を、実機でポートが配置されるインタフェース名の並び順に並べ替える。この登録ステータスの更新により、当該デバイスIDを有するデバイス情報13a1、ポート情報13a2及びリンク情報13a3のエントリが仮登録から本登録へ移行することになる。一方、第2の登録部15eは、仮登録のインタフェース名の個数と、実機から収集されたポートのインタフェース名の個数とが同数である場合、上記の補充用のインタフェース名の登録をスキップして、インタフェース名に不備がないことが確認されたデバイスIDに対応する登録ステータスを第1のステータスから第2のステータスに更新する。
As one embodiment, when the number of interface names for temporary registration is smaller than the number of interface names for ports collected from the actual machine, the
なお、ここでは、インタフェース名の登録に焦点を絞って説明したが、上記の補充用のインタフェース名の登録や上記の登録ステータスの更新が行われる前後または同時のタイミングで、収集部15cにより実機から収集された各ポートのVLAN設定や障害情報をポート情報13a2に登録することもできる。 Although the description has been focused here on the registration of the interface name, the collecting unit 15c may be used to execute the registration from the actual device before or after the registration of the supplementary interface name and the update of the registration status. The collected VLAN settings and failure information of each port can be registered in the port information 13a2.
出力部15fは、エラーを出力する処理部である。 The output unit 15f is a processing unit that outputs an error.
一実施形態として、出力部15fは、仮登録のインタフェース名のいずれかに誤りがある場合、誤りがあるインタフェース名をエラーとして出力する。例えば、出力部15fは、誤りがあるインタフェース名と共に、そのインタフェースが存在しない旨のメッセージの表示および/または音声出力を行う。 As one embodiment, if there is an error in any of the temporarily registered interface names, the output unit 15f outputs the error interface name as an error. For example, the output unit 15f displays an error interface name and a message indicating that the interface does not exist and/or outputs a voice.
[具体例1]
図3は、仮登録から本登録への移行例を示す図である。図3には、デバイスID「Node−1」の仮登録を本登録へ移行する例が示されている。図3の符号300は、デバイスID「Node−1」に関するポート情報13a2のエントリの一覧を示す。また、図3の符号310は、デバイスID「Node−1」の実機から収集されたインタフェース名の一覧を示す。また、図3の符号320は、仮登録から本登録へ移行されたときのポート情報13a2のエントリの一覧を示す。[Specific Example 1]
FIG. 3 is a diagram showing an example of transition from temporary registration to main registration. FIG. 3 shows an example in which the temporary registration of the device ID “Node-1” is transferred to the main registration.
図3に示すように、デバイスID「Node−1」に関するポート情報13a2のエントリの一覧300に含まれる仮登録のインタフェース名と、デバイスID「Node−1」の実機から収集されたインタフェース名の一覧310とが判定部15dにより比較される。この場合、デバイスID「Node−1」の実機から収集されたインタフェース名の一覧310の中に、仮登録のインタフェース名の文字列と完全一致するインタフェース名が仮登録のインタフェース名ごとに存在する。すなわち、仮登録のインタフェース名「ether1」と完全一致するインタフェース名が一覧310の中に存在し、仮登録のインタフェース名「ether2」と完全一致するインタフェース名が一覧310の中に存在し、かつ仮登録のインタフェース名「ether3」と完全一致するインタフェース名も一覧310の中に存在する。このため、仮登録のインタフェース名に誤りがないことが確認できる。
As shown in FIG. 3, the temporarily registered interface name included in the
一方、図3に示す例では、仮登録のインタフェース名の個数「3」<デバイスID「Node−1」の実機から収集されたインタフェース名の個数「6」であるので、仮登録のインタフェース名に3つの漏れがあることがわかる。このため、ポート情報13a2のエントリの一覧320に示す通り、デバイスID「Node−1」の実機から収集されたインタフェース名のうち仮登録のインタフェース名に存在しないインタフェース名「ether4」〜「ether6」が補充用のインタフェース名としてポート情報13a2に追加登録される。
On the other hand, in the example shown in FIG. 3, since the number of temporarily registered interface names is “3”<the number of interface names collected from the actual device having the device ID “Node-1” is “6”, You can see that there are three leaks. Therefore, as shown in the
[具体例2]
図4は、仮登録から本登録への移行例を示す図である。図4には、デバイスID「Node−1」の仮登録を本登録へ移行する例が示されている。図4の符号400は、デバイスID「Node−1」に関するポート情報13a2のエントリの一覧を示す。また、図4の符号410は、デバイスID「Node−1」の実機から収集されたインタフェース名の一覧を示す。また、図4の符号420は、仮登録から本登録へ移行されたときのポート情報13a2のエントリの一覧を示す。[Specific example 2]
FIG. 4 is a diagram showing an example of transition from temporary registration to main registration. FIG. 4 shows an example in which the temporary registration of the device ID “Node-1” is transferred to the main registration.
図4に示すように、デバイスID「Node−1」に関するポート情報13a2のエントリの一覧400に含まれる仮登録のインタフェース名と、デバイスID「Node−1」の実機から収集されたインタフェース名の一覧410とが判定部15dにより比較される。この場合、デバイスID「Node−1」の実機から収集されたインタフェース名の一覧410の中に、仮登録のインタフェース名の文字列と完全一致するインタフェース名が仮登録のインタフェース名ごとに存在する。すなわち、仮登録のインタフェース名「ether3」と完全一致するインタフェース名が一覧310の中に存在し、仮登録のインタフェース名「ether2」と完全一致するインタフェース名が一覧310の中に存在し、かつ仮登録のインタフェース名「ether6」と完全一致するインタフェース名も一覧410の中に存在する。このため、仮登録のインタフェース名に誤りがないことが確認できる。
As shown in FIG. 4, the temporarily registered interface names included in the
一方、図4に示す例では、仮登録のインタフェース名の個数「3」<デバイスID「Node−1」の実機から収集されたインタフェース名の個数「6」であるので、仮登録のインタフェース名に3つの漏れがあることがわかる。このため、ポート情報13a2のエントリの一覧420に示す通り、デバイスID「Node−1」の実機から収集されたインタフェース名のうち仮登録のインタフェース名に存在しないインタフェース名「ether1」、「ether4」及び「ether5」が補充用のインタフェース名としてポート情報13a2に追加登録される。
On the other hand, in the example shown in FIG. 4, since the number of temporarily registered interface names is “3”<the number of interface names collected from the actual device with the device ID “Node-1” is “6”, You can see that there are three leaks. Therefore, as shown in the
さらに、図4に示す例では、ポート情報13a2へのインタフェース名の登録順序が実機でポートが配置されるインタフェース名の並び順とは一致しない。すなわち、ポート情報13a2では、インタフェース名が「ether3」、「ether2」、「ether6」の順に登録されている。一方、実機でポートが配置されるインタフェース名の並び順は、「ether1」、「ether2」、「ether3」、「ether4」、「ether5」、「ether6」の順である。このようにポート情報13a2へのインタフェース名の登録順序が実機でポートが配置されるインタフェース名の並び順と一致しない場合、ポート情報13a2のエントリの一覧420に示す通り、仮登録時にポート情報13a2に設定されたインタフェース名の登録順は、実機でポートが配置されるインタフェース名の並び順に並び替えられる。
Further, in the example shown in FIG. 4, the order of registering the interface names in the port information 13a2 does not match the order of the interface names in which the ports are arranged in the actual machine. That is, in the port information 13a2, the interface names are registered in the order of "ether3", "ether2", and "ether6". On the other hand, the order of the interface names in which the ports are arranged in the actual machine is "ether1", "ether2", "ether3", "ether4", "ether5", and "ether6". In this way, when the order of registering the interface names in the port information 13a2 does not match the order of the interface names in which the ports are arranged on the actual device, as shown in the
例えば、インタフェース名が補充される前に並び替えを行う場合、ポート情報13a2のエントリがインタフェース名「ether3」、インタフェース名「ether2」、インタフェース名「ether6」の登録順からインタフェース名「ether2」、インタフェース名「ether3」、インタフェース名「ether6」の登録順へ並び替えられる。また、インタフェース名が補充された後に並び替えを行う場合、ポート情報13a2のエントリがインタフェース名「ether1」、「ether3」、インタフェース名「ether2」、インタフェース名「ether4」、インタフェース名「ether5」、インタフェース名「ether6」の登録順からインタフェース名「ether1」、インタフェース名「ether2」、インタフェース名「ether3」、インタフェース名「ether4」、インタフェース名「ether5」、インタフェース名「ether6」の登録順へ並び替えられる。 For example, when the rearrangement is performed before the interface names are supplemented, the entry of the port information 13a2 is the interface name “ether3”, the interface name “ether2”, the interface name “ether6” in the order of registration, and the interface name “ether2” The names are sorted in the registration order of "ether3" and the interface name "ether6". Further, when the rearrangement is performed after the interface names are replenished, the entries of the port information 13a2 are interface names “ether1”, “ether3”, interface name “ether2”, interface name “ether4”, interface name “ether5”, interface The registration order of the name "ether6" is changed to the registration order of the interface name "ether1", the interface name "ether2", the interface name "ether3", the interface name "ether4", the interface name "ether5", and the interface name "ether6". ..
[具体例3]
図5は、仮登録から本登録への移行例を示す図である。図5には、デバイスID「Node−1」の仮登録を本登録へ移行する例が示されている。図5の符号500は、デバイスID「Node−1」に関するポート情報13a2のエントリの一覧を示す。また、図5の符号510は、デバイスID「Node−1」の実機から収集されたインタフェース名の一覧を示す。また、図5の符号520は、エラーの出力例を示す。[Specific Example 3]
FIG. 5 is a diagram showing an example of transition from temporary registration to main registration. FIG. 5 shows an example in which the temporary registration of the device ID “Node-1” is transferred to the main registration.
図5に示すように、デバイスID「Node−1」に関するポート情報13a2のエントリの一覧500に含まれる仮登録のインタフェース名と、デバイスID「Node−1」の実機から収集されたインタフェース名の一覧510とが判定部15dにより比較される。この場合、仮登録時に設定されたインタフェース名のうちインタフェース名「ether3」及び「ether6」には、デバイスID「Node−1」の実機から収集されたインタフェース名の一覧510の中に文字列が一致するインタフェース名が存在する。一方、仮登録時に設定されたインタフェース名「ether2a」には、デバイスID「Node−1」の実機から収集されたインタフェース名の一覧510の中に文字列が一致するインタフェース名が1つも存在しない。このため、仮登録のインタフェース名「ether2a」に誤りがあることが判明する。
As shown in FIG. 5, the temporarily registered interface name included in the
この場合、仮登録のインタフェース名「ether2a」に該当するインタフェースが存在しない旨のエラーメッセージがクライアント端末50に出力される。さらに、図5に示すエラーの出力例520の通り、ポート情報13a2のうちインタフェース名に誤りがあるエントリの表示形態とインタフェース名に誤りがないエントリの表示形態とを区別する。例えば、ポート情報13a2のうちインタフェース名に誤りがあるエントリのフォントや塗り潰しなどが強調表示される。このとき、デバイスID「Node−1」の実機から収集されたインタフェース名の一覧510を合わせて表示することもできる。このようなエラーの出力の結果、誤りのないインタフェース名の訂正入力をネットワーク管理者等に促すことができる。 In this case, an error message indicating that there is no interface corresponding to the temporarily registered interface name “ether2a” is output to the client terminal 50. Further, as in the error output example 520 shown in FIG. 5, the display form of the entry having an error in the interface name of the port information 13a2 and the display form of the entry having no error in the interface name are distinguished from each other. For example, in the port information 13a2, the font or fill of the entry having an error in the interface name is highlighted. At this time, the interface name list 510 collected from the actual device with the device ID “Node-1” can be displayed together. As a result of the output of such an error, it is possible to prompt the network administrator or the like to correct the correct interface name.
[具体例1〜具体例3の効果の一側面]
このように、誤りのないインタフェース名が入力された場合に絞って仮登録から本登録への移行を認める。さらに、仮登録のインタフェース名に漏れがある場合、漏れがあるインタフェース名を補充して本登録を行うことができる。さらに、仮登録時のインタフェース名の登録順が実機でポートが配置される並び順と異なる場合、ポートが配置される並び順に合わせてインタフェース名をソートして本登録を行うことができる。これらのことから、仮登録を認める場合でも仮登録および本登録の間でデバイス登録の内容に矛盾が発生するのを抑制できる結果、トポロジマップの表示及びネットワークの実体の間にも矛盾が生じるのも抑制できる。したがって、実機配備前のデバイス登録を実現できる。[One Side of Effects of Concrete Example 1 to Concrete Example 3]
In this way, the transition from the temporary registration to the main registration is permitted only when the correct interface name is input. Further, if the temporarily registered interface name is missing, the missing interface name can be supplemented to perform the main registration. Furthermore, when the registration order of the interface names at the time of temporary registration is different from the order in which the ports are arranged on the actual machine, the interface names can be sorted according to the order in which the ports are arranged for main registration. Therefore, even if temporary registration is allowed, it is possible to suppress inconsistency in the contents of device registration between temporary registration and main registration, resulting in inconsistency between the display of the topology map and the entity of the network. Can also be suppressed. Therefore, the device registration before the actual device deployment can be realized.
[処理の流れ]
図6は、実施例1に係る制御処理の手順を示すフローチャートである。この処理は、あくまで一例として、ネットワークデバイス30の仮登録を本登録へ移行するリクエストを受け付けることを条件に起動する。なお、図6に示すステップS102〜ステップS111の処理は、登録ステータスが第1のステータスであるデバイスIDごとに繰り返し実行される。[Process flow]
FIG. 6 is a flowchart illustrating a procedure of control processing according to the first embodiment. This processing is activated, as an example, on condition that a request for shifting the temporary registration of the network device 30 to the main registration is received. The processing of steps S102 to S111 shown in FIG. 6 is repeatedly executed for each device ID whose registration status is the first status.
図6に示すように、ネットワークデバイス30の仮登録を本登録へ移行するリクエストを受け付けると(ステップS101)、収集部15cは、次のような処理を実行する。すなわち、収集部15cは、デバイス情報13a1に含まれるIPアドレスのうち登録ステータスが第1のステータスである仮登録デバイスのデバイスIDに対応するIPアドレスを始め、SSH接続のログインに用いるユーザ名およびパスワードを参照する(ステップS102)。 As shown in FIG. 6, when the request for shifting the temporary registration of the network device 30 to the main registration is received (step S101), the collection unit 15c executes the following process. That is, the collection unit 15c starts the IP address corresponding to the device ID of the temporary registration device whose registration status is the first status among the IP addresses included in the device information 13a1, and the user name and password used for login of the SSH connection. Is referred to (step S102).
続いて、収集部15cは、ステップS102で参照されたIPアドレスが割り当てられた仮登録デバイスにSSH接続を行ってネットワークデバイス30にログインする(ステップS103)。その上で、収集部15cは、show running-configやshow interfaces status等のコマンドを送信する。このようなコマンドの送信を通じて、収集部15cは、仮登録デバイスに対応するネットワークデバイス30の実機から、ポートのインタフェース名やリンクアップ状態などのインタフェース情報をコマンドの戻り値として収集する(ステップS104)。 Subsequently, the collection unit 15c makes an SSH connection to the temporary registration device to which the IP address referred to in step S102 is assigned, and logs in to the network device 30 (step S103). Then, the collection unit 15c transmits commands such as show running-config and show interfaces status. Through the transmission of such a command, the collection unit 15c collects the interface information such as the interface name of the port and the link-up state from the actual device of the network device 30 corresponding to the temporary registration device as the return value of the command (step S104). ..
その上で、判定部15dは、ポート情報13a2に含まれる仮登録デバイスのインタフェース名と、ステップS104でネットワークデバイス30の実機から収集されたポートのインタフェース名とを比較する(ステップS105)。
Then, the
このとき、全ての仮登録のインタフェース名に誤りがない場合(ステップS106No)、判定部15dは、仮登録のインタフェース名の個数と、実機から収集されたポートのインタフェース名の個数とが同数であるか否かをさらに判定する(ステップS107)。
At this time, if there is no error in all the temporarily registered interface names (No in step S106), the
ここで、仮登録のインタフェース名の個数が実機から収集されたポートのインタフェース名の個数よりも少ない場合(ステップS107Yes)、仮登録のインタフェース名に漏れがあることを確認できる。この場合、第2の登録部15eは、実機から収集されたポートのインタフェース名のうち仮登録のインタフェース名に存在しないインタフェース名を補充用のインタフェース名としてポート情報13a2に追加登録する(ステップS108)。なお、両者が同数である場合(ステップS107No)、仮登録のインタフェース名に漏れがないことを確認できるので、ステップS108の処理はスキップされる。
Here, when the number of the temporarily registered interface names is smaller than the number of the interface names of the ports collected from the actual device (Yes in step S107), it can be confirmed that the temporarily registered interface names are missing. In this case, the
その後、第2の登録部15eは、登録ステータス情報13a4に含まれるデバイスIDのうち、インタフェース名に誤り及び漏れの不備がないことが確認されたデバイスIDに対応する登録ステータスを第1のステータスから第2のステータスに更新する(ステップS109)。そして、第2の登録部15eは、仮登録から本登録への移行の結果、例えば移行OKのメッセージと共に本登録後のポート情報13a2のうち当該デバイスIDに関するエントリなどをクライアント端末50に表示し(ステップS110)、処理を終了する。
After that, the
一方、仮登録のインタフェース名のいずれかに誤りがある場合(ステップS106Yes)、出力部15fは、誤りがあるインタフェース名をエラーとして出力し(ステップS111)、処理を終了する。 On the other hand, if any of the temporarily registered interface names has an error (Yes in step S106), the output unit 15f outputs the interface name having the error as an error (step S111), and ends the process.
[効果の一側面]
上述してきたように、本実施例に係るネットワーク管理装置10は、実機配備前に仮登録されたインタフェース名が実機から収集したインタフェース名に全て含まれるか否かによりインタフェース名の登録状態を仮登録から本登録へ更新するか、エラー出力するかを制御する。このため、仮登録を認める場合でも仮登録および本登録の間でデバイス登録の内容に矛盾が発生するのを抑制できる結果、トポロジマップの表示及びネットワークの実体の間にも矛盾が生じるのも抑制できる。したがって、本実施例に係るネットワーク管理装置10によれば、実機配備前のデバイス登録を実現できる。[One side of effect]
As described above, the
さて、これまで開示の装置に関する実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下では、本発明に含まれる他の実施例を説明する。 Although the embodiments of the disclosed device have been described above, the present invention may be implemented in various different forms other than the embodiments described above. Therefore, other embodiments included in the present invention will be described below.
[リンクの判定]
上記の実施例1では、仮登録時に設定されたインタフェース名と、実機から収集されたインタフェース名との比較を行う場合を例示したが、この他にも、仮登録時に設定されたリンクと、実機から収集されたポート間の接続情報との比較により、仮登録時に設定されたリンクごとに当該リンクに誤りがないか否かを判定することもできる。[Link judgment]
In the first embodiment described above, the case where the interface name set at the time of temporary registration and the interface name collected from the actual machine are compared has been exemplified. However, in addition to this, the link set at the time of temporary registration and the actual machine It is also possible to determine whether or not there is an error in the link for each link set at the time of temporary registration, by comparing with the connection information between the ports collected from.
すなわち、第1の登録部15bは、ネットワークデバイス30のIPアドレスやインタフェース名の他にも、2つのポート間を接続する結線、いわゆるリンクの登録をさらに行うことができる。例えば、仮登録のデバイスアイコンに展開表示されたポートのシンボルと、他のデバイスアイコンに展開表示されたポートのシンボルとを接続する結線の描画操作が行われた場合、第1の登録部15bは、リンクに関する仮登録を行う。例えば、第1の登録部15bは、リンクIDを自動採番した上で、上記の結線が接続する2つのポートからデバイスID1及びポートID1とデバイスID2及びポートID2を特定してリンク情報13a3に新規のエントリを生成する。 That is, the first registration unit 15b can further register a connection connecting two ports, that is, a so-called link, in addition to the IP address and the interface name of the network device 30. For example, when a drawing operation of a connection that connects the port symbol expanded and displayed on the temporarily registered device icon and the port symbol expanded and displayed on another device icon is performed, the first registration unit 15b displays , Temporary registration for links is performed. For example, the first registration unit 15b automatically assigns a link ID, identifies the device ID1 and the port ID1, the device ID2, and the port ID2 from the two ports connected by the above-described wiring, and newly adds the new link information 13a3. Generate an entry for.
このように仮登録が行われたリンクは、仮登録から本登録への移行を行う場合、実機から収集されたポート間のインタフェース情報との比較により、仮登録時に設定されたリンクに誤りがないか否かを判定することもできる。 In the case of a link that was provisionally registered in this way, when transitioning from provisional registration to main registration, there is no error in the link that was set during provisional registration by comparison with the interface information between ports collected from the actual device. It is also possible to determine whether or not.
例えば、収集部15cは、登録ステータスが第1のステータスである仮登録デバイスに対応するネットワークデバイス30にログインした上で、show cdp neighbors等のコマンドをネットワークデバイス30へ送信する。これにより、仮登録の状態にあるネットワークデバイス30と、そのネットワークデバイス30が隣接する他のネットワークデバイス30との間でLLDPを介してアドバタイズされる情報、例えばリンクを形成する2つのポートのインタフェース情報などをコマンドの戻り値として取得することができる。 For example, the collection unit 15c logs in the network device 30 corresponding to the temporary registration device whose registration status is the first status, and then transmits a command such as show cdp neighbors to the network device 30. Thereby, information advertised via the LLDP between the network device 30 in the temporary registration state and another network device 30 adjacent to the network device 30, for example, interface information of two ports forming a link. Etc. can be obtained as the return value of the command.
その上で、判定部15dは、リンク情報13a3のエントリのうち、収集部15cによる収集が行われたデバイスIDが含まれるエントリを抽出する。そして、判定部15dは、リンク情報13a3から抽出されたエントリごとに、ポートIDの組合せに対応するインタフェース名の組合せ、すなわち仮登録時にリンクとして設定されたインタフェース名の組合せと一致するインタフェースの組合せが、収集部15cによりネットワークデバイス30の実機から収集されたインタフェース情報の中に含まれるか否かを判定する。
Then, the
このとき、リンク情報13a3から抽出されたエントリが持つポートIDの組合せに対応するインタフェース名の組合せと一致するインタフェースの組合せが、実機から収集されたインタフェース情報の中に含まれない場合、仮登録時に設定されたリンクに誤りがあることが判明する。 At this time, if a combination of interfaces that matches a combination of interface names corresponding to a combination of port IDs held by the entry extracted from the link information 13a3 is not included in the interface information collected from the actual device, it will be temporarily registered. It turns out that the set link is incorrect.
このように誤りがある場合、下記2つのケースに分類できる。すなわち、仮登録時にリンクとして設定されたインタフェース名の組合せのうち一方のインタフェース名だけが実機から収集されたインタフェース情報の中に含まれる場合、実機配備時に行われた結線のうち一方のポートに挿し間違いがあることが判明する。また、仮登録時にリンクとして設定されたインタフェース名の組合せに含まれる2つのインタフェース名の両方が実機から収集されたインタフェース情報の中に含まれない場合、実機配備前に仮登録されたリンクの結線が行われていないことが判明する。これらのケースでは、出力部15fは、ポートの挿し間違いや未結線を通知することができる。 If there is such an error, it can be classified into the following two cases. That is, if only one interface name of the combination of interface names set as a link at the time of temporary registration is included in the interface information collected from the actual machine, insert it into one of the ports of the connection made when deploying the actual machine. It turns out that there are mistakes. Also, if both of the two interface names included in the combination of interface names set as links at the time of temporary registration are not included in the interface information collected from the actual machine, the link of the temporarily registered link before the actual machine is deployed. It turns out that is not done. In these cases, the output unit 15f can notify a port insertion error or unconnected.
一方、仮登録時にリンクとして設定されたインタフェース名の組合せの全てが実機から収集されたインタフェース情報の中に含まれる場合、仮登録時に設定された各リンクに誤りがないことが判明する。この場合、第2の登録部15eは、登録ステータス情報13a4に含まれるデバイスIDのうち、仮登録デバイスのインタフェース名に誤りがなく、かつ仮登録デバイスが持つインタフェース名を組合せに含むリンクに誤りがない場合、当該デバイスIDに対応する登録ステータスを第1のステータスから第2のステータスに更新する。
On the other hand, when all the combinations of interface names set as links at the time of temporary registration are included in the interface information collected from the actual device, it is found that each link set at the time of temporary registration has no error. In this case, the
図7Aは、トポロジマップの一例を示す図である。図7Aには、トポロジマップに含まれるデバイスアイコンのうち、仮登録が行われたNode−1及びNode−2のデバイスアイコンが抜粋して示されている。図7Aに示すように、Node−1のデバイスアイコン及びNode−2のデバイスアイコンには、結線が描画されている。すなわち、Node−1のデバイスアイコンが有する4つのポートのうち表示番号「01」のポートと、Node−2のデバイスアイコンが有する4つのポートのうち表示番号「01」のポートとの間に結線が描画されている。このような結線の描画編集により、リンク情報13a3には、Node−1のデバイスアイコンが有する表示番号「01」に対応するポートIDと、Node−2のデバイスアイコンが有する表示番号「01」に対応するポートIDとの組合せを含むエントリがリンクとして仮登録される。なお、ここでは、トポロジマップ上でデバイスアイコンに展開表示されるポートの表示番号を図示したが、ポート情報13a2上でポートの表示番号にはインタフェース名が関連付けられている。 FIG. 7A is a diagram showing an example of the topology map. In FIG. 7A, among the device icons included in the topology map, the device icons of Node-1 and Node-2 that have been temporarily registered are shown in an excerpted manner. As shown in FIG. 7A, a connection is drawn on the device icon of Node-1 and the device icon of Node-2. That is, a connection is made between the port with the display number “01” of the four ports that the device icon of Node-1 has and the port with the display number “01” of the four ports that the device icon of Node-2 has. Is drawn. By drawing and editing such a connection, the link information 13a3 corresponds to the port ID corresponding to the display number “01” of the device icon of Node-1 and the display number “01” of the device icon of Node-2. The entry including the combination with the port ID to be registered is provisionally registered as a link. Although the display number of the port expanded and displayed on the device icon on the topology map is shown here, the interface name is associated with the display number of the port on the port information 13a2.
図7Bは、実機の接続状況の一例を示す図である。図7Bには、Node−1のネットワークデバイス30の実機と、Node−2のネットワークデバイス30の実機との接続状況が示されている。図7Bに示すように、Node−1の実機及びNode−2の実機の間では、Node−1の表示番号「01」のポートと、Node−2の表示番号「02」のポートが接続されている。 FIG. 7B is a diagram showing an example of the connection status of the actual machine. FIG. 7B shows the connection status between the actual device of the network device 30 of Node-1 and the actual device of the network device 30 of Node-2. As shown in FIG. 7B, the port with the display number “01” of Node-1 and the port with the display number “02” of Node-2 are connected between the actual devices of Node-1 and Node-2. There is.
図7Aに示す仮登録のリンク及び図7Bに示す実機の接続状況とが比較される。すなわち、リンク情報13a3のリンクのエントリに含まれるポートIDの組合せに対応するインタフェース名の組合せ、すなわち仮登録時にリンクとして設定されたインタフェース名の組合せと、Node−1またはNode−2の実機から収集されるインタフェース情報とが比較される。これらのうち、リンク情報13a3には、Node−1のデバイスアイコンが有する表示番号「01」に対応するインタフェース名と、Node−2のデバイスアイコンが有する表示番号「01」に対応するインタフェース名との組合せがエントリとして含まれる。一方、Node−1の実機から収集されるインタフェース情報では、Node−1の表示番号「01」に対応するインタフェース名と、Node−2の表示番号「02」に対応するインタフェース名との関連付けが含まれる。 The link for temporary registration shown in FIG. 7A and the connection status of the actual device shown in FIG. 7B are compared. That is, the combination of the interface names corresponding to the combination of the port IDs included in the link entry of the link information 13a3, that is, the combination of the interface names set as the link at the time of temporary registration and the actual device of Node-1 or Node-2 are collected. Interface information is compared. Among these, the link information 13a3 includes an interface name corresponding to the display number “01” of the device icon of Node-1 and an interface name corresponding to the display number “01” of the device icon of Node-2. The combination is included as an entry. On the other hand, the interface information collected from the actual device of Node-1 includes the association between the interface name corresponding to the display number "01" of Node-1 and the interface name corresponding to the display number "02" of Node-2. Be done.
この場合、Node−1のデバイスアイコンが有する表示番号「01」に対応するインタフェース名と、Node−2のデバイスアイコンが有する表示番号「01」に対応するインタフェース名との組合せのうち、インタフェース情報には、Node−1の表示番号「01」に対応するインタフェース名が含まれる一方で、Node−2のデバイスアイコンが有する表示番号「01」に対応するインタフェース名は含まれない。このため、Node−1の表示番号「01」のポートまたはNode−2の表示番号「02」のポートのいずれかにポートの挿し間違いがある旨がエラーとして出力される。 In this case, the combination of the interface name corresponding to the display number “01” of the device icon of Node-1 and the interface name corresponding to the display number “01” of the device icon of Node-2 is the interface information. Includes the interface name corresponding to the display number “01” of Node-1, but does not include the interface name corresponding to the display number “01” of the device icon of Node-2. For this reason, it is output as an error that there is a port insertion error in either the port with the display number "01" of Node-1 or the port with the display number "02" of Node-2.
図7Cは、エラーの出力例を示す図である。例えば、図7Cに示すように、ポート情報13a2のうち、ポートの挿し間違いのおそれがある2つのエントリ、すなわちNode−1の表示番号「01」のエントリ及びNode−2の表示番号「02」のエントリを他のエントリと異なる表示形態で表示する。この他、Node−1の表示番号「01」のポートまたはNode−2の表示番号「02」のポートのいずれかにポートの挿し間違いがある旨のエラーメッセージを出力することとしてもよいし、トポロジマップ上で上記2つのポートのシンボルを強調表示することしてもかまわない。 FIG. 7C is a diagram showing an output example of an error. For example, as shown in FIG. 7C, in the port information 13a2, two entries that may cause a port insertion error, that is, the entry with the display number “01” of Node-1 and the display number “02” of Node-2 are shown. The entry is displayed in a display mode different from that of other entries. In addition to this, an error message indicating that there is an error in inserting the port into either the port with the display number “01” of Node-1 or the port with the display number “02” of Node-2 may be output, or the topology may be output. The symbols of the above two ports may be highlighted on the map.
これにより、仮登録時に設定されたリンクと、実機から収集されたインタフェース情報との間でポートの挿し間違いや未結線がない場合に絞ってリンクを仮登録から本登録へ更新することができる。 As a result, the link can be updated from the temporary registration to the main registration only when there is no port insertion error or unconnected between the link set at the time of temporary registration and the interface information collected from the actual device.
[分散および統合]
また、図示した各装置の各構成要素は、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散・統合の具体的形態は図示のものに限られず、その全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。例えば、表示制御部15a、第1の登録部15b、収集部15c、判定部15d、第2の登録部15eまたは出力部15fをネットワーク管理装置10の外部装置としてネットワーク経由で接続するようにしてもよい。また、表示制御部15a、第1の登録部15b、収集部15c、判定部15d、第2の登録部15eまたは出力部15fを別の装置がそれぞれ有し、ネットワーク接続されて協働することで、上記のネットワーク管理装置10の機能を実現するようにしてもよい。また、記憶部に記憶されるトポロジ情報13aの全部または一部を別の装置がそれぞれ有し、ネットワーク接続されて協働することで、上記のネットワーク管理装置10の機能を実現するようにしてもかまわない。[Distribution and integration]
In addition, each component of each device illustrated does not necessarily have to be physically configured as illustrated. That is, the specific form of distribution/integration of each device is not limited to that shown in the figure, and all or part of the device may be functionally or physically distributed/arranged in arbitrary units according to various loads and usage conditions. It can be integrated and configured. For example, the display control unit 15a, the first registration unit 15b, the collection unit 15c, the
[制御プログラム]
また、上記の実施例で説明した各種の処理は、予め用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータで実行することによって実現することができる。そこで、以下では、図8を用いて、上記の実施例と同様の機能を有する制御プログラムを実行するコンピュータの一例について説明する。[Control program]
Further, the various processes described in the above embodiments can be realized by executing a prepared program on a computer such as a personal computer or a workstation. Therefore, in the following, an example of a computer that executes a control program having the same functions as those in the above embodiment will be described with reference to FIG.
図8は、実施例1及び実施例2に係る制御プログラムを実行するコンピュータのハードウェア構成例を示す図である。図8に示すように、コンピュータ100は、操作部110aと、スピーカ110bと、カメラ110cと、ディスプレイ120と、通信部130とを有する。さらに、このコンピュータ100は、CPU150と、ROM160と、HDD170と、RAM180とを有する。これら110〜180の各部はバス140を介して接続される。
FIG. 8 is a diagram illustrating a hardware configuration example of a computer that executes a control program according to the first and second embodiments. As illustrated in FIG. 8, the computer 100 includes an operation unit 110a, a
HDD170には、図8に示すように、上記の実施例1で示した表示制御部15a、第1の登録部15b、収集部15c、判定部15d、第2の登録部15e及び出力部15fと同様の機能を発揮する制御プログラム170aが記憶される。この制御プログラム170aは、図2に示した表示制御部15a、第1の登録部15b、収集部15c、判定部15d、第2の登録部15e及び出力部15fの各構成要素と同様、統合又は分離してもかまわない。すなわち、HDD170には、必ずしも上記の実施例1で示した全てのデータが格納されずともよく、処理に用いるデータがHDD170に格納されればよい。
As shown in FIG. 8, the
このような環境の下、CPU150は、HDD170から制御プログラム170aを読み出した上でRAM180へ展開する。この結果、制御プログラム170aは、図8に示すように、制御プロセス180aとして機能する。この制御プロセス180aは、RAM180が有する記憶領域のうち制御プロセス180aに割り当てられた領域にHDD170から読み出した各種データを展開し、この展開した各種データを用いて各種の処理を実行する。例えば、制御プロセス180aが実行する処理の一例として、図6に示す処理などが含まれる。なお、CPU150では、必ずしも上記の実施例1で示した全ての処理部が動作せずともよく、実行対象とする処理に対応する処理部が仮想的に実現されればよい。
Under such an environment, the
なお、上記の制御プログラム170aは、必ずしも最初からHDD170やROM160に記憶されておらずともかまわない。例えば、コンピュータ100に挿入されるフレキシブルディスク、いわゆるFD、CD−ROM、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」に各プログラムを記憶させる。そして、コンピュータ100がこれらの可搬用の物理媒体から各プログラムを取得して実行するようにしてもよい。また、公衆回線、インターネット、LAN、WANなどを介してコンピュータ100に接続される他のコンピュータまたはサーバ装置などに各プログラムを記憶させておき、コンピュータ100がこれらから各プログラムを取得して実行するようにしてもよい。
The above control program 170a does not necessarily have to be stored in the
1 ネットワーク管理システム
3 監視対象システム
10 ネットワーク管理装置
11 通信I/F部
13 記憶部
13a トポロジ情報
15 制御部
15a 表示制御部
15b 第1の登録部
15c 収集部
15d 判定部
15e 第2の登録部
15f 出力部
30A,30B,30C ネットワークデバイス
50 クライアント端末1
Claims (5)
登録した前記IPアドレスを用いて前記装置に対して前記装置に関する設定情報の送信依頼を送信して、前記装置から前記設定情報を受信した場合、前記設定情報に登録した前記装置のポートの識別情報が含まれるか否かを判定し、
判定した結果、前記設定した設定情報に、登録した前記識別情報がすべて含まれている場合には、前記識別情報の第1のステータスから第2のステータスに変更して登録し、
前記設定した設定情報に、登録した前記識別情報の一部が含まれない場合には、含まれない識別情報に関するポートに対応するエラーを出力する、
処理をコンピュータに実行させることを特徴とする制御プログラム。 The IP address to be assigned to the device included in the monitored network is registered, and the identification information of the port included in the device is registered as the first status,
When the setting information transmission request for the device is transmitted to the device using the registered IP address and the setting information is received from the device, the identification information of the port of the device registered in the setting information. Is included,
As a result of the determination, when the set setting information includes all the registered identification information, the first status of the identification information is changed to the second status and registered,
When the set setting information does not include a part of the registered identification information, an error corresponding to the port regarding the identification information that is not included is output,
A control program that causes a computer to execute a process.
前記判定する処理は、登録した前記IPアドレスを用いて前記装置に対して前記装置に関するポート間の接続情報の送信依頼を送信して、前記装置から前記ポート間の接続情報を受信した場合、前記設定情報の中に登録した前記組合せが含まれるか否かを判定し、
前記第2のステータスに変更して登録する処理は、判定した結果、前記設定情報の中に、登録した前記組合せがすべて含まれている場合には、前記識別情報を前記第1のステータスから前記第2のステータスに変更して登録し、
前記エラーを出力する処理は、前記設定情報に、登録した前記組合せの一部が含まれない場合には、含まれない組合せに関するポートの識別情報に対応するエラーを出力することを特徴とする請求項1記載の制御プログラム。 The process of registering as the first status registers a combination of identification information of a port included in the device registered as the first status and identification information of a port included in another device different from the device. Then
The determination processing is performed by transmitting a request for transmitting connection information between ports related to the device to the device using the registered IP address, and when receiving connection information between the ports from the device, It is determined whether or not the registered combination is included in the setting information,
In the process of changing to the second status and registering, as a result of the determination, if all of the registered combinations are included in the setting information, the identification information is changed from the first status to the Change to the second status and register,
The process of outputting the error outputs an error corresponding to identification information of a port regarding a combination not included when the setting information does not include a part of the registered combination. The control program according to item 1.
登録した前記IPアドレスを用いて前記装置に対して前記装置に関する設定情報の送信依頼を送信して、前記装置から前記設定情報を受信した場合、前記設定情報に登録した前記装置のポートの識別情報が含まれるか否かを判定し、
判定した結果、前記設定した設定情報に、登録した前記識別情報がすべて含まれている場合には、前記識別情報の第1のステータスから第2のステータスに変更して登録し、
前記設定した設定情報に、登録した前記識別情報の一部が含まれない場合には、含まれない識別情報に関するポートに対応するエラーを出力する、
処理をコンピュータが実行することを特徴とする制御方法。 The IP address to be assigned to the device included in the monitored network is registered, and the identification information of the port included in the device is registered as the first status,
When the setting information transmission request for the device is transmitted to the device using the registered IP address and the setting information is received from the device, the identification information of the port of the device registered in the setting information. Is included,
As a result of the determination, when the set setting information includes all the registered identification information, the first status of the identification information is changed to the second status and registered,
When the set setting information does not include a part of the registered identification information, an error corresponding to the port regarding the identification information that is not included is output,
A control method characterized in that a computer executes a process.
登録した前記IPアドレスを用いて前記装置に対して前記装置に関する設定情報の送信依頼を送信して、前記装置から前記設定情報を受信した場合、前記設定情報に登録した前記装置のポートの識別情報が含まれるか否かを判定する判定部と、
判定した結果、前記設定した設定情報に、登録した前記識別情報がすべて含まれている場合には、前記識別情報の第1のステータスから第2のステータスに変更して登録する第2の登録部と、
前記設定した設定情報に、登録した前記識別情報の一部が含まれない場合には、含まれない識別情報に関するポートに対応するエラーを出力する出力部と、
を有することを特徴とする制御装置。 A first registration unit for registering an IP address to be assigned to a device included in the monitored network and for registering identification information of a port included in the device as a first status;
When the setting information transmission request for the device is transmitted to the device using the registered IP address and the setting information is received from the device, the identification information of the port of the device registered in the setting information. And a determination unit that determines whether or not
As a result of the determination, when the set setting information includes all the registered identification information, the second registration unit that changes the first status of the identification information to the second status and registers the changed status. When,
If the set setting information does not include a part of the registered identification information, an output unit that outputs an error corresponding to the port related to the identification information that is not included,
A control device having:
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2017/011876 WO2018173228A1 (en) | 2017-03-23 | 2017-03-23 | Control program, control method, and control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPWO2018173228A1 JPWO2018173228A1 (en) | 2019-11-07 |
| JP6737397B2 true JP6737397B2 (en) | 2020-08-05 |
Family
ID=63585933
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2019506861A Expired - Fee Related JP6737397B2 (en) | 2017-03-23 | 2017-03-23 | Control program, control method and control device |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP6737397B2 (en) |
| WO (1) | WO2018173228A1 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100449015B1 (en) * | 2002-11-28 | 2004-09-16 | 주식회사 엘지씨엔에스 | System and method for automatic management of network interface |
| AU2005331432B2 (en) * | 2005-04-25 | 2009-11-26 | Fujitsu Limited | Network design processing device and method, and program therefor |
| JP6167859B2 (en) * | 2013-11-06 | 2017-07-26 | 富士通株式会社 | Search method, search device, search program |
-
2017
- 2017-03-23 JP JP2019506861A patent/JP6737397B2/en not_active Expired - Fee Related
- 2017-03-23 WO PCT/JP2017/011876 patent/WO2018173228A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| JPWO2018173228A1 (en) | 2019-11-07 |
| WO2018173228A1 (en) | 2018-09-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12015519B2 (en) | Data processing method and apparatus, and computer storage medium | |
| CN104081371B (en) | Automated extension of cloud computing stamping | |
| US8782210B2 (en) | Network management control program, network management control device, and network management control method | |
| CN114553689A (en) | Connecting template | |
| US20130111036A1 (en) | Management method for network system, network system, and management server | |
| CN103368769B (en) | Method and apparatus for improving compatibility between network devices | |
| JP5111256B2 (en) | Communication system and server device | |
| JP2008219419A (en) | Access control setting support system | |
| US20170288998A1 (en) | Apparatus for processing network packet using service function chaining and method for controlling the same | |
| CN112866077A (en) | Large-scale automatic networking method, management system, equipment and storage medium for modality fusion | |
| CN104852840A (en) | Method and device for controlling mutual access between virtual machines | |
| US9363294B2 (en) | Management server, tenant pattern validation method, and computer system | |
| TWI636679B (en) | Virtual area network configuration system and method and computer program product thereof | |
| KR100714681B1 (en) | Network management device and method | |
| CN114827002A (en) | Multi-domain network security path calculation method, system, device, medium and terminal | |
| CN118118200A (en) | Efficient updating of device-level security configurations based on changes to security intent policy model | |
| CN111371608A (en) | Method, device and medium for deploying SFC service chain | |
| JPWO2018163259A1 (en) | Monitoring processing program, monitoring processing method, and monitoring apparatus | |
| JP6737397B2 (en) | Control program, control method and control device | |
| US12425312B2 (en) | Method, apparatus, and system for deploying service | |
| CN115834329B (en) | resource management system | |
| JP6246885B1 (en) | Route analysis processing apparatus and route analysis processing program | |
| JP5782393B2 (en) | Network resource distributed management method and program | |
| LEHOCINE et al. | VINEMA: Towards automated management of virtual networks in SDN infrastructures | |
| JP5373020B2 (en) | Control server, control method and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190711 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190711 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20200616 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200629 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6737397 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |