Fixing status code in host removal

Change-Id: I92dda41154e807be0bcae313c66e49bc6a51b907
diff --git a/xos/synchronizer/steps/sync_vsg_hw_service_instance.py b/xos/synchronizer/steps/sync_vsg_hw_service_instance.py
index 6f79ca2..5e1b378 100644
--- a/xos/synchronizer/steps/sync_vsg_hw_service_instance.py
+++ b/xos/synchronizer/steps/sync_vsg_hw_service_instance.py
@@ -139,7 +139,7 @@
 
             r = requests.delete(url, auth=HTTPBasicAuth(onos['user'], onos['pass']))
 
-            if r.status_code != 200:
+            if r.status_code != 204:
                 raise Exception("Failed to remove subscriber termination in ONOS: %s" % r.text)
 
             self.log.info("ONOS response", res=r.text)
diff --git a/xos/synchronizer/steps/test_sync_vsg_hw_service_instance.py b/xos/synchronizer/steps/test_sync_vsg_hw_service_instance.py
index b1bddf4..6e85741 100644
--- a/xos/synchronizer/steps/test_sync_vsg_hw_service_instance.py
+++ b/xos/synchronizer/steps/test_sync_vsg_hw_service_instance.py
@@ -232,7 +232,7 @@
     def test_delete(self, m):
         self.o.enacted = True
         m.delete("http://onos-fabric:8181/onos/v1/network/configuration/hosts/mac_address%2Fs_tag",
-               status_code=200)
+               status_code=204)
 
         with patch.object(ServiceInstance.objects, "get") as service_instance_mock:
             service_instance_mock.return_value = self.si
@@ -247,7 +247,7 @@
         # if a subscriber was enabled and now is suspended, remove subscriber termination
 
         m.delete("http://onos-fabric:8181/onos/v1/network/configuration/hosts/mac_address%2Fs_tag",
-                 status_code=200)
+                 status_code=204)
 
         with patch.object(ServiceInstance.objects, "get") as service_instance_mock:
             service_instance_mock.return_value = self.si