/*- * ============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.openecomp.ncomp.core.NamedEntity; /** * * A representation of the model object 'Network Stats'. * * * * Container stats - JSON * * { * "read" : "2015-01-08T22:57:31.547920715Z", * "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 * } * }, * "memory_stats" : { * "stats" : { * "total_pgmajfault" : 0, * "cache" : 0, * "mapped_file" : 0, * "total_inactive_file" : 0, * "pgpgout" : 414, * "rss" : 6537216, * "total_mapped_file" : 0, * "writeback" : 0, * "unevictable" : 0, * "pgpgin" : 477, * "total_unevictable" : 0, * "pgmajfault" : 0, * "total_rss" : 6537216, * "total_rss_huge" : 6291456, * "total_writeback" : 0, * "total_inactive_anon" : 0, * "rss_huge" : 6291456, * "hierarchical_memory_limit" : 67108864, * "total_pgfault" : 964, * "total_active_file" : 0, * "active_anon" : 6537216, * "total_active_anon" : 6537216, * "total_pgpgout" : 414, * "total_cache" : 0, * "inactive_anon" : 0, * "active_file" : 0, * "pgfault" : 964, * "inactive_file" : 0, * "total_pgpgin" : 477 * }, * "max_usage" : 6651904, * "usage" : 6537216, * "failcnt" : 0, * "limit" : 67108864 * }, * "blkio_stats" : {}, * "cpu_stats" : { * "cpu_usage" : { * "percpu_usage" : [ * 16970827, * 1839451, * 7107380, * 10571290 * ], * "usage_in_usermode" : 10000000, * "total_usage" : 36488948, * "usage_in_kernelmode" : 20000000 * }, * "system_cpu_usage" : 20091722000000000, * "throttling_data" : {} * } * } * * *

* The following features are supported: *

*

* * @see org.openecomp.ncomp.docker.DockerPackage#getDockerNetworkStats() * @model * @generated */ public interface DockerNetworkStats extends NamedEntity { /** * 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#getDockerNetworkStats_Rx_bytes() * @model unique="false" * @generated */ int getRx_bytes(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.DockerNetworkStats#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#getDockerNetworkStats_Rx_dropped() * @model unique="false" * @generated */ int getRx_dropped(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.DockerNetworkStats#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#getDockerNetworkStats_Rx_errors() * @model unique="false" * @generated */ int getRx_errors(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.DockerNetworkStats#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#getDockerNetworkStats_Rx_packets() * @model unique="false" * @generated */ int getRx_packets(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.DockerNetworkStats#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#getDockerNetworkStats_Tx_bytes() * @model unique="false" * @generated */ int getTx_bytes(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.DockerNetworkStats#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#getDockerNetworkStats_Tx_dropped() * @model unique="false" * @generated */ int getTx_dropped(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.DockerNetworkStats#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#getDockerNetworkStats_Tx_errors() * @model unique="false" * @generated */ int getTx_errors(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.DockerNetworkStats#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#getDockerNetworkStats_Tx_packets() * @model unique="false" * @generated */ int getTx_packets(); /** * Sets the value of the '{@link org.openecomp.ncomp.docker.DockerNetworkStats#getTx_packets Tx packets}' attribute. * * * @param value the new value of the 'Tx packets' attribute. * @see #getTx_packets() * @generated */ void setTx_packets(int value); } // DockerNetworkStats