Skip to content
Snippets Groups Projects
Verified Commit cd64aeb9 authored by Urs Baumann's avatar Urs Baumann :bath:
Browse files

Init template

parent 1d670ea7
No related branches found
No related tags found
No related merge requests found
# template_lab1_nornir
## Getting started
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
## Add your files
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
```
cd existing_repo
git remote add origin https://gitlab.ost.ch/ins-stud/NetAut/fs23/template_lab1_nornir.git
git branch -M main
git push -uf origin main
```
## Integrate with your tools
- [ ] [Set up project integrations](https://gitlab.ost.ch/ins-stud/NetAut/fs23/template_lab1_nornir/-/settings/integrations)
## Collaborate with your team
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
- [ ] [Automatically merge when pipeline succeeds](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
## Test and Deploy
Use the built-in continuous integration in GitLab.
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
***
# Editing this README
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template.
......@@ -69,6 +26,10 @@ Within a particular ecosystem, there may be a common way of installing things, s
## Usage
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
```bash
python3 myproject/main.py --help
```
## Support
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
......
---
inventory:
plugin: SimpleInventory
options:
host_file: "inventory/hosts.yaml"
group_file: "inventory/groups.yaml"
defaults_file: "inventory/defaults.yaml"
runner:
plugin: threaded
options:
num_workers: 5
logging:
# enabled: False
\ No newline at end of file
---
data: {}
\ No newline at end of file
---
cisco:
username: cisco
# password: cisco
platform: ios
data: {}
\ No newline at end of file
---
---
vrfs:
- name: "CustA"
id: 10
description: "Customer A"
route_import:
- "10:0"
route_export:
- "10:0"
sides:
side-A:
interfaces:
- name: "GigabitEthernet4.10"
ip: "192.168.1.1 255.255.255.0"
side-B:
interfaces:
- name: "GigabitEthernet4"
ip: "192.168.2.1 255.255.255.0"
edge-C:
interfaces:
- name: "GigabitEthernet4"
ip: "192.168.3.1 255.255.255.0"
- name: "CustB"
id: 20
description: "Customer B"
route_import:
- "20:0"
route_export:
- "20:0"
sides:
side-A:
interfaces:
- name: "GigabitEthernet4.20"
ip: "192.168.21.2 255.255.255.0"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment