class CumulusTorSwitchService implements ISwitchService {

    @Override
    public boolean createVlan( SwitchNode switchNode, SwitchVlan vlan )
        throws HmsException
    {
        CumulusTorSwitchSession session = (CumulusTorSwitchSession) getSession( switchNode );

        if ( session == null )
        {
            error( String.format( "Cannot ssh to switch %s (%s)", switchNode.getIpAddress(), switchNode.getSwitchId() ),
                   HmsOobNetworkErrorCode.SWITCH_UNREACHABLE );
        }

        return vlanHelper.createVlan( switchNode, vlan );
    }

}