#!/bin/bash
set -e

dynamic_config_data=${1}
name_list=$(jq -er '.interfaces[].name' <<< "${dynamic_config_data}")
echo -e "${name_list}" | sort