27.03.2014 Views

Moby Dick Consolidated System Integration Plan

Moby Dick Consolidated System Integration Plan

Moby Dick Consolidated System Integration Plan

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

D0103v1.doc Version 1 6.7.2003<br />

3. Deregistration time: DeAuthorizeProfile(NVUP) – AAAC signal QoSBroker to cancel resource<br />

usage by that user;<br />

Communication between AAAC and the QoSBroker is made using a COPS API, that implement COPSprotocol<br />

as messages aren't answered by the QoSBroker because of scalability reasons it was decided that<br />

the AAAC server shouldn't wait for the QoSBroker answer each time it sends a message.<br />

4.4.3.1.2 RouterInterface<br />

As was stated before RouterInterface is the interface to the routers. Figure 73 shows its internal<br />

composition.<br />

QBroker<br />

QBrokerEngine<br />

NetProbe<br />

VirtualRouter<br />

CLIDriver<br />

COPSDriver<br />

Linux Router<br />

Figure 73 - RouterInterface internals<br />

Here is the list of those components :<br />

• VirtualRouter: It chooses the driver that should to be used to communicate with some<br />

specific router;<br />

• CLIDriver: CLIDriver is the driver used to communicate with routers that we should<br />

communicate by Command Line Interface;<br />

• COPSDriver: COPSDriver is the driver used to communicate through COPS.<br />

The incoming messages from the routers that request some network resource are mapped from the<br />

COPSDriver directly to the QBrokerEngine. The outgoing messages, from the QBrokerEngine to the<br />

routers, messages to make some configuration, or simply to analyse the network status are passed to the<br />

VirtualRouter. Now we will describe in more detail these components and their implementation.<br />

4.4.3.1.2.1 VirtualRouter<br />

VirtualRouter, in Figure 74, is a kind of virtual driver that will interface the Router Interface and the<br />

router drivers that broker use to configure the routers. It will have a database that keeps information about<br />

the routers, its vendors, its models, and its communication format.<br />

When the Virtual router receives a message that it should send to a router, it should verify the routers<br />

communication format and use the correct driver to send that message. Like that we are able to have<br />

different protocols to be used to “talk” with different routers. Such an architecture was chosen because of<br />

the following reasons:<br />

• The program uses the drivers as an abstraction to communicate with all the routers without<br />

taking care about specific router communication details, making development easier;<br />

• Makes the program evolution easier, when a new router arise the only thing needed is to add a<br />

new entry in the database and add the specific router commands in the database.<br />

D0103v1.doc 99 / 168

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!