types.VnicProfileMapping Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of model Show documentation
Show all versions of model Show documentation
Model management tools for the oVirt Engine API.
/*
Copyright (c) 2015 Red Hat, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with 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 types;
import org.ovirt.api.metamodel.annotations.Link;
import org.ovirt.api.metamodel.annotations.Type;
/**
* Deprecated type that maps an external virtual NIC profile to one that exists in the {engine-name}.
*
* If, for example, the desired virtual NIC profile's mapping includes the following two lines:
*
* [cols="25,35,40"]
* |===
* |Source network name|Source network profile name|Target virtual NIC profile ID
*
* |`red`
* |`gold`
* |`738dd914-8ec8-4a8b-8628-34672a5d449b`
*
* |`blue`
* |`silver`
* |`892a12ec-2028-4451-80aa-ff3bf55d6bac`
*
* |===
*
* The following form is deprecated since 4.2.1 and will be removed in the future:
*
* [source,xml]
* ----
*
*
* red
* gold
*
*
*
* blue
* silver
*
*
*
* ----
*
*
* @author Yevgeny Zaspitsky
* @author Eitan Raviv
* @author Megan Lewis
* @date 20 Feb 2017
* @status added
* @since 4.1
*/
@Type
@Deprecated
public interface VnicProfileMapping {
/**
* Deprecated attribute describing the name of the external network.
*
* WARNING: Please note that this attribute has been deprecated since version 4.2.1 of the engine,
* and preserved only for backward compatibility. It will be removed in the future.
*
* @author Yevgeny Zaspitsky
* @author Eitan Raviv
* @author Megan Lewis
* @date 31 Jan 2017
* @status added
* @since 4.1
*/
@Deprecated
String sourceNetworkName();
/**
* Deprecated attribute describing the name of the external network profile.
*
* WARNING: Please note that this attribute has been deprecated since version 4.2.1 of the engine,
* and preserved only for backward compatibility. It will be removed in the future.
*
* @author Yevgeny Zaspitsky
* @author Eitan Raviv
* @author Megan Lewis
* @date 31 Jan 2017
* @status added
* @since 4.1
*/
@Deprecated
String sourceNetworkProfileName();
/**
* Deprecated attribute describing an existing virtual NIC profile.
*
* WARNING: Please note that this attribute has been deprecated since version 4.2.1 of the engine,
* and preserved only for backward compatibility. It will be removed in the future.
*
* @author Yevgeny Zaspitsky
* @author Eitan Raviv
* @author Megan Lewis
* @date 31 Jan 2017
* @status added
* @since 4.1
*/
@Deprecated
@Link VnicProfile targetVnicProfile();
}