/*- * ============LICENSE_START========================================== * OPENECOMP - DCAE * =================================================================== * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. * =================================================================== * 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. * ============LICENSE_END============================================ */ /** */ package org.openecomp.ncomp.docker; import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Container Network Stats'. * * * * "networks": { * "eth0": { * "rx_bytes": 5338, * "rx_dropped": 0, * "rx_errors": 0, * "rx_packets": 36, * "tx_bytes": 648, * "tx_dropped": 0, * "tx_errors": 0, * "tx_packets": 8 * }, * "eth5": { * "rx_bytes": 4641, * "rx_dropped": 0, * "rx_errors": 0, * "rx_packets": 26, * "tx_bytes": 690, * "tx_dropped": 0, * "tx_errors": 0, * "tx_packets": 9 * } * }, * * *

* The following features are supported: *

* * * @see org.openecomp.ncomp.docker.DockerPackage#getContainerNetworkStats() * @model * @generated */ public interface ContainerNetworkStats extends EObject { /** * Returns the value of the 'Intf' attribute. * *

* If the meaning of the 'Intf' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Intf' attribute. * @see #setIntf(String) * @see org.openecomp.ncomp.docker.DockerPackage#getContainerNetworkStats_Intf() * @model unique="false" * @generated */ String getIntf(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.ContainerNetworkStats#getIntf Intf}' attribute. * * * @param value the new value of the 'Intf' attribute. * @see #getIntf() * @generated */ void setIntf(String value); /** * Returns the value of the 'Rx bytes' attribute. * *

* If the meaning of the 'Rx bytes' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Rx bytes' attribute. * @see #setRx_bytes(int) * @see org.openecomp.ncomp.docker.DockerPackage#getContainerNetworkStats_Rx_bytes() * @model unique="false" * @generated */ int getRx_bytes(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.ContainerNetworkStats#getRx_bytes Rx bytes}' attribute. * * * @param value the new value of the 'Rx bytes' attribute. * @see #getRx_bytes() * @generated */ void setRx_bytes(int value); /** * Returns the value of the 'Rx dropped' attribute. * *

* If the meaning of the 'Rx dropped' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Rx dropped' attribute. * @see #setRx_dropped(int) * @see org.openecomp.ncomp.docker.DockerPackage#getContainerNetworkStats_Rx_dropped() * @model unique="false" * @generated */ int getRx_dropped(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.ContainerNetworkStats#getRx_dropped Rx dropped}' attribute. * * * @param value the new value of the 'Rx dropped' attribute. * @see #getRx_dropped() * @generated */ void setRx_dropped(int value); /** * Returns the value of the 'Rx errors' attribute. * *

* If the meaning of the 'Rx errors' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Rx errors' attribute. * @see #setRx_errors(int) * @see org.openecomp.ncomp.docker.DockerPackage#getContainerNetworkStats_Rx_errors() * @model unique="false" * @generated */ int getRx_errors(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.ContainerNetworkStats#getRx_errors Rx errors}' attribute. * * * @param value the new value of the 'Rx errors' attribute. * @see #getRx_errors() * @generated */ void setRx_errors(int value); /** * Returns the value of the 'Rx packets' attribute. * *

* If the meaning of the 'Rx packets' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Rx packets' attribute. * @see #setRx_packets(int) * @see org.openecomp.ncomp.docker.DockerPackage#getContainerNetworkStats_Rx_packets() * @model unique="false" * @generated */ int getRx_packets(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.ContainerNetworkStats#getRx_packets Rx packets}' attribute. * * * @param value the new value of the 'Rx packets' attribute. * @see #getRx_packets() * @generated */ void setRx_packets(int value); /** * Returns the value of the 'Tx bytes' attribute. * *

* If the meaning of the 'Tx bytes' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Tx bytes' attribute. * @see #setTx_bytes(int) * @see org.openecomp.ncomp.docker.DockerPackage#getContainerNetworkStats_Tx_bytes() * @model unique="false" * @generated */ int getTx_bytes(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.ContainerNetworkStats#getTx_bytes Tx bytes}' attribute. * * * @param value the new value of the 'Tx bytes' attribute. * @see #getTx_bytes() * @generated */ void setTx_bytes(int value); /** * Returns the value of the 'Tx dropped' attribute. * *

* If the meaning of the 'Tx dropped' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Tx dropped' attribute. * @see #setTx_dropped(int) * @see org.openecomp.ncomp.docker.DockerPackage#getContainerNetworkStats_Tx_dropped() * @model unique="false" * @generated */ int getTx_dropped(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.ContainerNetworkStats#getTx_dropped Tx dropped}' attribute. * * * @param value the new value of the 'Tx dropped' attribute. * @see #getTx_dropped() * @generated */ void setTx_dropped(int value); /** * Returns the value of the 'Tx errors' attribute. * *

* If the meaning of the 'Tx errors' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Tx errors' attribute. * @see #setTx_errors(int) * @see org.openecomp.ncomp.docker.DockerPackage#getContainerNetworkStats_Tx_errors() * @model unique="false" * @generated */ int getTx_errors(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.ContainerNetworkStats#getTx_errors Tx errors}' attribute. * * * @param value the new value of the 'Tx errors' attribute. * @see #getTx_errors() * @generated */ void setTx_errors(int value); /** * Returns the value of the 'Tx packets' attribute. * *

* If the meaning of the 'Tx packets' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Tx packets' attribute. * @see #setTx_packets(int) * @see org.openecomp.ncomp.docker.DockerPackage#getContainerNetworkStats_Tx_packets() * @model unique="false" * @generated */ int getTx_packets(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.ContainerNetworkStats#getTx_packets Tx packets}' attribute. * * * @param value the new value of the 'Tx packets' attribute. * @see #getTx_packets() * @generated */ void setTx_packets(int value); } // ContainerNetworkStats