First step towards the cloud node re-factoring.

This commit is contained in:
grossmj committed 2016-05-22 19:24:14 -06:00
1 parent 6d5085910c
commit 7d055968e5
8 files changed
+468 -10

No files matched your search

@@ -15,10 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
Hub object that uses the Bridge interface to create a hub with ports.
"""
import asyncio
from ...node_error import NodeError
@@ -51,6 +47,9 @@ class EthernetSwitch(BaseNode):
@asyncio.coroutine
def create(self):
"""
Creates this switch.
"""
super().create()
log.info('Ethernet switch "{name}" [{id}] has been created'.format(name=self._name, id=self._id))