for bi-directional interfaces, it appends -in or -out to interface name automatically