Moby Dick Consolidated System Integration Plan

Moby Dick Consolidated System Integration Plan Moby Dick Consolidated System Integration Plan

kt.agh.edu.pl
from kt.agh.edu.pl More from this publisher
27.03.2014 Views

D0103v1.doc Version 1 6.7.2003 static int PFKey::get_spi() static void PFKey::free_spi(int spi) static int URPFWMgr::init() static int URPFWMgr::allow6(const char *in_dev, struct in6_addr *v6addr) static int URPFWMgr::forbid6(struct in6_addr *v6addr) 4.2.3.7 Interface between AAAC Attendant and metering The metering attendant can read out the data from the Accounting database on request coming from the AAAC Attendant. It is expected that data of the accounting database is red out in permanent intervals (about 3 minutes). The data red out will be deleted at the accounting database in order to keep the size of this database small and the whole system scalable. This reading intervals will be triggered by the AAAC Attendant via a C API which is described in the following: AAAC client can get accounting data through a function call (Get_Meter_Data). Additionally, the C Lib can also give AAAC client two functions as required in [1]: Meter_Start() and Meter_Stop(). struct st_accdata { char *date; char *time; char *sourcepeeraddress; char *destpeeraddress; unsigned int inputOctets; //fromoctets unsigned int outputOctets; //tooctets unsigned int inputPackets; //frompdus unsigned int outputPackets; //fromoctets unsigned int destPort; unsigned int dscp; struct st_acctdata *next } Figure 53: Meter Attendant API – data format Parameters of the Meter_Start message are Session_ID and CoA. Para meters of the get_Meter are the Session_ID. The Meter_Stop parameter is the Session_ID only. The Session_ID will be created and maintained by the AAAC Attendant. This session_ID will be combined with a CoA after Meter_Start is called. AAAC client can use it to get Accounting data from meter and inform meter to stop counting for this CoA. Get_Meter_Data return a pointer to the structure. The accounting data are stored in this structure list. The list end with a null point in next. 4.2.3.8 Interface between AAAC attendant and Fast Handover module 4.2.3.8.1 Description The AAAC attendant module has an interface to the Fast Handover (FHO) module, which is a kernel space module. These modules interact with each other to transfer the context from the old access router (oAR) to the new access router (nAR). This is illustrated in the figure below. On receiving a “Router Solicitation for Proxy” message form the MN, the FHO module at the old access router requests the AAAC Attendant for the context associated with the MN. The FHOmodule executes the function “StartCtxTransfer” which contains identification of the message (MesgType) e.g. StartCtxTransfer, SendctxToAtt or SendctxToFHO and the length of this message In case of an intra-domain fast handover, which is the only kind of FAST Handover to be considered within Moby Dick, transferring the related context between the oAR and the nAR performs reestablishment of related AAAC context on the nAR. This requires control primitives to be exchanged locally between the old and new Air’s HO module and the AAAC attendant. Context has to be requested from the AAAC attendant on the oAR on reception of the Router Solicitation for Proxy. To identify the respective mobile terminal, the old CoA is used as an identifier on the oAR. The context is to be attached to the Fast-HO CT extension and conveyed to the nAR through the HI message. On the nAR, the context D0103v1.doc 70 / 168

D0103v1.doc Version 1 6.7.2003 is to be passed to the AAAC attendant module, providing also the nCoA as identifier for the new binding. The following figure repeats the fast handover message flow, whereas the important messages for the AAAC context transfer are numbered 3 and 5 and the colored messages, marked with A,B,C and X, are not considered in the following description. After the Mobile Terminal initialized the handover via the Proxy Router Advertisement (msg. 2), the FHO module should: • Get the WP4 context from the AAAC on the oAR before Msg 3 (fig. above) • Include the WP4 context in the Handover initiate (msg. 3) and sent it to the nAR • Give the WP4 context to the AAAC attendant on the nAR (fig above) The context will consist of a Type Length Value TLV structure that is opaque to the FHO module. The parameters passed from the AAAC attendant to the MT registration module are also passed in a TLV structure. Old AR New AR User Space AAA Att. User Space AAA Att. 1. Trigger ctxTran FHO Mod. Kernel 2. CtxtoFHO 3. Handover Initiate FHO Mod. Kernel 4. CtxtoAtt Figure 54: FHO module and Attendant interaction during FHO 4.2.3.8.2 Interface mechanisms After the handover is initiated via the Proxy Router Advertisement (msg. 2) by the Mobile Node, the oAR needs the AAAC context before contacting the nAR and triggers the ATT to relay the AAAC context to the FHO module (see figure below: step 1), which is performed in step 2 (figure below). The context is included in the Handover initiate message to the nAR (step 3, figure below) where it is given to the respective AAAC attendant in step4. The figure below shows the interaction between the different entities involved in detail. On receiving a “Router Solicitation for Proxy” message form the MN, the FHO module at the old access router requests the AAAC Attendant for the context associated with the MN. The FHOmodule executes the function “StartCtxTransfer” which contains identification of the message (MesgType) e.g. StartCtxTransfer, SendctxToAtt or SendctxToFHO and the length of this message. The parameters of the respective messages will be presented in detail below. 4.2.3.8.3 Interface contents The contents of the context are as follows Context { Auth-Lifetime }; { Session-Timeout }; /* what's left of it */ { ATT-MN-SPI }; { MIPv6-Mobile-Node-Address }; { MIPv6-CO-Address }; { AR-Address }; D0103v1.doc 71 / 168

D0103v1.doc Version 1 6.7.2003<br />

static int PFKey::get_spi()<br />

static void PFKey::free_spi(int spi)<br />

static int URPFWMgr::init()<br />

static int URPFWMgr::allow6(const char *in_dev,<br />

struct in6_addr *v6addr)<br />

static int URPFWMgr::forbid6(struct in6_addr *v6addr)<br />

4.2.3.7 Interface between AAAC Attendant and metering<br />

The metering attendant can read out the data from the Accounting database on request coming from the<br />

AAAC Attendant. It is expected that data of the accounting database is red out in permanent intervals<br />

(about 3 minutes). The data red out will be deleted at the accounting database in order to keep the size of<br />

this database small and the whole system scalable. This reading intervals will be triggered by the AAAC<br />

Attendant via a C API which is described in the following:<br />

AAAC client can get accounting data through a function call (Get_Meter_Data). Additionally, the C Lib<br />

can also give AAAC client two functions as required in [1]: Meter_Start() and Meter_Stop().<br />

struct st_accdata<br />

{<br />

char *date;<br />

char *time;<br />

char *sourcepeeraddress;<br />

char *destpeeraddress;<br />

unsigned int inputOctets; //fromoctets<br />

unsigned int outputOctets; //tooctets<br />

unsigned int inputPackets; //frompdus<br />

unsigned int outputPackets; //fromoctets<br />

unsigned int destPort;<br />

unsigned int dscp;<br />

struct st_acctdata *next<br />

}<br />

Figure 53: Meter Attendant API – data format<br />

Parameters of the Meter_Start message are Session_ID and CoA. Para meters of the get_Meter are the<br />

Session_ID. The Meter_Stop parameter is the Session_ID only.<br />

The Session_ID will be created and maintained by the AAAC Attendant. This session_ID will be<br />

combined with a CoA after Meter_Start is called. AAAC client can use it to get Accounting data from<br />

meter and inform meter to stop counting for this CoA.<br />

Get_Meter_Data return a pointer to the structure. The accounting data are stored in this structure list. The<br />

list end with a null point in next.<br />

4.2.3.8 Interface between AAAC attendant and Fast Handover module<br />

4.2.3.8.1 Description<br />

The AAAC attendant module has an interface to the Fast Handover (FHO) module, which is a kernel<br />

space module. These modules interact with each other to transfer the context from the old access router<br />

(oAR) to the new access router (nAR). This is illustrated in the figure below.<br />

On receiving a “Router Solicitation for Proxy” message form the MN, the FHO module at the old access<br />

router requests the AAAC Attendant for the context associated with the MN. The FHOmodule executes<br />

the function “StartCtxTransfer” which contains identification of the message (MesgType) e.g.<br />

StartCtxTransfer, SendctxToAtt or SendctxToFHO and the length of this message<br />

In case of an intra-domain fast handover, which is the only kind of FAST Handover to be considered<br />

within <strong>Moby</strong> <strong>Dick</strong>, transferring the related context between the oAR and the nAR performs reestablishment<br />

of related AAAC context on the nAR. This requires control primitives to be exchanged<br />

locally between the old and new Air’s HO module and the AAAC attendant. Context has to be requested<br />

from the AAAC attendant on the oAR on reception of the Router Solicitation for Proxy. To identify the<br />

respective mobile terminal, the old CoA is used as an identifier on the oAR. The context is to be attached<br />

to the Fast-HO CT extension and conveyed to the nAR through the HI message. On the nAR, the context<br />

D0103v1.doc 70 / 168

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

Saved successfully!

Ooh no, something went wrong!