summaryrefslogtreecommitdiffstats
path: root/etc/os-net-config/samples
diff options
context:
space:
mode:
Diffstat (limited to 'etc/os-net-config/samples')
-rw-r--r--etc/os-net-config/samples/mapping_mnemonic.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/os-net-config/samples/mapping_mnemonic.yaml b/etc/os-net-config/samples/mapping_mnemonic.yaml
new file mode 100644
index 0000000..10f31de
--- /dev/null
+++ b/etc/os-net-config/samples/mapping_mnemonic.yaml
@@ -0,0 +1,8 @@
+# See the mapping.yaml sample for an overview of the mapping functionality.
+# This shows the use of mnemonic aliases instead of the default nicN aliases
+# in configs. It can be used with the -m option to override the default
+# mapping of the nicN aliases.
+interface_mapping:
+ provision: em1
+ bond0p1: em2
+ bond0p2: 12:34:56:de:f0:12