Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
BasedOnStyle: LLVM
UseTab: ForContinuationAndIndentation
IndentWidth: 4
TabWidth: 4
AllowShortIfStatementsOnASingleLine: false
BreakBeforeBraces: Attach
AlignConsecutiveMacros: true
ColumnLimit: 140
ColumnLimit: 100
IndentPPDirectives: AfterHash
SortIncludes: Never
InsertBraces: true
AllowShortEnumsOnASingleLine: false
BinPackArguments: true
InsertBraces: true
40 changes: 0 additions & 40 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ jobs:
steps:
- uses: actions/checkout@v5

- uses: actions/setup-python@v6
with:
python-version: '3.x'
cache: pip

- name: Install pip packages
run: pip install -r .github/requirements.txt

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libsnmp-dev

Expand All @@ -32,18 +24,6 @@ jobs:
- name: Make
run: make

- name: Start simmulation
run: |
setup-snmpsim-data /tmp/data
snmpsim-command-responder --daemonize --pid-file /tmp/snmp --data-dir=/tmp/data/network/switch --agent-udpv4-endpoint=127.0.0.1:1611

- name: Sleep
run: sleep 30s
shell: bash

- name: check_interfaces with some cisco stuff
run: ./check_interfaces -h 127.0.0.1 --port=1611 -c cisco-c3560 -d

clang-build:
runs-on: ubuntu-latest
env:
Expand All @@ -53,14 +33,6 @@ jobs:
steps:
- uses: actions/checkout@v5

- uses: actions/setup-python@v6
with:
python-version: '3.x'
cache: pip

- name: Install pip packages
run: pip install -r .github/requirements.txt

- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libsnmp-dev

Expand All @@ -71,15 +43,3 @@ jobs:

- name: Make
run: make

- name: Start simmulation
run: |
setup-snmpsim-data /tmp/data
snmpsim-command-responder --daemonize --pid-file /tmp/snmp --data-dir=/tmp/data/network/switch --agent-udpv4-endpoint=127.0.0.1:1611

- name: Sleep
run: sleep 30s
shell: bash

- name: check_interfaces with some cisco stuff
run: ./check_interfaces -h 127.0.0.1 --port=1611 -c cisco-c3560 -d
Loading