• Stars
    star
    189
  • Rank 203,616 (Top 5 %)
  • Language
    Python
  • Created almost 6 years ago
  • Updated 24 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

VyOS readthedocs

Starting with VyOS 1.2 (crux) our documentation is being migrated from the old wiki to ReadTheDocs. Documentation can be accessed via the following URL: https://docs.vyos.io

Our old WiKi can still be accessed from the Wayback Machine

Build

Documentation Status

Versions

Our version follows the very same branching scheme as the VyOS source modules itself. We maintain one documentation branch per VyOS release. The default branch that contains the most recent VyOS documentation is called master and matches the latest VyOS release which is 1.4 at the time.

All new documentation enhancements go to the master branch. If those changes are beneficial for previous VyOS documentation versions they will be cherry-picked to the appropriate branch(es).

Post-1.2.0 branches are named after constellations sorted by area from smallest to largest. There are 88 of them, here's the complete list.

  • 1.2.x: crux (Southern Cross)
  • 1.3.x: equuleus (Little Horse)
  • 1.4.x: sagitta (Arrow)
  • ...

sphinx

Debian requires some extra steps for installing sphinx, sphinx-autobuild and sphinx-rtd-theme packages:

First ensure that Python 2 & Python 3 are installed and Python 3 is the default:

python --version

Alternatively, to make Python the default, revise the following line to point at the relevant 3.x version of the binary on your system:

sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 0

Then install the sphinx group of packages:

sudo apt-get install python3-sphinx

Although almost everything uses Python 3, in order to install this specific package, make sure that pip points at the Python 2 version of the package manager:

python --version

Then run:

sudo pip install sphinx-rtd-theme

Do the following to build the HTML and start a web server:

  • Run make livehtml inside the docs folder

Then, to view the live output:

  • Browse to http://localhost:8000 Note: The changes you save to the sources are represented in the live HTML output automatically (and almost instantly) without the need to rebuild or refresh manually.

Docker

Using our Dockerfile you can create your own Docker container that is used to build a VyOS documentation.

Setup

You can either build the container on your own or directly fetch it prebuilt from Dockerhub. If you want to build it for yourself, use the following command.

$ docker build -t vyos/vyos-documentation docker

Building documentation

If the vyos/vyos-documentation container could not be found locally it will be automatically fetched from Dockerhub.

$ docker run --rm -it -v "$(pwd)":/vyos -w /vyos/docs \
  -e GOSU_UID=$(id -u) -e GOSU_GID=$(id -g) vyos/vyos-documentation make html

# sphinx autobuild
$ docker run --rm -it -p 8000:8000 -v "$(pwd)":/vyos -w /vyos/docs -e \
  GOSU_UID=$(id -u) -e GOSU_GID=$(id -g) vyos/vyos-documentation make livehtml

Test the docs

Discuss in this Phabricator task: T1731

To test all files run:

$ docker run --rm -it -v "$(pwd)":/vyos -w /vyos/docs \
  -e GOSU_UID=$(id -u) -e GOSU_GID=$(id -g) vyos/vyos-documentation vale .

to test a specific file (e.g. clustering.rst)

$ docker run --rm -it -v "$(pwd)":/vyos -w /vyos/docs -e GOSU_UID=$(id -u) \
  -e GOSU_GID=$(id -g) vyos/vyos-documentation vale clustering.rst

More Repositories

1

vyos-build

VyOS image build scripts
Python
981
star
2

vyos-1x

VyOS command definitions, scripts, and utilities
Python
407
star
3

vyos-vm-images

Jinja
84
star
4

vyos.vyos

Ansible Network Collection for VyOS
Python
69
star
5

python-vyos-mgmt

A Python library for managing VyOS routers
Python
56
star
6

vyos-nightly-build

Scheduled ISO nightly builds for current branch
51
star
7

vyos

VyOS 2.0 development repository
Python
39
star
8

vyatta-cfg-system

Vyatta system-level configuration templates/scripts
Shell
38
star
9

vyatta-cfg

Vyatta configuration system
C++
29
star
10

vyconf

Software appliance configuration framework
OCaml
25
star
11

ipaddrcheck

An IPv4 and IPv6 validation utility for use in scripts
C
20
star
12

vyatta-cfg-firewall

Configuration templates and scripts for the firewall subsystem.
Perl
13
star
13

vyatta-bash

Vyatta shell based on GNU Bourne Again SHell
C
12
star
14

vyatta-cfg-vpn

Vyatta VPN configuration
Perl
12
star
15

vyos-utils-misc

Miscellaneous utilities and scripts for VyOS
Perl
11
star
16

vyos-cloud-init

Python
11
star
17

vyatta-cfg-quagga

Vyatta configuration templates and scripts for Quagga/FRR
Perl
10
star
18

vyatta-op

Vyatta bash completion for operational commands
Perl
10
star
19

vyos1x-config

OCaml library for parsing, manipulating, and exporting VyOS configs
OCaml
10
star
20

conntrack-tools

conntrack-tools i.e. conntrack and conntrackd
C
9
star
21

vyatta-cluster

Vyatta configuration/operational commands for clustering
Perl
9
star
22

vyatta-wanloadbalance

vyatta wan load balance project
C++
9
star
23

libvyosconfig

Shared library for VyOS config files parsing and manipulation
OCaml
8
star
24

vyos-opennhrp

VyOS version of OpenNHRP
C
7
star
25

vyatta-nat

Vyatta configuration/operational commands for NAT
Perl
6
star
26

vyatta-config-mgmt

Vyatta config management config & op templates/scripts
Perl
6
star
27

libnss-mapuser

Package for mapping radius users to local users
C
5
star
28

vyatta-op-vpn

Vyatta VPN operations mechanism
Perl
5
star
29

vyos-ansible-old

Ansible Network Collection for VyOS
Python
4
star
30

vyos-integration-test

Shell
4
star
31

vyos-salt-minion

Python
4
star
32

community.vyos.net

VyOS community website
Sass
4
star
33

vyos-automation

HCL
4
star
34

live-boot

Roff
3
star
35

cve-checker

VyOS security vulnerability checker
Python
3
star
36

uncron

Simple job queue service
OCaml
3
star
37

vyos-strongswan

C
3
star
38

vyatta-cfg-qos

Configuration templates and scripts for QoS
Perl
3
star
39

vyatta-op-qos

Operation templates and scripts for QoS
Perl
3
star
40

vyos-live-build

Shell
2
star
41

vyos-utils

Auxilliary utilities for VyOS (validators, etc.)
OCaml
2
star
42

vyatta-biosdevname

Vyatta version of the biosdevname utility
Shell
2
star
43

vyatta-conntrack

Vyatta configuration/operational commands for Conntrack
Perl
2
star
44

vyatta-zone

Vyatta zone-policy package
Perl
2
star
45

vyos-xe-guest-utilities

xe-guest-utilities debianized for vyos
Go
2
star
46

vyos-world

VyOS metapackage
2
star
47

vyos-ansible-collection

Ansible Network Collection for VyOS
Python
2
star
48

vyatta-op-firewall

Operatation command templates and scripts for the firewall subsystem.
Perl
2
star
49

vyos-infrastructure

Various scripts and automations for VyOS infrastructure tasks
Python
2
star
50

openvpn-duo-plugin

Python
1
star
51

infinitytier

Fork of ZeroTier
C++
1
star
52

libmnl

libmnl minimalistic netfilter library
Shell
1
star
53

initramfs-tools

Vyatta fork of initramfs-tools
Shell
1
star
54

vyos-http-api-tools

Python
1
star
55

vyos-nhrp

VyOS nhrp cfg and op package
Perl
1
star