A legacy method of configuration was done using an XML file named minigraph.xml. The user can edit and modify the file mingraph.xml located in /etc/sonic/. The file can also be copied from a remote server. The configuration from minigraph.xml can be loaded using the config load_minigraph command. Optionally, the user can reboot the device to make the configuration effective. For example, the device information can be defined in the minigraph.xml file.
The hostname and HwSku information are defined in the root element <DeviceMiniGraph>.