+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+: Copyright (c) 2017 Mirantis Inc., Enea AB and others.
+:
+: All rights reserved. This program and the accompanying materials
+: are made available under the terms of the Apache License, Version 2.0
+: which accompanies this distribution, and is available at
+: http://www.apache.org/licenses/LICENSE-2.0
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
 Date: Sun, 31 Dec 2017 16:06:30 +0100
 Subject: [PATCH] network.interface: Fix ifup OVS port with route
 
 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
 ---
- linux/network/interface.sls | 4 ++++
- 1 file changed, 4 insertions(+)
+ linux/network/interface.sls | 2 ++
+ 1 file changed, 2 insertions(+)
 
 diff --git a/linux/network/interface.sls b/linux/network/interface.sls
+index 921ceac..3bba64e 100644
 --- a/linux/network/interface.sls
 +++ b/linux/network/interface.sls
-@@ -146,6 +146,10 @@ ovs_port_up_{{ interface_name }}:
+@@ -146,6 +146,8 @@ ovs_port_up_{{ interface_name }}:
      - file: ovs_port_{{ interface_name }}_line2
      - openvswitch_bridge: ovs_bridge_{{ interface.bridge }}
      - file: linux_interfaces_final_include
-+  {%- if interface.route is defined %}
 +  - unless:
 +    - ip link show {{ interface_name }} | grep -q '\<UP\>'
-+  {% endif %}
 
  {%- endif %}