Take V200R019C10 as an example.
1. Log in to the http://support.huawei.com/enterprise.
2. Choose Software Download > Switch > Campus Switch > S5700.
3. Select the software version V200R019C10.
4. Click Download on the right of the YANG file YANG-V200R019C10SPC500.zip.