-
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.
- Loading branch information
Showing
7 changed files
with
118 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
ARG base_image=ubuntu:24.04 | ||
|
||
FROM ${base_image} | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get update && apt-get -u -y install lsb-release python3 binutils python3-venv python3-pip wget git bash-completion vim yq jq \ | ||
&& apt-get -qq purge && apt-get -qq clean && rm -rf /var/lib/apt/lists/* | ||
|
||
RUN pip install --break-system-packages jupyterlab | ||
COPY /requirements.txt /tmp/ | ||
RUN pip install --no-cache-dir --break-system-packages --ignore-requires-python -r /tmp/requirements.txt | ||
|
||
COPY ./setup.py ./tools ./README.md ./MANIFEST.in /requirements.txt / | ||
COPY ./fabfed /fabfed | ||
COPY ./tools /tools | ||
RUN python3 -m pip install --break-system-packages --no-cache-dir . |
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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
provider: | ||
- sense: | ||
- sense_provider: | ||
- credential_file: ~/.fabfed/fabfed_credentials.yml.cicd | ||
profile: sense | ||
- fabric: | ||
- fabric_provider: | ||
credential_file: ~/.fabfed/fabfed_credentials.yml.cicd | ||
profile: fabric | ||
|
||
config: | ||
- layer3: | ||
- fab_layer: | ||
subnet: 192.168.10.0/24 # subnet: "10.0.0.0/24" # for sense subnet.cidr | ||
gateway: 192.168.10.1 | ||
ip_start: 192.168.10.2 # optional: auto generate if subnet is given | ||
ip_end: 192.168.10.254 | ||
- sense_layer: | ||
subnet: 10.200.1.0/24 # subnet.cidr and vpc.cidr | ||
- peering: | ||
- my_peering: | ||
# FOR FABRIC | ||
cloud_account: "296256999979" | ||
cloud_facility: | ||
local_device: | ||
local_port: | ||
cloud_region: "us-east-1" | ||
|
||
# FOR SENSE and FABRIC | ||
local_asn: "55038" # customer_asn (hard coded for now) | ||
local_address: "192.168.1.1/30" # customer_ip | ||
remote_asn: "64512" # amazon_asn | ||
remote_address: "192.168.1.2/30" # amazon_ip | ||
resource: | ||
- node: | ||
- sense_node: | ||
provider: '{{ sense.sense_provider }}' | ||
network: "{{ network.sense_net }}" | ||
service: | ||
- fabric_node: | ||
provider: '{{ fabric.fabric_provider }}' | ||
site: MAX # Use RENC when deploying to fabric beta environment | ||
image: default_rocky_8 | ||
nic_model: NIC_Basic | ||
- network: | ||
- sense_net: | ||
provider: '{{ sense.sense_provider }}' | ||
layer3: "{{ layer3.sense_layer }}" | ||
peering: "{{ peering.my_peering }}" | ||
stitch_with: '{{ network.fabric_network }}' | ||
stitch_option: | ||
device_name: agg3.ashb | ||
|
||
- fabric_network: | ||
provider: '{{ fabric.fabric_provider }}' | ||
layer3: "{{ layer3.fab_layer }}" | ||
peering: "{{ peering.my_peering }}" | ||
interface: '{{ node.fabric_node }}' |
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