Skip to content

Commit 9a350e0

Browse files
authored
Add spdx license comments 1 (#658)
* Move optional steps for testing VMs out of README.md file This may help avoid new users being confused that they must follow those instructions. Signed-off-by: Andy Fingerhut <andy_fingerhut@alum.wustl.edu> * Add SPDX-License-Identifier line to most files. All of the files are Apache 2.0 license. Signed-off-by: Andy Fingerhut <andy_fingerhut@alum.wustl.edu> --------- Signed-off-by: Andy Fingerhut <andy_fingerhut@alum.wustl.edu>
1 parent 3acf7d1 commit 9a350e0

121 files changed

Lines changed: 167 additions & 5 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
13
# Python byte code
24
*.pyc
35
*.pyo

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions

README.md

Lines changed: 3 additions & 0 deletions

exercises/basic/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
12
BMV2_SWITCH_EXE = simple_switch_grpc
23
TOPO = pod-topo/topology.json
34

exercises/basic/README.md

Lines changed: 3 additions & 0 deletions

exercises/basic/basic.p4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: Apache-2.0
12
/* -*- P4_16 -*- */
23
#include <core.p4>
34
#include <v1model.p4>

exercises/basic/receive.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
# SPDX-License-Identifier: Apache-2.0
23
import os
34
import sys
45

exercises/basic/send.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env python3
2+
# SPDX-License-Identifier: Apache-2.0
23
import random
34
import socket
45
import sys

exercises/basic/solution/basic.p4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// SPDX-License-Identifier: Apache-2.0
12
/* -*- P4_16 -*- */
23
#include <core.p4>
34
#include <v1model.p4>

exercises/basic_tunnel/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0
12
BMV2_SWITCH_EXE = simple_switch_grpc
23

34
include ../../utils/Makefile

0 commit comments

Comments
 (0)