Brite生成網(wǎng)絡(luò)拓?fù)?/h2>

Brite的下載與安裝

見官網(wǎng):http://www.cs.bu.edu/brite
與github:https://github.com/unly/brite
官網(wǎng)與github上都有詳細(xì)的下載安裝步驟,注意系統(tǒng)需要java環(huán)境。
目前Brite有C++和Java兩種版本,但是C++版本不支持可視化界面,我這里用的是java版本。

Brite生成拓?fù)?/h3>

Brite可生成的拓?fù)漕愋停═opology Type)有以下四種:

  • 1 Level:AS ONLY
  • 1 Level:ROUTER(IP) ONLY
  • 2 Level:TOP-DOWN
  • 2 Level:BOTTOM-UP
    我們以 1 Level:AS ONLY為例,界面如下:


    image.png

    在下方的參數(shù)設(shè)置里,我們主要來看看主要的幾個(gè)參數(shù):

  • HS:表示拓?fù)淦矫嬉粋?cè)的大小
  • LS:表示拓?fù)淦矫嬉粋?cè)對應(yīng)面積的大小
  • N:表示節(jié)點(diǎn)數(shù),其中N < HS * LS
  • Model:模型
    其他參數(shù)選擇默認(rèn)即可,按需要去更改,其他參數(shù)如下:


    image.png

    這里我們設(shè)置HS為100,N為100,LS為10,Model為Waxman。
    在location那輸入導(dǎo)出的文件名,輸入test,后面的Browse可以選擇存儲(chǔ)路徑,選擇Formats為BRITE。


    image.png

    然后點(diǎn)擊Build Topology:
    image.png

    最后看一下路徑下已經(jīng)有了一個(gè)test.brite了:
    image.png

    cat一下這個(gè)文件看看:
    node節(jié)點(diǎn)部分信息:


    image.png

    節(jié)點(diǎn)格式(從左至右):
  • NodeId:Unique id for each node
  • xpos:x-axis coordinate in the plane
  • ypos:y-axis coordinate in the plane
  • indegree:Indegree of the node
  • outdegree:Outdegree of the node
  • ASid: id of the AS this node belongs to (if hierarchical)
  • type:Type assigned to the node (e.g. router, AS)

邊部分信息:


image.png

邊格式(從左至右):

  • EdgeId:Unique id for each edge
  • from:node id of source
  • to:node id of destination
  • length:Euclidean length
  • delay:propagation delay
  • bandwidth:bandwidth (assigned by AssignBW method)
  • ASfrom:if hierarchical topology, AS id of source node
  • ASto:if hierarchical topology, AS id of destination node
  • type:Type assigned to the edge by classification routine

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請結(jié)合常識與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容