Skip to content

Commit

Permalink
all files changed to linux line endings (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgheorghe authored Jun 7, 2023
1 parent de161a2 commit b32c209
Show file tree
Hide file tree
Showing 136 changed files with 5,519 additions and 5,519 deletions.
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ We prefer all communications to be in English.

Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd).

<!-- END MICROSOFT SECURITY.MD BLOCK -->
<!-- END MICROSOFT SECURITY.MD BLOCK -->
2 changes: 1 addition & 1 deletion assets/cloud-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/dash-specs-flow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/express-route-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/on-prem-gateway.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/vm-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dash-pipeline/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
*.log
*.pcap
__pycache__/
.pytest_cache/
.pytest_cache/
2 changes: 1 addition & 1 deletion dash-pipeline/README-common-errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ You will need to logout and log back in to obtain the group membership. To check
```
$ id
uid=1001(dash) gid=1001(dash) groups=1001(dash),27(sudo),998(docker)
```
```
2 changes: 1 addition & 1 deletion dash-pipeline/README-dash-as-submodule.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@ If test ports other than `veth0/1` and `veth2/3` are used, some modifications of
## Custom Tests
You can use the tests under DASH by calling the appropriate DASH make targets from the parent project. You can also have private tests in your own project repository which you invoke from your Makefiles. We recommend if you write new tests which are generally applicable that you consider upstreaming to the Community repository.
## Third-Party CI Pipeline Automation (Git Actions)
You should be able to adapt the CI automation files from the dash project as located under [.github/workflows](../.github/workflows). You will need to modify them to suit your project by changing the trigger conditions (e.g. file system paths) and steps.
You should be able to adapt the CI automation files from the dash project as located under [.github/workflows](../.github/workflows). You will need to modify them to suit your project by changing the trigger conditions (e.g. file system paths) and steps.
2 changes: 1 addition & 1 deletion dash-pipeline/README-dash-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ Let's drill down into the Build P4 step which failed. We see a a bad statement.

The main README for this repository shows the CI failing badge:

![CI-fail-README-badge](../assets/CI-fail-README-badge.png)
![CI-fail-README-badge](../assets/CI-fail-README-badge.png)
2 changes: 1 addition & 1 deletion dash-pipeline/README-pytests.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ listening on lo, link-type EN10MB (Ethernet), capture size 262144 bytes

* Launch Wireshark
* Enter the following filter: `tcp.dstport==9092`
* You can see RPC calls being made in the packet data view, the ASCII string names of methods are displayed
* You can see RPC calls being made in the packet data view, the ASCII string names of methods are displayed
2 changes: 1 addition & 1 deletion dash-pipeline/README-saithrift.md
Original file line number Diff line number Diff line change
Expand Up @@ -427,4 +427,4 @@ Continuing.
Starting SAI RPC server on port 9092
[New Thread 0x7f2b4b7fe700 (LWP 18)]
[New Thread 0x7f2b4affd700 (LWP 19)]
```
```
2 changes: 1 addition & 1 deletion dash-pipeline/SAI/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ In this example, the input is a dash_pipeline.json, which is a result of a P4 co
# requirements.txt
This is used for installing python modules, in particular for [snappi](https://github.com/open-traffic-generator/snappi) and [pytest](https://docs.pytest.org/en/7.1.x/index.html).

>**NOTE:** This file is a **hardlink** pointing to a single source of truth for test infrastructure. Take care accordingly. Modifying its contents will impact other collections of test scripts. It's a hardlink for convenience in order to pass the Docker context when building the `saithrift-client` images. We can't use a symlink because Docker cannot dereference symlinks in the context passed to it, see https://stackoverflow.com/questions/31881904/docker-follow-symlink-outside-context and https://medium.com/@307/hard-links-and-symbolic-links-a-comparison-7f2b56864cdd.
>**NOTE:** This file is a **hardlink** pointing to a single source of truth for test infrastructure. Take care accordingly. Modifying its contents will impact other collections of test scripts. It's a hardlink for convenience in order to pass the Docker context when building the `saithrift-client` images. We can't use a symlink because Docker cannot dereference symlinks in the context passed to it, see https://stackoverflow.com/questions/31881904/docker-follow-symlink-outside-context and https://medium.com/@307/hard-links-and-symbolic-links-a-comparison-7f2b56864cdd.
2 changes: 1 addition & 1 deletion dash-pipeline/dockerfiles/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
*.log
*.pcap
__pycache__/
.pytest_cache/
.pytest_cache/
2 changes: 1 addition & 1 deletion dash-pipeline/dockerfiles/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# dockerfiles directory
Dockerfiles are placed here in part to avoid exporting the entire environment of the dash-pipeline directory to the docker builder, `.dockerignore` files notwithstanding.
Dockerfiles are placed here in part to avoid exporting the entire environment of the dash-pipeline directory to the docker builder, `.dockerignore` files notwithstanding.
2 changes: 1 addition & 1 deletion dash-pipeline/images/dash-docker-branch-workflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dash-pipeline/images/dash-docker-fork-workflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dash-pipeline/images/dash-p4-bmv2-thrift-workflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dash-pipeline/images/dash-submodule-git-hierarchy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dash-pipeline/images/dash-submodule-workflow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dash-pipeline/images/dev-workflow-p4-libsai.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dash-pipeline/images/dev-workflow-p4-saithrift.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dash-pipeline/images/dev-workflow-p4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dash-pipeline/images/docker-volume-mounts.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion dash-pipeline/tests/libsai/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# libsai tests directory
These tests are written in c++ and are intended to test and demonstrate writing DASH API configuration and management code which links to the `libsai` library for DASH. In particular, these programs use the SAI-to-P4Runtime adaptor layer. As such they require many libraries including gRPC, protobuf, P4 PI layer etc. in addition to `libsai` itself.
These tests are written in c++ and are intended to test and demonstrate writing DASH API configuration and management code which links to the `libsai` library for DASH. In particular, these programs use the SAI-to-P4Runtime adaptor layer. As such they require many libraries including gRPC, protobuf, P4 PI layer etc. in addition to `libsai` itself.
2 changes: 1 addition & 1 deletion dash-pipeline/tests/saithrift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ This directory contains tests for DASH pipeline using python `saithrift` client

The tests use the same thrift and saithrift client libraries and in general the configuration and setup of the DASH data plane will use the same APIs and command sequences. The frameworks differ primarily in how test suites are designed and orchestrated. Each framework has advantages and disadvantages, hence both are supported as first-class citizens.

In particular the PTF test framework has a significant body of helper libraries which simplify setup. The corollary is that the PTF libraries make a lot of embedded assumptions about the test target, the environment and the data plane SW packet generator (scapy).
In particular the PTF test framework has a significant body of helper libraries which simplify setup. The corollary is that the PTF libraries make a lot of embedded assumptions about the test target, the environment and the data plane SW packet generator (scapy).
2 changes: 1 addition & 1 deletion dash-pipeline/tests/saithrift/ptf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

This directory can contain PTF tests for DASH bmv2. These would supplement standard tests under [SAI/ptf](../../SAI/ptf)

CI-ready DASH tests are moved to [`test/test-cases/functional/ptf`](../../../../test/test-cases/functional/ptf/)
CI-ready DASH tests are moved to [`test/test-cases/functional/ptf`](../../../../test/test-cases/functional/ptf/)
2 changes: 1 addition & 1 deletion doc-github-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,4 @@ See also [A collection of .gitignore templates](https://github.com/github/gitign
- [Visual studio code](https://code.visualstudio.com/)
- [Gitlens](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens). Supercharge the Git capabilities.
- [Markdown All in One](https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one). Create the ToC for an article.
- [Drawing tool: diagrams.net](https://www.diagrams.net/)
- [Drawing tool: diagrams.net](https://www.diagrams.net/)
2 changes: 1 addition & 1 deletion documentation/dataplane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ This folder contains DASH data plane design and requirements documents.
## Requirements

| Document | Description |
| ------------------------------------------------------ | ------------------------------------------ |
| ------------------------------------------------------ | ------------------------------------------ |
2 changes: 1 addition & 1 deletion documentation/dataplane/dash-config-schema-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -734,4 +734,4 @@ last update: 04/12/2022
}


```
```
2 changes: 1 addition & 1 deletion documentation/encrypt-gw-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ This folder contains DASH Encryption Gateway Service design and requirements doc
## Requirements

| Document | Description |
| ------------------------------------------------------ | ------------------------------------------ |
| ------------------------------------------------------ | ------------------------------------------ |
2 changes: 1 addition & 1 deletion documentation/express-route-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ This folder contains DASH Express Route Gateway Service design and requirements
## Requirements

| Document | Description |
| ------------------------------------------------------ | ------------------------------------------ |
| ------------------------------------------------------ | ------------------------------------------ |
2 changes: 1 addition & 1 deletion documentation/general/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ This folder contains DASH general design and requirements documents.
| Document | Description |
| ---------------------------------------------------------------------------------- | ------------------------------------------ |
| [dash-general-compliance-requirements.md](dash-general-compliance-requirements.md) | DASH General Compliance Requirements |
| [program-scale-testing-requirements-draft.md](program-scale-testing-requirements-draft.md) | DASH scale and performance requirements |
| [program-scale-testing-requirements-draft.md](program-scale-testing-requirements-draft.md) | DASH scale and performance requirements |
Loading

0 comments on commit b32c209

Please sign in to comment.