From 12a85ea0c5eb161ed452c5554993f0719140bc27 Mon Sep 17 00:00:00 2001 From: Devdeep Singh Date: Sun, 6 May 2012 13:33:07 +0530 Subject: [PATCH] CS-9919: Support for Nexus Swiches (Cisco Vswitches) Description: Removing unused classes and references to them. --- .../cisco/n1kv/vsm/CiscoNexusVSMService.java | 11 ------- .../utils/cisco/n1kv/vsm/VSMCommand.java | 31 ------------------- .../utils/cisco/n1kv/vsm/VSMResponse.java | 31 ------------------- 3 files changed, 73 deletions(-) delete mode 100644 utils/src/com/cloud/utils/cisco/n1kv/vsm/VSMCommand.java delete mode 100644 utils/src/com/cloud/utils/cisco/n1kv/vsm/VSMResponse.java diff --git a/utils/src/com/cloud/utils/cisco/n1kv/vsm/CiscoNexusVSMService.java b/utils/src/com/cloud/utils/cisco/n1kv/vsm/CiscoNexusVSMService.java index 0316bf7eae0..6f9422f9ade 100644 --- a/utils/src/com/cloud/utils/cisco/n1kv/vsm/CiscoNexusVSMService.java +++ b/utils/src/com/cloud/utils/cisco/n1kv/vsm/CiscoNexusVSMService.java @@ -12,9 +12,6 @@ package com.cloud.utils.cisco.n1kv.vsm; -import com.cloud.utils.cisco.n1kv.vsm.VSMCommand; -import com.cloud.utils.cisco.n1kv.vsm.VSMResponse; - import org.apache.log4j.Logger; // import all the packages we need here. @@ -39,14 +36,6 @@ public class CiscoNexusVSMService extends Object { // any state info regarding this session. } - public static VSMResponse executeVSMCommand(VSMCommand cmd) { - VSMResponse resp = new VSMResponse(); - return resp; // for now we just return a dummy response. We define these new - // VSMCommand and VSMResponse classes in this same package. The - // input params to this function may change as we put in more - // concrete functionality. - } - } diff --git a/utils/src/com/cloud/utils/cisco/n1kv/vsm/VSMCommand.java b/utils/src/com/cloud/utils/cisco/n1kv/vsm/VSMCommand.java deleted file mode 100644 index c4eb9c42045..00000000000 --- a/utils/src/com/cloud/utils/cisco/n1kv/vsm/VSMCommand.java +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2012 Citrix Systems, Inc. Licensed under the -// Apache License, Version 2.0 (the "License"); you may not use this -// file except in compliance with the License. Citrix Systems, Inc. -// reserves all rights not expressly granted by the License. -// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -package com.cloud.utils.cisco.n1kv.vsm; - -public class VSMCommand { - String XML_command; - - public void setXMLCommand(String xmlCmd) { - this.XML_command = xmlCmd; - return; - } - - public String getXMLCommand() { - return this.XML_command; - } - - // we probably should put in other functions here - // that help construct the XML command. Or probably - // we're better off putting them in the layers that - // create an object of this class. -} \ No newline at end of file diff --git a/utils/src/com/cloud/utils/cisco/n1kv/vsm/VSMResponse.java b/utils/src/com/cloud/utils/cisco/n1kv/vsm/VSMResponse.java deleted file mode 100644 index 2168152bac7..00000000000 --- a/utils/src/com/cloud/utils/cisco/n1kv/vsm/VSMResponse.java +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2012 Citrix Systems, Inc. Licensed under the -// Apache License, Version 2.0 (the "License"); you may not use this -// file except in compliance with the License. Citrix Systems, Inc. -// reserves all rights not expressly granted by the License. -// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. -// - -package com.cloud.utils.cisco.n1kv.vsm; - -public class VSMResponse { - String XML_response; - - public void setXMLresponse(String xmlResp) { - this.XML_response = xmlResp; - return; - } - - public String getXMLResponse() { - return this.XML_response; - } - - // we probably should put in other functions here - // that help parse the XML command. Or probably - // we're better off putting them in the layers that - // create an object of this class. -} \ No newline at end of file