天天看點

opendaylight源碼下載下傳方式

1:gerrit方式下載下傳

gerrit是odl控制器源代碼官方存儲位置,在浏覽器中輸入https://git.opendaylight.org,點選Projects按下圖所示選擇所要下載下傳的源碼

opendaylight源碼下載下傳方式
opendaylight源碼下載下傳方式
opendaylight源碼下載下傳方式

以此方式即可分别下載下傳其他項目的源碼

2:github方式下載下傳

浏覽器輸入https://github.com/opendaylight,即可找到opendaylight各個項目的源碼,如下圖所示

opendaylight源碼下載下傳方式
opendaylight源碼下載下傳方式

下載下傳時選擇穩定版下載下傳,如圖所示:

opendaylight源碼下載下傳方式
opendaylight源碼下載下傳方式
opendaylight源碼下載下傳方式

按照上述步驟即可下載下傳全部所需項目源碼

3:git指令行方式下載下傳

安裝git軟體,初始化完成後,打開git bash輸入git clone https://git.opendaylight.org/gerrit/p/integration/distribution.git,如圖所示:

opendaylight源碼下載下傳方式
opendaylight源碼下載下傳方式

按照上述操作步驟,即可在初始化的git倉庫 中找到已下載下傳完成的源碼

注意:上述三種源碼擷取的方法隻是列舉了常用的幾個項目源碼擷取,如果要分析不同項目的源碼,則要根據需求下載下傳所需項目的源碼。

繼續閱讀