From 16fff5d42b835edbe8d0e676f197bf8888a56529 Mon Sep 17 00:00:00 2001
From: Sebastian Czech
Date: Thu, 20 Apr 2023 13:08:50 +0200
Subject: [PATCH] feat(examples/combined_vmseries_and_autoscale): Panorama
template with static route path monitoring (#306)
Co-authored-by: Migara Ekanayake <2110772+migara@users.noreply.github.com>
---
.../combined_vmseries_and_autoscale/README.md | 7 +
.../template-asg-path-monitoring.xml | 396 ++++++++++++++++++
2 files changed, 403 insertions(+)
create mode 100644 examples/combined_vmseries_and_autoscale/template-asg-path-monitoring.xml
diff --git a/examples/combined_vmseries_and_autoscale/README.md b/examples/combined_vmseries_and_autoscale/README.md
index e095792a..d6aa6689 100644
--- a/examples/combined_vmseries_and_autoscale/README.md
+++ b/examples/combined_vmseries_and_autoscale/README.md
@@ -53,6 +53,13 @@ Below there is shown example of VR configuration with static routes and path mon
| health_az1 | 10.100.0.0/16 | 10.100.1.1 | 11 | 10.100.1.1 |
| health_az2 | 10.100.0.0/16 | 10.100.65.1 | 12 | 10.100.65.1 |
+
+An example XML configuration snippet (for PANOS 10.2.3) of the described configuration can be found [here](template-asg-path-monitoring.xml), which after importing to Panorama, can be merged using the command:
+
+```
+load config partial mode merge from-xpath /config/devices/entry/template/entry[@name='asg'] to-xpath /config/devices/entry/template/entry[@name='asg'] from template-asg-path-monitoring.xml
+```
+
10. Configure VPC peering between VPC with Panorama and VPC with VM-Series in autoscaling group (after deploying that example)
diff --git a/examples/combined_vmseries_and_autoscale/template-asg-path-monitoring.xml b/examples/combined_vmseries_and_autoscale/template-asg-path-monitoring.xml
new file mode 100644
index 00000000..e71eda15
--- /dev/null
+++ b/examples/combined_vmseries_and_autoscale/template-asg-path-monitoring.xml
@@ -0,0 +1,396 @@
+
+
+
+
+
+
+
+ vsys1
+
+
+
+
+
+
+
+
+
+
+ ethernet1/1
+
+
+
+
+
+
+ ethernet1/2
+
+
+
+
+
+
+ ethernet1/1.11
+ ethernet1/1.12
+
+
+
+
+
+
+ ethernet1/1.20
+
+
+
+
+
+
+ ethernet1/1.30
+
+
+
+
+
+
+
+ ethernet1/1
+ ethernet1/1.11
+ ethernet1/1.12
+ ethernet1/1.20
+ ethernet1/1.30
+ ethernet1/2
+
+
+
+
+
+
+
+
+
+
+
+
+ no
+ no
+ 4
+
+
+
+
+
+ yes
+
+
+ no
+
+
+ no
+
+
+ no
+
+
+ no
+
+
+
+ ethernet1/1
+ ethernet1/1.11
+ ethernet1/1.12
+ ethernet1/1.20
+ ethernet1/1.30
+ ethernet1/2
+
+
+
+
+
+
+
+
+ yes
+
+ 10.100.1.1
+ 1
+ 3
+
+
+ yes
+ any
+ 2
+
+
+ 10.100.1.1
+
+
+ None
+
+ ethernet1/1
+ 11
+ 10.104.0.0/16
+
+
+
+
+
+
+
+
+ yes
+
+ 10.100.1.1
+ 1
+ 3
+
+
+ yes
+ any
+ 2
+
+
+ 10.100.1.1
+
+
+ None
+
+ ethernet1/1
+ 11
+ 10.105.0.0/16
+
+
+
+
+
+
+
+
+ yes
+
+ 10.100.65.1
+ 1
+ 3
+
+
+ yes
+ any
+ 2
+
+
+ 10.100.65.1
+
+
+ None
+
+ ethernet1/1
+ 12
+ 10.104.0.0/16
+
+
+
+
+
+
+
+
+ yes
+
+ 10.100.65.1
+ 1
+ 3
+
+
+ yes
+ any
+ 2
+
+
+ 10.100.65.1
+
+
+ None
+
+ ethernet1/1
+ 12
+ 10.105.0.0/16
+
+
+
+
+
+
+
+
+
+
+
+
+ yes
+ yes
+
+
+
+
+
+
+
+
+
+
+
+
+ no
+
+
+
+ no
+
+
+ no
+
+
+ yes
+ no
+
+ healtcheck
+
+ no
+
+
+
+
+
+
+ no
+
+
+
+
+ no
+
+
+ no
+
+
+ no
+
+ 11
+
+ no
+
+
+
+
+
+
+ no
+
+
+
+
+ no
+
+
+ no
+
+
+ no
+
+ 12
+
+ no
+
+
+
+
+
+
+ no
+
+
+
+
+ no
+
+
+ no
+
+
+ no
+
+ 20
+
+ no
+
+
+
+
+
+
+ no
+
+
+
+
+ no
+
+
+ no
+
+
+ no
+
+ 30
+
+ no
+
+
+
+
+
+
+
+
+ no
+
+
+
+ no
+
+
+ no
+
+ healtcheck
+
+ no
+
+
+ yes
+
+
+
+
+
+
+
+
+
+
+ asg-vmseries
+ yes
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+