Configuring the Ethernet switch using the REST API