forked from openconfig/featureprofiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding 8port testbed (openconfig#2591)
* Initial commit for 8port testbed * updated with string
- Loading branch information
Showing
6 changed files
with
235 additions
and
10 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,117 @@ | ||
# proto-file: github.com/openconfig/featureprofiles/blob/main/topologies/proto/binding.proto | ||
# proto-message: openconfig.testing.Binding | ||
|
||
# This is an example static binding that demonstrates how to specify | ||
# options to be used in conjunction with the atedut_*.testbed | ||
# testbeds. | ||
|
||
# These options are inherited throughout the entire binding for both the | ||
# DUT and the ATE, unless overridden by a specific device or protocol. | ||
options { | ||
username: "username" | ||
password: "password" | ||
} | ||
|
||
duts { | ||
id: "dut" | ||
name: "dut-hostname" # Change this to the device hostname. | ||
|
||
# Options inherited by all protocols on this device unless | ||
# overridden by individual protocols. Remove if not needed. | ||
options { | ||
insecure: true | ||
} | ||
|
||
# Options specific to gNMI. Remove if not needed. | ||
gnmi { | ||
target: "dut-proxy-hostname:6030" | ||
} | ||
|
||
# Options specific to gNOI | ||
gnoi { | ||
max_recv_msg_size: 40000000 | ||
} | ||
|
||
# Before this binding can be used with a topology, add ports mapping | ||
# from its topology ID to the actual port name on the device. | ||
ports { | ||
id: "port1" | ||
name: "Ethernet1/1" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port2" | ||
name: "Ethernet2/1" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port3" | ||
name: "Ethernet3/1" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port4" | ||
name: "Ethernet4/1" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port5" | ||
name: "Ethernet5/1" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port6" | ||
name: "Ethernet6/1" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port7" | ||
name: "Ethernet7/1" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port8" | ||
name: "Ethernet8/1" # Change this to the actual port name. | ||
} | ||
} | ||
|
||
ates { | ||
id: "ate" | ||
name: "ate-hostname" # Change this to the Ixia chassis name. | ||
|
||
# Options specific to the IxNetwork API. Remove if not needed. | ||
ixnetwork { | ||
# Change this to the Web UI hostname, if it differs from the Ixia | ||
# chassis name. | ||
target: "ixia-hostname" | ||
skip_verify: true | ||
} | ||
|
||
# Before this binding can be used with a topology, add ports mapping | ||
# from its topology ID to the actual port name on the device. | ||
ports { | ||
id: "port1" | ||
name: "1/1" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port2" | ||
name: "1/2" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port3" | ||
name: "1/3" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port4" | ||
name: "1/4" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port5" | ||
name: "1/5" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port6" | ||
name: "1/6" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port7" | ||
name: "1/7" # Change this to the actual port name. | ||
} | ||
ports { | ||
id: "port8" | ||
name: "1/8" # Change this to the actual port name. | ||
} | ||
} |
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,100 @@ | ||
# proto-file: github.com/openconfig/ondatra/blob/main/proto/testbed.proto | ||
# proto-message: ondatra.Testbed | ||
|
||
# This testbed provides a DUT and ATE with 8 links between them. | ||
|
||
duts { | ||
id: "dut" | ||
ports { | ||
id: "port1" | ||
} | ||
ports { | ||
id: "port2" | ||
} | ||
ports { | ||
id: "port3" | ||
} | ||
ports { | ||
id: "port4" | ||
} | ||
ports { | ||
id: "port5" | ||
} | ||
ports { | ||
id: "port6" | ||
} | ||
ports { | ||
id: "port7" | ||
} | ||
ports { | ||
id: "port8" | ||
} | ||
} | ||
|
||
ates { | ||
id: "ate" | ||
ports { | ||
id: "port1" | ||
} | ||
ports { | ||
id: "port2" | ||
} | ||
ports { | ||
id: "port3" | ||
} | ||
ports { | ||
id: "port4" | ||
} | ||
ports { | ||
id: "port5" | ||
} | ||
ports { | ||
id: "port6" | ||
} | ||
ports { | ||
id: "port7" | ||
} | ||
ports { | ||
id: "port8" | ||
} | ||
} | ||
|
||
links { | ||
a: "dut:port1" | ||
b: "ate:port1" | ||
} | ||
|
||
links { | ||
a: "dut:port2" | ||
b: "ate:port2" | ||
} | ||
|
||
links { | ||
a: "dut:port3" | ||
b: "ate:port3" | ||
} | ||
|
||
links { | ||
a: "dut:port4" | ||
b: "ate:port4" | ||
} | ||
|
||
links { | ||
a: "dut:port5" | ||
b: "ate:port5" | ||
} | ||
|
||
links { | ||
a: "dut:port6" | ||
b: "ate:port6" | ||
} | ||
|
||
links { | ||
a: "dut:port7" | ||
b: "ate:port7" | ||
} | ||
|
||
links { | ||
a: "dut:port8" | ||
b: "ate:port8" | ||
} |