![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
*************************************QNI
[root at localhost nsis_0.3.0]# bin/nsis
Using 10.10.2.2 as local IPv4 address
Using 10.10.2.2 as local IPv4 address
NSIS daemon v0.2 starting ...
My PID id = 3911
FD is -1
[root at localhost nsis_0.3.0]# bin/qos_client RESERVE 10.10.1.1 2 0 RII
send RESERVE message to 10.10.1.1
Additional Info: command 0 - flags 2 - genericflags 0 - Objects: RII
sid: df961185ab4b3b0dc1c5e36fe44b64b4
[root at localhost nsis_0.3.0]# bin/qos_server
Using 10.10.2.2 as local IPv4 address
Using 10.10.2.2 as local IPv4 address
QoSServer::createServerSocket
QoS: connected to GIST server
QoS: client connected
New QNI fsm
Additional Info: command 0 - flags 2 - genericflags 0 - Objects: RII
dstAddr : 10.10.1.1
QNI - RESERV triggered
new sid: df961185ab4b3b0dc1c5e36fe44b64b4
setNslpState sid: df961185ab4b3b0dc1c5e36fe44b64b4
We are QNI !
** Flags: T:0, A:1, R:0, S:0
triggerEvent: ST_IDLE(0) EV_TG_RESERVE(5)
QosFsmQni::idle__tg_reserve()
srcAddr : 10.10.2.2
destAddr: 10.10.1.1
msg length = 24
transition to: ST_WR2(2)
SID: sid: df961185ab4b3b0dc1c5e36fe44b64b4
QOS NSLP message type: 0x03 = RESPONSE
We are QNI !
incoming msg length = 20
+ nslpheader:++ type: 0003 ++ payload size: 20 bytes
+ commonobjectheader:++ Message Type: 1 ++ Message Length: 1
+ RII object:++ Content: 116552700
+++ offset: 12
+ commonobjectheader:++ Message Type: 5 ++ Message Length: 1
+ QOS_INFOSPEC object:++ InfoSpec 0x02 0x20 0x00 0x00
+++ offset: 20
* finished message parsing
** Flags: T:0, A:0, R:0, S:0
triggerEvent: ST_WR2(2) ST_RX_RESPONSE(2)
QosFsmQni::wr2__rx_response()
+ nslpheader:++ type: 0003 ++ payload size: 20 bytes
+ commonobjectheader:++ Message Type: 1 ++ Message Length: 1
+ RII object:++ Content: 116552700
+++ offset: 12
+ commonobjectheader:++ Message Type: 5 ++ Message Length: 1
+ QOS_INFOSPEC object:++ InfoSpec 0x02 0x20 0x00 0x00
+++ offset: 20
* finished message parsing
QosFsmQni::si__rx_response: RII: 0x06f273fc, E_SPEC=0x02
transition to: ST_STATEINST(4)
************************************************************QNE
[root at localhost nsis_0.3.0]# bin/nsis
Using 10.10.1.2 as local IPv4 address
Using 10.10.2.1 as local IPv4 address
NSIS daemon v0.2 starting ...
My PID id = 3135
FD is -1
*** There is NO MA that could be reused! ***
*** GistException: Connection reset by peer ***
*** GistException: Connection reset by peer ***
[root at localhost nsis_0.3.0]# bin/qos_server
Using 10.10.1.2 as local IPv4 address
Using 10.10.2.1 as local IPv4 address
QoSServer::createServerSocket
QoS: connected to GIST server
unknown session
addr: 10.10.1.1
l.IP 1: 10.10.1.2
l.IP 2: 10.10.2.1
New QNE fsm
We are Entity (QNE)
setNslpState sid: df961185ab4b3b0dc1c5e36fe44b64b4
SID: sid: df961185ab4b3b0dc1c5e36fe44b64b4
QOS NSLP message type: 0x01 = RESERVE
We are QNE !
incoming msg length = 24
+ nslpheader:++ type: 0001 ++ payload size: 24 bytes
+ commonobjectheader:++ Message Type: 4 ++ Message Length: 2
+ RSN object: ++ Sequence number: 1 ++ EpochID: 1149038067
+++ offset: 16
+ commonobjectheader:++ Message Type: 1 ++ Message Length: 1
+ RII object:++ Content: 116552700
+++ offset: 24
* finished message parsing
** Flags: T:0, A:1, R:0
** RII:1, RMF:1, SCOP:0
triggerEvent: ST_IDLE(0) EV_RX_RESERVE(1)
QosFsmQne::idle__rx_reserve()
+ nslpheader:++ type: 0001 ++ payload size: 24 bytes
+ commonobjectheader:++ Message Type: 4 ++ Message Length: 2
+ RSN object: ++ Sequence number: 1 ++ EpochID: 1149038067
+++ offset: 16
+ commonobjectheader:++ Message Type: 1 ++ Message Length: 1
+ RII object:++ Content: 116552700
+++ offset: 24
* finished message parsing
SendMessage(srcIP: 10.10.2.2, destIP: 10.10.1.1)
transition to: ST_STATEINST(4)
SID: sid: df961185ab4b3b0dc1c5e36fe44b64b4
QOS NSLP message type: 0x03 = RESPONSE
We are QNE !
incoming msg length = 20
+ nslpheader:++ type: 0003 ++ payload size: 20 bytes
+ commonobjectheader:++ Message Type: 1 ++ Message Length: 1
+ RII object:++ Content: 116552700
+++ offset: 12
+ commonobjectheader:++ Message Type: 5 ++ Message Length: 1
+ QOS_INFOSPEC object:++ InfoSpec 0x02 0x20 0x00 0x00
+++ offset: 20
* finished message parsing
** Flags: T:0, A:0, R:0
** RII:1, RMF:1, SCOP:0
triggerEvent: ST_STATEINST(4) ST_RX_RESPONSE(2)
QosFsmQne::si__rx_response()
+ nslpheader:++ type: 0003 ++ payload size: 20 bytes
+ commonobjectheader:++ Message Type: 1 ++ Message Length: 1
+ RII object:++ Content: 116552700
+++ offset: 12
+ commonobjectheader:++ Message Type: 5 ++ Message Length: 1
+ QOS_INFOSPEC object:++ InfoSpec 0x02 0x20 0x00 0x00
+++ offset: 20
* finished message parsing
SendMessage(srcIP: 10.10.2.2, destIP: 10.10.1.1)
transition to: ST_STATEINST(4)
*****************************************QNR
# bin/nsis
Using 10.10.1.1 as local IPv4 address
Using 10.10.1.1 as local IPv4 address
NSIS daemon v0.2 starting ...
My PID id = 3077
FD is -1
*** There is NO MA that could be reused! ***
[root at localhost nsis_0.3.0]# bin/qos_server
Using 10.10.1.1 as local IPv4 address
Using 10.10.1.1 as local IPv4 address
QoSServer::createServerSocket
QoS: connected to GIST server
unknown session
addr: 10.10.1.1
l.IP 1: 10.10.1.1
New QNR fsm
We are End Node (QNR)
setNslpState sid: df961185ab4b3b0dc1c5e36fe44b64b4
SID: sid: df961185ab4b3b0dc1c5e36fe44b64b4
QOS NSLP message type: 0x01 = RESERVE
We are QNR !
incoming msg length = 24
+ nslpheader:++ type: 0001 ++ payload size: 24 bytes
+ commonobjectheader:++ Message Type: 4 ++ Message Length: 2
+ RSN object: ++ Sequence number: 1 ++ EpochID: 1149038067
+++ offset: 16
+ commonobjectheader:++ Message Type: 1 ++ Message Length: 1
+ RII object:++ Content: 116552700
+++ offset: 24
* finished message parsing
** Flags: T:0, A:1, R:0, S:0
triggerEvent: ST_IDLE(0) EV_RX_RESERVE(1)
QosFsmQnr::idle__rx_reserve()
+ nslpheader:++ type: 0001 ++ payload size: 24 bytes
+ commonobjectheader:++ Message Type: 4 ++ Message Length: 2
+ RSN object: ++ Sequence number: 1 ++ EpochID: 1149038067
+++ offset: 16
+ commonobjectheader:++ Message Type: 1 ++ Message Length: 1
+ RII object:++ Content: 116552700
+++ offset: 24
* finished message parsing
srcAddr : 10.10.2.2
destAddr: 10.10.1.1
msg length = 20
respnse msg sent
transition to: ST_STATEINST(4)
Thanks very much.
Best wishes!
Liao Peizhen
_______________________________________________ NSIS-imp mailing list NSIS-imp at lists.ietf.org https://www1.ietf.org/mailman/listinfo/nsis-imp