flag added foy vyos_interface module (#57124)

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
This commit is contained in:
Rohit
2019-06-06 18:23:19 +05:30
committed by GitHub
parent ae5d3d76f6
commit a87de8d7b0
2 changed files with 11 additions and 3 deletions

View File

@@ -227,7 +227,7 @@ def map_obj_to_commands(updates):
def map_config_to_obj(module):
data = get_config(module)
data = get_config(module, flags=['| grep interface'])
obj = []
for line in data.split('\n'):
if line.startswith('set interfaces ethernet'):