Giter Club home page Giter Club logo

sonic-book's Introduction

Getting Started with SONiC

Build Pipeline

Version: Chinese | English (Machine Translated, WIP)

What is SONiC?

Software for Open Networking in the Cloud (SONiC) is an open source network operating system (NOS) based on Linux that runs on switches from multiple vendors and ASICs. SONiC offers a full suite of network functionality, like BGP and RDMA, that has been production-hardened in the data centers of some of the largest cloud service providers. It offers teams the flexibility to create the network solutions they need while leveraging the collective strength of a large ecosystem and community.

-- from SONiC Foundation

You might be interested in SONiC because it is powerful enough to suite your need, or maybe it looks pratical and promising enough due to the usage of Azure, or maybe its architecture is flexiable enough to allows you easily extend and satify your needs. However, you might found yourself lost in the ocean of documents and code - either because the documents being too high level and not hands-on enough or being too deep on each specific feature such as all the High Level Design docs. And now wondering how and where to actually start.

If you are in this situation, then this book is for you.

"Getting Started with SONiC" / "SONiC入门指南" is a book that intended to help people actually getting started on SONiC. It contains a series of tutorials that will guide you through the process of building a SONiC image, deploying it on a switch or virtually, and using it to do some basic network operations to get hands on, as well as introducing the high level architecture, code base, and typical workflows to help you understand how it works internally and get started on development.

The book is currently in Chinese(中文) and English version is still working in progress. If you like this books, please give it a star, or join the effort of authoring, bug fixing or translations by submitting PRs.

How to build

Prerequisites

  1. Install just by following the installation guide. We use just instead of make, because it is easier to manage and use.
  2. Install powershell by following the installation guide. This is because we use powershell as our make file script engine, so we can run our book on any platform.
  3. Run just init for installing mdbook and related pluins. This is one time initialization.

Build

Simply run just build to build the book. The output will be in book folder.

Serve

Run just serve to serve the book locally. You can then visit http://localhost:3000 to view the book.

If we need to serve the book with specific translation, we can run just po-serve <lang>. For example, just po-serve en will serve the book in English.

Acknowledgement

Huge thanks to the following friends for their help and contribution, without you there would be no this book!

@bingwang-ms

License

This book is licensed under CC BY-NC-SA 4.0.

sonic-book's People

Contributors

r12f avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sonic-book's Issues

关于英文目录构建的问题

Hi 大佬我又来问问题了


背景:

今天把 cloud-translate 的问题搞定了,目前我可以将中文文件使用 google-cloud 赠送的 token 进行翻译,
10.17 我问了 mdbook-i18n 的 author : "如何添加 toggle language 的 btn?", 他说需要自己 hack, 自己写 .hbsjs
然后我 git clone 您的 sonic-book 打算先按照现有的最佳实践部署一个试试


部署完成后,我发现仍然无法访问英文文件 [lol]

  • https://demian101.github.io 这个网站,当点击切换英文的按钮时,会导航到 https://demian101.github.io/en/ 页面,并且报错 /en 文件不存在,
  • 所以,我推测我缺少了一些生成 /en 文件的操作,所以想问问您,是如何构建英文文件的目录的?

Add `# fuzzy` Support

Hi, GREAT Work!!

Could you please add support for #, fuzzy after AI translation?

The main reason is to facilitate retrieval of which translations need review and correction.

like this:

#: src/SUMMARY.md:54
#, fuzzy
msgid "....."
msgstr ",,,,,"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.