Skip to content

Commit

Permalink
English translation for chapter 1-1. (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
r12f authored Jul 31, 2023
1 parent 01f9480 commit bd7dd6e
Showing 1 changed file with 49 additions and 53 deletions.
102 changes: 49 additions & 53 deletions po/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,10 @@ msgid ""
"如果你自己就拥有一台交换机,或者想购买一台交换机,在上面安装SONiC,那么请认真"
"阅读这一小节,否则可以自行跳过。:D"
msgstr ""
"If you own a switch yourself, or plan to buy one and install SONiC on it, "
"please read this section carefully; otherwise, you can skip over it. :D"
"If you own a switch yourself or plan to buy one, then install SONiC on it, "
"please read this section carefully; otherwise, feel free skip it. :D"

#: src/1-1-install.md:5
#: src/1-1-install.md:5S
msgid "## 交换机选择和SONiC安装"
msgstr "## Switch Selection and SONiC Installation"

Expand All @@ -370,11 +370,11 @@ msgid ""
"[SONiCDevices]找到,如果你的交换机型号不在列表中,那么就需要联系厂商,看看是"
"否有支持SONiC的计划。有很多交换机是不支持SONiC的,比如:"
msgstr ""
"First, please confirm whether your switch supports SONiC. The switch models "
"First, please confirm whether your switch supports SONiC or not. The switch models "
"currently supported by SONiC can be found [here][SONiCDevices]. If your "
"switch model is not on the list, you will need to contact the manufacturer "
"to see if there is a plan to support SONiC. Many switches do not support "
"SONiC, for example:"
"to see if there is a plan to support SONiC. Many switches do not have "
"SONiC support yet, for example:"

#: src/1-1-install.md:9
msgid ""
Expand All @@ -384,21 +384,21 @@ msgid ""
"2. 有些虽然是数据中心用的交换机,但是可能由于型号老旧,厂商并没有计划支持"
"SONiC。"
msgstr ""
"1. The typical home switches have relatively low hardware configurations "
"(even though they support high bandwidth, such as [MikroTik CRS504-4XQ-IN]"
"1. Typical home switches: They usually have relatively low hardware specs "
"(even though some of them have high bandwidth support, such as [MikroTik CRS504-4XQ-IN]"
"[MikroTik100G], it supports 100GbE network, but it only has 16MB of Flash "
"storage and 64MB of RAM, so it can basically only run its own RouterOS).\n"
"2. Some are data center switches, but perhaps due to outdated models, "
"storage and 64MB of RAM, so basically, it can only run its own NOS - RouterOS).\n"
"2. Some data center switches might be outdated models, and "
"manufacturers have no plans to support SONiC."

#: src/1-1-install.md:12
msgid ""
"对于安装过程,由于每一家厂商的交换机设计不同,其底层接口各有差别,所以,其安"
"装方法也都有所差别,这些差别主要集中在两个地方:"
msgstr ""
"Regarding the installation process, because every manufacturer's switch "
"design is different and the underlying interfaces vary, the installation "
"methods are also different. These differences mainly concentrate in two "
"Regarding the installation process, because different switches from different manufacturers "
"might have very different design, the installation "
"process can also be different. These differences show up in two major "
"areas:"

#: src/1-1-install.md:14
Expand All @@ -410,24 +410,23 @@ msgid ""
"2. 每个厂商的交换机也会支持不同的安装方式,有一些是直接使用USB对ROM进行"
"Flash,有一些是通过ONIE进行安装,这也需要根据自己的交换机来进行配置。"
msgstr ""
"1. Every manufacturer will have their own [SONiC Build][SONiCDevices], and "
"some manufacturers will further expand development on top of SONiC, "
"1. Every manufacturer will have their own [SONiC Builds][SONiCDevices], and "
"some manufacturers will create their own version of SONiC on top of the original one, "
"supporting more functions for their switches. For example:[Dell Enterprise "
"SONiC][DellSonic], [EdgeCore Enterprise SONiC][EdgeCore SONiC]. Therefore, "
"the version needs to be chosen according to one's own switch.\n"
"2. Each manufacturer's switch will also support different installation "
"methods. Some are directly used with USB to flash the ROM, and some are "
"installed through ONIE. This also needs to be configured according to one's "
"own switch."
"we need to choose the right version carefully according your switch.\n"
"2. Different switch might also have different installation "
"process. Some of them are directly installed from USB by flashing the ROM, and some of them "
"using ONIE. This also needs to be checked according to your switch."

#: src/1-1-install.md:17
msgid ""
"所以,虽然安装方法各有差别,但是总体而言,安装的步骤都是差不多的。请联系自己"
"的厂商,获取对应的安装文档,然后按照文档进行安装即可。"
msgstr ""
"So, although the installation methods vary, in general, the installation "
"steps are similar. Please contact your vendor for the corresponding "
"installation documentation, and then just follow it."
"So, although the installation process may vary, in general, the installation "
"steps are similar. Please contact your vendor for the detailed "
"installation documentation, and then follow it through."

#: src/1-1-install.md:19
msgid "## 配置交换机"
Expand All @@ -438,8 +437,8 @@ msgid ""
"安装好之后,我们需要进行一些基础设置,部分设置是通用的,我们在这里简单总结一"
"下。"
msgstr ""
"After installation, we need to do some basic settings, some of which are "
"generic, and we'll briefly summarize them here."
"Once SONiC is installed, we need to do some basic settings, some of which are "
"common, no matter which type of switch you are using, and we'll briefly summarize them here."

#: src/1-1-install.md:23
msgid "### 设置admin密码"
Expand All @@ -448,8 +447,8 @@ msgstr "### Set admin password"
#: src/1-1-install.md:25
msgid "默认SONiC的账号密码是admin:YourPaSsWoRd,使用默认密码显然不安全:"
msgstr ""
"The default SONiC account password is admin:YourPaSsWoRd, using the default "
"password is obviously not secure::"
"The default SONiC account and password is admin:YourPaSsWoRd, using the default "
"password is obviously not secure. So, please remember to change it:"

#: src/1-1-install.md:27
msgid ""
Expand All @@ -474,9 +473,9 @@ msgid ""
msgstr ""
"The switch fans in the data center are exceptionally loud! For example, the "
"switch I use is Arista 7050QX-32S, which has 4 fans on it and can go up to "
"17,000 rpm. When I put it in the garage, the high frequency whine can still "
"be heard even on the second floor through 3 walls, so if you are using it at "
"home, it is recommended to make some settings to turn down the speed."
"17,000 rpm. Although I put it in my garage, the high frequency whine can still "
"be heard even on the second floor behind 3 walls, so if you are using it at "
"home, it is recommended to change some settings to turn down the speed."

#: src/1-1-install.md:35
msgid ""
Expand Down Expand Up @@ -541,25 +540,25 @@ msgstr ""

#: src/1-1-install.md:56
msgid "### 设置交换机Management Port IP"
msgstr "### Set the switch Management Port IP"
msgstr "### Set management port IP"

#: src/1-1-install.md:58
msgid ""
"一般的数据中心用的交换机都提供了Serial Console连接的方式,但是其速度实在是太"
"慢了,所以我们在安装完成之后,都会尽快的把Management Port给设置好,然后通过"
"SSH的方式来进行管理。"
msgstr ""
"The general switch for data center provides Serial Console connection, but "
"its speed is too slow, so we will set up the Management Port as soon as "
"possible after installation, and then manage it through SSH."
"The data center switches usually provides Serial Console connection, but "
"its speed is too slow, so it is better for us to have the Management Port set up as soon as "
"possible, then we can use SSH to manage it, which is way faster."

#: src/1-1-install.md:60
msgid ""
"一般来说,management port的设备名是eth0,所以我们可以通过SONiC的配置命令来进"
"行设置:"
msgstr ""
"Generally, the device name of the management port is eth0, so we can set it "
"by using the SONiC configuration command:"
"by using the following SONiC command:"

#: src/1-1-install.md:62
msgid ""
Expand Down Expand Up @@ -628,9 +627,8 @@ msgid ""
"所以我们需要创建一个新的网络配置,然后将我们使用的Port都放入到这个网络配置"
"中。这里简单的方法就是创建一个VLAN,使用VLAN Routing:"
msgstr ""
"So we need to create a new network configuration and put all the ports we "
"use into this network configuration. The easy way to do this here is to "
"create a VLAN, using VLAN Routing::"
"So we need to update the network configuration of the ports we like to use. The easiest way is to "
"create a VLAN, then put all the ports into the VLAN, so we can use VLAN Routing to route the packets:"

#: src/1-1-install.md:86
msgid ""
Expand Down Expand Up @@ -680,7 +678,7 @@ msgstr ""

#: src/1-1-install.md:106
msgid "这样就完成了,我们可以通过show vlan brief来查看一下:"
msgstr "This is done, and we can take a look at it by showing vlan brief at"
msgstr "That's it! Now, we can take a look at it by running `show vlan brief`:"

#: src/1-1-install.md:108
msgid ""
Expand Down Expand Up @@ -725,33 +723,31 @@ msgid ""
"如果你家里只有一台主机使用多网口连接交换机进行测试,那么我们还需要在主机上进"
"行一些配置,以保证流量会通过网卡,流经交换机,否则,请跳过这一步。"
msgstr ""
"If you only have one host in your house using multiple network ports "
"connected to the switch for testing, then we also need to do some "
"configuration on the host to ensure that traffic will pass through the NIC "
"and flow through the switch, otherwise, please skip this step."
"If you only have one machine and try to connect a dual-port NIC to your switch for testing, "
"then we also need to do some "
"configuration on the machine to ensure that traffic will go through the NIC "
"and switch, otherwise, feel free to skip this step."

#: src/1-1-install.md:123
msgid ""
"这里网上的攻略很多,比如使用iptables中的DNAT和SNAT创建一个虚拟地址,但是过程"
"非常繁琐,经过一些实验,我发现最简单的办法就是将其中一个网口移动到一个新的网"
"络命名空间中,就可以了,即便使用的是同一个网段的IP,也不会有问题。"
msgstr ""
"There are many cheats on the internet here, such as using DNAT and SNAT in "
"iptables to create a virtual address, but the process is very tedious. After "
"some experiments, I found that the easiest way is to move one of the network "
"ports to a new network namespace, and you will be fine, even if you are "
"using the IP of the same network segment."
"There are many guidances on the internet here, such as using iptable DNAT and SNAT rules "
"to create a virtual address, but the process is very tedious. After "
"some experiments, I found that the easiest way is to simply move one of the nic "
"into a new network namespace, even if you are using the IP of the same network segment."

#: src/1-1-install.md:125
msgid ""
"比如,我家使用的是Netronome Agilio CX 2x40GbE,它会创建两个interface:"
"`enp66s0np0`和`enp66s0np1`,我们这里可以将`enp66s0np1`移动到一个新的网络命名"
"空间中,再配置好ip地址就可以了:"
msgstr ""
"For example, my house uses Netronome Agilio CX 2x40GbE, which creates two "
"interfaces: `enp66s0np0` and `enp66s0np1`, and we can move `enp66s0np1` here "
"to a new network namespace, and then configure the ip address to do the "
"following:"
"For example, I uses Netronome Agilio CX 2x40GbE, which creates two "
"interfaces: `enp66s0np0` and `enp66s0np1`. With the following commands, we can move `enp66s0np1` "
"to a new network namespace and give it a ip address:"

#: src/1-1-install.md:127
msgid ""
Expand Down Expand Up @@ -784,7 +780,7 @@ msgstr ""
#: src/1-1-install.md:140
msgid "这样就可以了,我们可以通过iperf来测试一下,并在交换机上进行确认:"
msgstr ""
"This will work, and we can test it with iperf and confirm on the switch that"
"That's it! Now, we can now test our setup with iperf and confirm the traffic on switch:"

#: src/1-1-install.md:142
msgid ""
Expand Down

0 comments on commit bd7dd6e

Please sign in to comment.