def test_122_update_rename_existing(self):
        net = self.net["np06bals03_v103"]
        command = ["update", "network", "--network", "rename-test",
                   "--rename_to", "np06bals03_v103"]
        out,err = self.successtest(command)
        self.matchoutput(err, "WARNING: Network name {} is already used for address {}/{}."
                              .format("np06bals03_v103", net.ip, net.prefixlen), command)

        command = ["update", "network", "--ip", net.ip, "--rename_to", "netsvcmap"]
        self.noouttest(command)