-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactoring step1-2, 2-2 and each file path * Remove unused api of netomox-exp/model-conductor * remove pni_addlink external-as-scripts (automatically generated data) * Move bgp operation from step2-1 to 2-2 * add before_flowdata for pni_te * preferred flag for external-as topology script * refactor generate.py * Fix netomox and toolbox version (ruby3.0 compatible) * remove restart_iperf.sh * Update env --------- Co-authored-by: mddo <mddo>
- Loading branch information
1 parent
3141978
commit fc7afab
Showing
42 changed files
with
1,101 additions
and
458 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
Submodule mddo-bgp
updated
12 files
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
# files generated in demo scenario | ||
*.bak | ||
*_ext.json | ||
|
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 was deleted.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,23 @@ | ||
# runtime and environment | ||
ANSIBLE_RUNNER_IMAGE="ghcr.io/ool-mddo/mddo-ansible-runner:v3.1.0" | ||
CRPD_IMAGE="crpd:23.4R1.9" | ||
API_PROXY="localhost:15000" | ||
API_BRIDGE="playground_default" | ||
LOCALSERVER_USER=mddo | ||
PLAYGROUND_DIR="/home/${LOCALSERVER_USER}/playground" | ||
ANSIBLE_RUNNER_DIR="${PLAYGROUND_DIR}/demo/copy_to_emulated_env" | ||
|
||
# all steps: target network name | ||
# all steps: target network/usecase name | ||
NETWORK_NAME="mddo-bgp" | ||
USECASE_NAME="pni_addlink" # "pni_addlink" or "pni_te" for mddo-bgp network | ||
|
||
# constants | ||
NETWORK_INDEX="network_index/${NETWORK_NAME}.json" | ||
PLAYGROUND_DIR="/home/${LOCALSERVER_USER}/playground" | ||
ANSIBLE_RUNNER_DIR="${PLAYGROUND_DIR}/demo/copy_to_emulated_env" | ||
ANSIBLE_PLAYBOOK_DIR="${ANSIBLE_RUNNER_DIR}/project/playbooks" | ||
USECASE_CONFIGS_DIR="${ANSIBLE_PLAYBOOK_DIR}/configs" | ||
USECASE_COMMON_NAME=$(echo "$USECASE_NAME" | cut -d_ -f1) | ||
USECASE_COMMON_DIR="${ANSIBLE_PLAYBOOK_DIR}/${USECASE_COMMON_NAME}" | ||
USECASE_DIR="${ANSIBLE_PLAYBOOK_DIR}/${USECASE_NAME}" | ||
|
||
# step1-2: define network-name regexp (to merge bgp-policy data/external-as topology) | ||
BGP_NETWORK_PATTERN="^(biglobe|mddo-bgp).*$" | ||
|
||
# step1-2, generate external-AS topology script | ||
SOURCE_AS=65550 | ||
DEST_AS=65520 | ||
|
||
# step1-2 and 2-2, preffered peer parameter (use original_asis node/interface name) | ||
PREFERRED_NODE="NONE" | ||
#PREFERRED_NODE="edge-tk01" | ||
#REDUNDANT_NODE="edge-tk03" | ||
REDUNDANT_NODE="NONE" | ||
PREFERRED_INTERFACE="ge-0/0/3.0" | ||
EXTERNAL_ASN=65550 |
Oops, something went wrong.