[CORD-3154] Adding support for host-learning config in fabric ports
Change-Id: Ic7f00d625ecd6fc6e0085a01bfccd3dd5fc64d7b
diff --git a/samples/fabric.yaml b/samples/fabric.yaml
index 838c800..f61a3b7 100644
--- a/samples/fabric.yaml
+++ b/samples/fabric.yaml
@@ -32,7 +32,6 @@
name: leaf1
ofId: of:0000000000000001
routerMac: 00:00:02:01:06:01
-
# Setup a fabric switch port
port#port1:
@@ -54,3 +53,14 @@
- port:
node: port#port1
relationship: tosca.relationships.BelongsToOne
+
+ # Setup a fabric switch port with host_learning disabled
+ port#port2:
+ type: tosca.nodes.SwitchPort
+ properties:
+ portId: 2
+ host_learning: false
+ requirements:
+ - switch:
+ node: switch#leaf1
+ relationship: tosca.relationships.BelongsToOne
\ No newline at end of file