3.1 ,:
1.
2. ()
3. UDP
4.
4.
4.1
, Lsr.py(Lsr.javaLsr.c)
TXT,IDNo ,ID
, ,() ,
A,B C( Lsr.py Python ):
Python Lsr.py A.txt, ,: configA.txt:
A 5000
2
B 6.5 5001 C 2.2 5002
configA.txt
A
(A) ID 5000() , ,,
B 6.5, 5001 ID , 10 , IP A ,(), , ,,, A B 6.5, B A 6.5 ,
:, ()
,,CS E, CSE,CSE CSE
1 :
,, ,( ), , ())
, ,, ,,( )
_ 1 ,
UDP,UDP, ,,
No A ID ,A.txt
UDP, ,, TCP,.
, ,Dijkstra, ROUTE_UPDATE_INTERVAL(30),Dijkstra 10,1, ,
Dijkstra,,() A :
A
B :ACB, 14.2 C:, 2.5
,ROUTE_UPDATE_INTERVAL,( ),, 1030 ,
(), UPDATE_INTERVAL Dijkstra ,ROUTE_UPDATE_INTERVAL (, CTRL-C)
:,; ,,(
1) B ACD EC,B D. , D B ( B ) D C,D
4.1
6 A , D
1: t
6, :A 5000,B 5001,C 5002,D 5003,E 5004 F 5005,, CSE , CSE ,
D A :
A
C:AFDC , 4.5 B:AFDCB , 5.6 E:AFDE , 5.8 D:AFD , 2.9 F:AF , 2.2
Reviews
There are no reviews yet.