YangModels / yang

YANG modules from standards organizations such as the IETF, The IEEE, The Metro Ethernet Forum, open source such as Open Daylight or vendor specific modules
1.5k stars 1.19k forks source link

ieee1906-dot1-nanosensor.yang imports ieee1906-dot1-components twice #1555

Open carl-andersson-at-westermo opened 3 months ago

carl-andersson-at-westermo commented 3 months ago

As seen in https://github.com/YangModels/yang/blob/f5b2aa2174c5ef4eea448fb965c857b714b6e66d/standard/ieee/published/1906.1/ieee1906-dot1-nanosensor.yang import ietf-interfaces { prefix if; } import ieee1906-dot1-components { prefix components; } import ieee1906-dot1-components { prefix definitions; } import ieee1906-dot1-types { prefix types; } ieee1906-dot1-components is imported twice as both 'components' and 'definitions'.

On a first glance, it would seem that ieee1906-dot1-definitions

should be imported as 'definitions' instead?