-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from nttcom/feature/update_example
Update pola example
- Loading branch information
Showing
9 changed files
with
85 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# top-most EditorConfig file | ||
root = true | ||
|
||
# Unix-style newlines with a newline ending every file | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: EditorConfig Checker | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
editorconfig: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: editorconfig-checker/action-editorconfig-checker@main | ||
- run: editorconfig-checker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
name: Push Docker image | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM frrouting/frr:latest | ||
LABEL maintainer "Motoki TAKENAKA <[email protected]>" | ||
|
||
SHELL ["/bin/bash", "-l", "-c"] | ||
|
||
# Install packages | ||
RUN apk update \ | ||
&& apk add tcpdump | ||
|
||
# Setup FRRouting | ||
RUN sed -i -e 's/=no/=yes/g' /etc/frr/daemons \ | ||
&& sed -i -e 's/pathd_options=" -A 127.0.0.1"/pathd_options=" -A 127.0.0.1 -M pathd_pcep"/g' /etc/frr/daemons \ | ||
&& touch /etc/frr/vtysh.conf \ | ||
&& echo "service integrated-vtysh-config" >> /etc/frr/vtysh.conf \ | ||
&& mkdir /var/log/frr \ | ||
&& touch /var/log/frr/frr.log \ | ||
&& chmod 766 /var/log/frr/frr.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM ubuntu:20.04 | ||
LABEL maintainer "Motoki TAKENAKA <[email protected]>" | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
# Install packages | ||
RUN apt update \ | ||
&& apt install -y iproute2 iperf iputils-ping tcpdump tmux traceroute vim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM ghcr.io/nttcom/pola:latest | ||
LABEL maintainer "Motoki TAKENAKA <[email protected]>" | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
RUN apt update \ | ||
&& apt install -y iputils-ping tcpdump tmux vim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters